@xopcai/xopc 0.0.356 → 0.0.357
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/manifest.json +1 -1
- package/dist/extensions/feishu/src/adapters/cli-login.js +3 -3
- package/dist/extensions/feishu/src/outbound/media-load.js +1 -1
- package/dist/extensions/telegram/src/inbound-processor.js +2 -2
- package/dist/extensions/telegram/src/outbound-sender.js +1 -1
- package/dist/extensions/telegram/src/plugin.js +2 -2
- package/dist/extensions/telegram/xopc.extension.json +1 -1
- package/dist/extensions/weixin/src/api/api.js +2 -2
- package/dist/extensions/weixin/src/auth/accounts.js +12 -12
- package/dist/extensions/weixin/src/messaging/debug-mode.js +5 -5
- package/dist/extensions/weixin/src/messaging/inbound.js +11 -11
- package/dist/gateway/static/root/assets/{agent-avatar-dicebear-i0dJX4Ag.js → agent-avatar-dicebear-5q-LyRB2.js} +1 -1
- package/dist/gateway/static/root/assets/{agent-defaults-settings-panel-C-gsYOIi.js → agent-defaults-settings-panel-BOojrPNq.js} +1 -1
- package/dist/gateway/static/root/assets/{agent-plugin-dialog-D00xRE50.js → agent-plugin-dialog-3fkKAT0r.js} +1 -1
- package/dist/gateway/static/root/assets/{agents-Bg90PJpR.js → agents-DJyRK5vN.js} +3 -3
- package/dist/gateway/static/root/assets/{app-management-settings-panel-LGezxe7p.js → app-management-settings-panel-8ODazg-Y.js} +1 -1
- package/dist/gateway/static/root/assets/{appearance-settings-By7sj-tH.js → appearance-settings-0G9nGAsa.js} +1 -1
- package/dist/gateway/static/root/assets/{apps-page-DRX7wRpG.js → apps-page-CJyfU05v.js} +1 -1
- package/dist/gateway/static/root/assets/{automations-page-B5ZRVvra.js → automations-page-egZn4y94.js} +1 -1
- package/dist/gateway/static/root/assets/{automations-workspace-CQmwjCm5.js → automations-workspace-CI1EK1eb.js} +1 -1
- package/dist/gateway/static/root/assets/{block-editor-C8eM0IQi.js → block-editor-Bi-NBvGE.js} +1 -1
- package/dist/gateway/static/root/assets/{browser-automations-page-DonJaYJ7.js → browser-automations-page-D2AYNyC2.js} +1 -1
- package/dist/gateway/static/root/assets/{browser-settings-page-Cku_iTDi.js → browser-settings-page-DVMJRsch.js} +1 -1
- package/dist/gateway/static/root/assets/{capabilities-page-gUGN48Ob.js → capabilities-page-CBdEzKy1.js} +2 -2
- package/dist/gateway/static/root/assets/{capabilities-settings-panel-C3pM7xZ1.js → capabilities-settings-panel-B7f1WLgL.js} +1 -1
- package/dist/gateway/static/root/assets/{capability-header-actions-aXDBY-4S.js → capability-header-actions-BuYo4ONV.js} +1 -1
- package/dist/gateway/static/root/assets/{channels-BSbO91V4.js → channels-COGpGGqA.js} +1 -1
- package/dist/gateway/static/root/assets/{chat-terminal-dock-Bn_O5W2o.js → chat-terminal-dock-DJnrcf3F.js} +1 -1
- package/dist/gateway/static/root/assets/{computer-settings-page-CqzDwqcT.js → computer-settings-page-CbKp1tj0.js} +1 -1
- package/dist/gateway/static/root/assets/{connector-service-page-BYq8YaSp.js → connector-service-page-BxJquXDl.js} +1 -1
- package/dist/gateway/static/root/assets/{connectors-page-CXVlZmoT.js → connectors-page-DJocZ_mY.js} +1 -1
- package/dist/gateway/static/root/assets/{date-picker-dIJ4tP-C.js → date-picker-CYQyKepm.js} +1 -1
- package/dist/gateway/static/root/assets/{dependency-picker-ktHB4hRk.js → dependency-picker-dc-q0G_j.js} +1 -1
- package/dist/gateway/static/root/assets/{desktop-pet-BqXL3Ivw.js → desktop-pet-gvvvaJ51.js} +1 -1
- package/dist/gateway/static/root/assets/{desktop-pet-settings-BspF0vWW.js → desktop-pet-settings-w8qYvD9r.js} +1 -1
- package/dist/gateway/static/root/assets/{device-pairing-wizard-CnADxQU1.js → device-pairing-wizard-CAQ2qJIZ.js} +1 -1
- package/dist/gateway/static/root/assets/{directory-picker-path-field-CyR-4zZC.js → directory-picker-path-field-BfJOJnPB.js} +1 -1
- package/dist/gateway/static/root/assets/{extension-page-CWqtFuVa.js → extension-page-BpyU7d5e.js} +1 -1
- package/dist/gateway/static/root/assets/{extension-settings-page-92wO2TEf.js → extension-settings-page-BlzNJ6hK.js} +1 -1
- package/dist/gateway/static/root/assets/{gateway-settings-CO_50TOx.js → gateway-settings-DyreTpro.js} +1 -1
- package/dist/gateway/static/root/assets/{home-page-Ba20kfpf.js → home-page-rKyHpQpb.js} +1 -1
- package/dist/gateway/static/root/assets/{imports-page-ciLLYJao.js → imports-page-BHUlyE3u.js} +1 -1
- package/dist/gateway/static/root/assets/{index-XgbDpmNc.js → index-DOFuObNM.js} +4 -4
- package/dist/gateway/static/root/assets/{keyboard-shortcuts-settings-7429mJN3.js → keyboard-shortcuts-settings-Pb-3Ryr9.js} +1 -1
- package/dist/gateway/static/root/assets/{local-app-workbench-page-CQyP9KBM.js → local-app-workbench-page-yWS0QdRe.js} +1 -1
- package/dist/gateway/static/root/assets/{local-apps-page-Cht3NkYu.js → local-apps-page-DgQHDdZh.js} +1 -1
- package/dist/gateway/static/root/assets/{logs-page-Bye3bESN.js → logs-page-CwTIW0J0.js} +1 -1
- package/dist/gateway/static/root/assets/{management-settings-BG2yeKtz.js → management-settings-Dm2Fa1QY.js} +1 -1
- package/dist/gateway/static/root/assets/{note-detail-panel-DA_6YKSN.js → note-detail-panel-D9iPUCQq.js} +3 -3
- package/dist/gateway/static/root/assets/{notes-page-kc3CMA5c.js → notes-page-CbzhN_on.js} +1 -1
- package/dist/gateway/static/root/assets/{page-context-capture-button-r0vf-oBH.js → page-context-capture-button-B6i0R1qQ.js} +1 -1
- package/dist/gateway/static/root/assets/{personal-page-CmZzN99O.js → personal-page-DopSoSDc.js} +1 -1
- package/dist/gateway/static/root/assets/{product-open-page-BdedC52J.js → product-open-page-CMmB1iyB.js} +1 -1
- package/dist/gateway/static/root/assets/{project-detail-page-b23nMTcO.js → project-detail-page-BrGdrlhx.js} +1 -1
- package/dist/gateway/static/root/assets/{projects-page-DCA7oEdB.js → projects-page-CmjHjX8D.js} +1 -1
- package/dist/gateway/static/root/assets/{remote-access-hub-DeK3ATTQ.js → remote-access-hub-WKPLG5V4.js} +1 -1
- package/dist/gateway/static/root/assets/{runtime-tools-settings-panel-BqD6oWU5.js → runtime-tools-settings-panel-D1IEye-5.js} +1 -1
- package/dist/gateway/static/root/assets/{scenes-page-Ds6trhfL.js → scenes-page-CDxjO8IH.js} +1 -1
- package/dist/gateway/static/root/assets/{schema-form-D-cjcRAn.js → schema-form-DrSp5o9r.js} +1 -1
- package/dist/gateway/static/root/assets/{sessions-page-DltxWUQd.js → sessions-page-tL7mZG6X.js} +1 -1
- package/dist/gateway/static/root/assets/settings-advanced-gate-Dq5CfiKV.js +1 -0
- package/dist/gateway/static/root/assets/{settings-page-BVfsQrWS.js → settings-page-CLx4gCfD.js} +1 -1
- package/dist/gateway/static/root/assets/{setup-status-panel-DqkS3DKy.js → setup-status-panel-TBkyBEiM.js} +1 -1
- package/dist/gateway/static/root/assets/{shares-settings-CEaRXDeL.js → shares-settings-Bz0BI8lL.js} +1 -1
- package/dist/gateway/static/root/assets/{skill-api-1Hp370EM.js → skill-api-Bom72qsC.js} +1 -1
- package/dist/gateway/static/root/assets/{skills-page-Cgze-HZy.js → skills-page-BIQrMkmI.js} +1 -1
- package/dist/gateway/static/root/assets/{system-settings-panel-CFSQ3Qjr.js → system-settings-panel-CzAezoel.js} +1 -1
- package/dist/gateway/static/root/assets/{task-detail-page-DEDh0FPJ.js → task-detail-page-GOqAjMLD.js} +1 -1
- package/dist/gateway/static/root/assets/{tunnel-api-WcqOMVcQ.js → tunnel-api-DtkDWId1.js} +1 -1
- package/dist/gateway/static/root/assets/{usage-page-C6cnfavb.js → usage-page-ZKtrJ73f.js} +1 -1
- package/dist/gateway/static/root/assets/{user-model-page-C6_GMD0W.js → user-model-page-B6E9ihaw.js} +1 -1
- package/dist/gateway/static/root/assets/{work-discovery-overlay-DVvqH1d-.js → work-discovery-overlay-cD0OrAiy.js} +1 -1
- package/dist/gateway/static/root/assets/{workflow-run-setup-panel-MDkhjfGm.js → workflow-run-setup-panel-4yISOYK9.js} +1 -1
- package/dist/gateway/static/root/assets/{workflows-page-Bhu13vVb.js → workflows-page-B2_1T6js.js} +1 -1
- package/dist/gateway/static/root/index.html +1 -1
- package/dist/package.js +1 -1
- package/dist/src/agent/agent-manager.js +15 -15
- package/dist/src/agent/agent-scope.js +2 -2
- package/dist/src/agent/background-review/prompts.js +1 -1
- package/dist/src/agent/background-review/run-background-review.js +4 -4
- package/dist/src/agent/coding/repository-instructions.js +1 -1
- package/dist/src/agent/context/coordinator.js +2 -2
- package/dist/src/agent/context/execution-context.js +4 -4
- package/dist/src/agent/context/execution-scope.js +2 -2
- package/dist/src/agent/context/project-context.js +3 -3
- package/dist/src/agent/data-acquisition/service.js +1 -1
- package/dist/src/agent/embedded/index.js +2 -2
- package/dist/src/agent/embedded/model-runtime.js +1 -1
- package/dist/src/agent/embedded/run-for-session.js +4 -4
- package/dist/src/agent/embedded/run-turn.js +5 -5
- package/dist/src/agent/embedded/session-tool-result-guard.js +3 -3
- package/dist/src/agent/embedded/tool-result-truncation.js +1 -1
- package/dist/src/agent/external-tools/cliProvider.js +3 -3
- package/dist/src/agent/external-tools/composio-provider.js +3 -3
- package/dist/src/agent/external-tools/endpoint-provider.js +2 -2
- package/dist/src/agent/external-tools/gateway-tools.js +1 -1
- package/dist/src/agent/external-tools/mcp-provider.js +3 -3
- package/dist/src/agent/image/generation/openai-images-provider.js +1 -1
- package/dist/src/agent/image/generation/providers/dashscope.js +1 -1
- package/dist/src/agent/image/generation/providers/fal.js +1 -1
- package/dist/src/agent/image/generation/providers/google.js +1 -1
- package/dist/src/agent/image/generation/runtime.js +1 -1
- package/dist/src/agent/image/index.js +1 -1
- package/dist/src/agent/image/load-image-media.js +1 -1
- package/dist/src/agent/image/tool-model-config.js +2 -2
- package/dist/src/agent/inbound/attachment-pipeline.js +1 -1
- package/dist/src/agent/inbound/inbound-loop.js +2 -2
- package/dist/src/agent/index.js +1 -1
- package/dist/src/agent/mcp/bundle-mcp-config.js +1 -1
- package/dist/src/agent/mcp/bundle-mcp-gateway.js +1 -1
- package/dist/src/agent/mcp/bundle-mcp-runtime.js +2 -2
- package/dist/src/agent/mcp/index.js +2 -2
- package/dist/src/agent/mcp/mcp-stdio-transport.js +1 -1
- package/dist/src/agent/mcp/mcp-transport.js +1 -1
- package/dist/src/agent/mcp/oauth/mcp-oauth-manager.js +1 -1
- package/dist/src/agent/mcp/oauth/mcp-oauth-store.js +1 -1
- package/dist/src/agent/mcp/plugin-http-fetch.js +1 -1
- package/dist/src/agent/memory/context-recovery.js +1 -1
- package/dist/src/agent/memory/index.js +1 -1
- package/dist/src/agent/orchestration/agent-orchestrator.js +1 -1
- package/dist/src/agent/prompt/service-prompt-builder.js +2 -2
- package/dist/src/agent/sandbox/exec-policy.js +1 -1
- package/dist/src/agent/service/direct-turn-helpers.js +4 -4
- package/dist/src/agent/service/process-direct-one-shot.js +1 -1
- package/dist/src/agent/service/process-direct-streaming.js +5 -5
- package/dist/src/agent/service/webchat-tts.js +2 -2
- package/dist/src/agent/service.js +22 -22
- package/dist/src/agent/session/session-config-service.js +1 -1
- package/dist/src/agent/session/session-hydrator.js +1 -1
- package/dist/src/agent/session/session-inspector.js +1 -1
- package/dist/src/agent/skills/hub-lock.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/source-context/index.js +2 -2
- package/dist/src/agent/tasks/task-judge-service.js +4 -4
- package/dist/src/agent/tools/create-share-tool.js +3 -3
- package/dist/src/agent/tools/dataBatch.js +1 -1
- package/dist/src/agent/tools/delegate-tool.js +3 -3
- package/dist/src/agent/tools/delegation-parent-policy.js +1 -1
- package/dist/src/agent/tools/executor.js +1 -1
- package/dist/src/agent/tools/factory.js +16 -16
- package/dist/src/agent/tools/fetch-text.js +1 -1
- package/dist/src/agent/tools/image-generate-tool.js +3 -3
- package/dist/src/agent/tools/index.js +6 -6
- package/dist/src/agent/tools/list-dir.js +1 -1
- package/dist/src/agent/tools/personal-task-tool.js +2 -2
- package/dist/src/agent/tools/publish-artifacts.js +2 -2
- package/dist/src/agent/tools/read.js +2 -2
- package/dist/src/agent/tools/review-workspace.js +1 -1
- package/dist/src/agent/tools/send-media.js +2 -2
- package/dist/src/agent/tools/skills-tools.js +1 -1
- package/dist/src/agent/tools/tts-tool.js +1 -1
- package/dist/src/agent/tools/user-context-tool.js +1 -1
- package/dist/src/agent/tools/write.js +2 -2
- package/dist/src/agent/tools/xopc-use-tool.js +5 -5
- package/dist/src/agent/workflow/subagent-runner.js +1 -1
- package/dist/src/agent-catalog/capabilities.js +2 -2
- package/dist/src/ai-assist/text-assist.js +1 -1
- package/dist/src/auth/credentials.js +2 -2
- package/dist/src/auth/oauth-provider-lock.js +1 -1
- package/dist/src/auth/profiles/store.js +1 -1
- package/dist/src/auth/sync-provider-auth.js +1 -1
- package/dist/src/automations/capabilities/drafts.js +1 -1
- package/dist/src/automations/domain/index.js +2 -2
- package/dist/src/automations/index.js +4 -4
- package/dist/src/automations/service/automation-service.js +2 -2
- package/dist/src/backup/archive.js +1 -1
- package/dist/src/bootstrap/application-state.js +1 -1
- package/dist/src/browser/native-messaging-host.js +1 -1
- package/dist/src/browser/providers/browser-ext-install.js +1 -1
- package/dist/src/capabilities/runtime/dispatcher.js +1 -1
- package/dist/src/capabilities/runtime/product.js +1 -1
- package/dist/src/channels/attachments/voice-stt-webchat.js +2 -2
- package/dist/src/channels/index.js +2 -2
- package/dist/src/channels/outbound-sender.js +1 -1
- package/dist/src/channels/pairing/allow-from-file.js +9 -9
- package/dist/src/channels/pairing/pairing-store.js +6 -6
- package/dist/src/chat-commands/agent-edit.js +1 -1
- package/dist/src/chat-commands/builtins/config.js +3 -3
- package/dist/src/chat-commands/builtins/review.js +1 -1
- package/dist/src/chat-commands/builtins/session.js +1 -1
- package/dist/src/chat-commands/builtins/thinking.js +1 -1
- package/dist/src/chat-commands/builtins/tts.js +1 -1
- package/dist/src/chat-commands/builtins/understanding.js +1 -1
- package/dist/src/chat-commands/builtins/workflow.js +2 -2
- package/dist/src/chat-commands/context.js +3 -3
- package/dist/src/chat-commands/index.js +3 -3
- package/dist/src/cli/commands/agent.js +7 -7
- package/dist/src/cli/commands/agents.js +1 -1
- package/dist/src/cli/commands/config.js +1 -1
- package/dist/src/cli/commands/connectors.js +1 -1
- package/dist/src/cli/commands/doctor/checks/channel-plugins.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 +2 -2
- package/dist/src/cli/commands/doctor/checks/tool-runtimes.js +1 -1
- package/dist/src/cli/commands/extension-agent-plugin.js +2 -2
- package/dist/src/cli/commands/extension-dev.js +1 -1
- package/dist/src/cli/commands/extension-marketplace.js +2 -2
- package/dist/src/cli/commands/extension.js +4 -4
- package/dist/src/cli/commands/gateway/shared.js +1 -1
- package/dist/src/cli/commands/gateway/token.js +1 -1
- package/dist/src/cli/commands/image.js +1 -1
- package/dist/src/cli/commands/init.js +1 -1
- package/dist/src/cli/commands/models.js +1 -1
- package/dist/src/cli/commands/onboard/channels/registry.js +1 -1
- package/dist/src/cli/commands/onboard/model.js +1 -1
- package/dist/src/cli/commands/onboard.js +1 -1
- package/dist/src/cli/commands/project.js +2 -2
- package/dist/src/cli/commands/runtime.js +1 -1
- package/dist/src/cli/commands/skills.js +2 -2
- package/dist/src/cli/commands/tunnel.js +4 -4
- package/dist/src/cli/extension-cli-register.js +5 -5
- package/dist/src/cli/utils/gateway-client.js +1 -1
- package/dist/src/cli/utils/init-workspace-core.js +2 -2
- package/dist/src/cli/utils/session.js +1 -1
- package/dist/src/computer/runtime.js +2 -2
- package/dist/src/config/index.js +8 -8
- package/dist/src/config/loader.js +2 -2
- package/dist/src/config/models-json.js +2 -2
- package/dist/src/config/schema.js +1 -1
- package/dist/src/connectors/cli/authorization.js +1 -1
- package/dist/src/connectors/cli/runtime.js +1 -1
- package/dist/src/connectors/composio-sessions.js +1 -1
- package/dist/src/connectors/composio.js +1 -1
- package/dist/src/connectors/connected-source-understanding.js +3 -3
- package/dist/src/connectors/connection-recovery-service.js +5 -5
- package/dist/src/connectors/health.js +1 -1
- package/dist/src/connectors/plugin-mcp-recovery.js +1 -1
- package/dist/src/discussions/live-worker.js +1 -1
- package/dist/src/discussions/recording.js +1 -1
- package/dist/src/discussions/sealer.js +1 -1
- package/dist/src/extensions/activation-context.js +3 -3
- package/dist/src/extensions/agent-plugins/validation.js +1 -1
- package/dist/src/extensions/api.js +4 -4
- package/dist/src/extensions/bundled-extension-activation.js +1 -1
- package/dist/src/extensions/index.js +3 -3
- package/dist/src/extensions/install.js +1 -1
- package/dist/src/extensions/loader.js +2 -2
- package/dist/src/extensions/lockfile.js +1 -1
- package/dist/src/extensions/sdk/index.js +1 -1
- package/dist/src/extensions/sdk/media.js +1 -1
- package/dist/src/extensions/update.js +1 -1
- package/dist/src/gateway/agents-admin.js +2 -2
- package/dist/src/gateway/device-routes.js +2 -2
- package/dist/src/gateway/file-path-classifier.js +2 -2
- package/dist/src/gateway/global-defaults-admin.js +1 -1
- package/dist/src/gateway/hono/app.js +3 -3
- package/dist/src/gateway/hono/lib/config-payload.js +4 -4
- package/dist/src/gateway/hono/routes/agents.js +1 -1
- package/dist/src/gateway/hono/routes/auth-registry-extensions.js +1 -1
- package/dist/src/gateway/hono/routes/browser.js +1 -1
- package/dist/src/gateway/hono/routes/commands-skills.js +4 -4
- package/dist/src/gateway/hono/routes/config-patch/gateway.js +1 -1
- package/dist/src/gateway/hono/routes/config-patch/misc.js +2 -2
- package/dist/src/gateway/hono/routes/home.js +1 -1
- package/dist/src/gateway/hono/routes/mcp.js +2 -2
- package/dist/src/gateway/hono/routes/media.js +1 -1
- package/dist/src/gateway/hono/routes/models.js +6 -6
- package/dist/src/gateway/hono/routes/notes.js +3 -3
- package/dist/src/gateway/hono/routes/personal-agent.js +1 -1
- package/dist/src/gateway/hono/routes/projects.js +4 -4
- package/dist/src/gateway/hono/routes/session-command-handler.js +1 -1
- package/dist/src/gateway/hono/routes/session-input-handler.js +4 -4
- package/dist/src/gateway/hono/routes/sessions.js +2 -2
- package/dist/src/gateway/hono/routes/shares.js +3 -3
- package/dist/src/gateway/hono/routes/side-chats.js +1 -1
- package/dist/src/gateway/hono/routes/site-shares.js +1 -1
- package/dist/src/gateway/hono/routes/tasks.js +2 -2
- package/dist/src/gateway/hono/routes/user-model-refresh.js +1 -1
- package/dist/src/gateway/hono/routes/user-model.js +5 -5
- package/dist/src/gateway/hono/routes/voice.js +7 -7
- package/dist/src/gateway/hono/routes/workflows.js +2 -2
- package/dist/src/gateway/image-generation-setup.js +3 -3
- package/dist/src/gateway/index.js +1 -1
- package/dist/src/gateway/lock.js +11 -11
- package/dist/src/gateway/media-access.js +1 -1
- package/dist/src/gateway/mobile-privacy.js +2 -2
- package/dist/src/gateway/ports.js +6 -6
- package/dist/src/gateway/run-loop.js +1 -1
- package/dist/src/gateway/scenes/mailContext.js +1 -1
- package/dist/src/gateway/scenes/slackThreadSource.js +1 -1
- package/dist/src/gateway/server.js +1 -1
- package/dist/src/gateway/service/agent-runner.js +1 -1
- package/dist/src/gateway/service/config-coordinator.js +3 -3
- package/dist/src/gateway/service/run-gateway-agent.js +3 -3
- package/dist/src/gateway/service/session-command-service.js +2 -2
- package/dist/src/gateway/service/sessions-api.js +1 -1
- package/dist/src/gateway/service.js +37 -37
- package/dist/src/gateway/session-context-summary.js +2 -2
- package/dist/src/gateway/session-reset-service.js +1 -1
- package/dist/src/gateway/workspace-editor-path.js +2 -2
- package/dist/src/gateway/xopc-cloud-capability-setup.js +1 -1
- package/dist/src/home-intelligence/generator.js +1 -1
- package/dist/src/infra/gateway-processes.js +2 -2
- package/dist/src/infra/path-env.js +3 -3
- package/dist/src/infra/update-global.js +10 -10
- package/dist/src/local-apps/service.js +2 -2
- package/dist/src/mcp/gateway-http-client.js +1 -1
- package/dist/src/media-understanding/openai-compatible-audio.js +1 -1
- package/dist/src/notes/agent-context.js +4 -4
- package/dist/src/notes/index.js +1 -1
- package/dist/src/notes/service.js +1 -1
- package/dist/src/notes/store.js +1 -1
- package/dist/src/personal-agent/onboarding.d.ts +1 -1
- package/dist/src/personal-agent/service.d.ts +10 -4
- package/dist/src/personal-agent/service.js +2 -2
- 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.js +1 -1
- package/dist/src/providers/model-reference-auditor.js +1 -1
- package/dist/src/providers/model-registry.js +1 -1
- package/dist/src/providers/register-runtime-providers.js +1 -1
- package/dist/src/remote-access/exposure-manager.js +1 -1
- package/dist/src/scenes/taskFollowUp/agentExecutor.js +4 -4
- package/dist/src/scenes/taskFollowUp/resources.js +1 -1
- package/dist/src/scenes/taskFollowUp/service.js +4 -4
- package/dist/src/session/index.js +2 -2
- package/dist/src/session/resolve-session.js +1 -1
- package/dist/src/session/session-title.js +1 -1
- package/dist/src/session/store.js +4 -4
- package/dist/src/session/thinking-resolve.js +1 -1
- package/dist/src/share/share-store.js +1 -1
- package/dist/src/share/share-thumbnail.js +1 -1
- package/dist/src/share/share-zip.js +1 -1
- package/dist/src/share/site-proxy.js +1 -1
- package/dist/src/share/site-share-store.js +1 -1
- package/dist/src/storage/sqlite/connection.js +9 -9
- package/dist/src/tasks/capabilities/read.js +2 -2
- package/dist/src/tasks/capabilities/write.js +1 -1
- package/dist/src/tasks/execution-context.js +1 -1
- package/dist/src/tasks/home-query-service.js +3 -3
- package/dist/src/tasks/index.js +4 -4
- package/dist/src/tasks/task-application-service.js +3 -3
- package/dist/src/tasks/task-collaboration-delivery.js +1 -1
- package/dist/src/tasks/task-context-assembler.js +1 -1
- package/dist/src/tasks/task-handoff-service.js +1 -1
- package/dist/src/tasks/task-main-update-decision-service.js +1 -1
- package/dist/src/tui/backends/embedded-backend.js +12 -12
- package/dist/src/tui/backends/gateway-realtime-backend.js +1 -1
- package/dist/src/tui/extension-host/load-extensions.js +1 -1
- package/dist/src/tui/tui-command-formatters.js +1 -1
- package/dist/src/tui/tui-commands.js +8 -8
- package/dist/src/tui/tui-oauth-login.js +1 -1
- package/dist/src/tui/tui-picker-overlay.js +1 -1
- package/dist/src/tui/tui-skills-autocomplete.js +1 -1
- package/dist/src/tui/tui-startup-resources.js +4 -4
- package/dist/src/tui/tui.js +7 -7
- package/dist/src/tunnel/frpc-binary.js +1 -1
- package/dist/src/tunnel/gateway-lifecycle.js +1 -1
- package/dist/src/voice/realtime/agentEngine.js +30 -11
- package/dist/src/voice/realtime/memory-context.js +3 -3
- package/dist/src/voice/realtime/persona-context.js +1 -1
- package/dist/src/voice/realtime/runtime.js +4 -4
- package/dist/src/voice/stt/index.js +2 -2
- package/dist/src/voice/stt/preflight.js +1 -1
- package/dist/src/voice/stt/providers/alibaba-transcription.js +1 -1
- package/dist/src/voice/stt/providers/xopc-cloud-transcription.js +1 -1
- package/dist/src/voice/stt/transcribe-core.js +1 -1
- package/dist/src/voice/tts/index.js +3 -3
- package/dist/src/voice/tts/merge-config.js +1 -1
- package/dist/src/voice/tts/payload.js +1 -1
- package/dist/src/voice/tts/providers/xopc-cloud-speech.js +1 -1
- package/dist/src/voice/tts/speak-core.js +1 -1
- package/dist/src/work-discovery/incremental-repository.js +1 -1
- package/dist/src/work-discovery/index.js +1 -1
- package/dist/src/work-discovery/service.js +5 -5
- package/dist/src/workflows/engine/workflow-engine.js +1 -1
- package/dist/src/workflows/service/workflow-run-service.js +8 -8
- package/dist/src/workflows/service/workflow-session-bridge.js +1 -1
- package/package.json +6 -6
- package/dist/gateway/static/root/assets/settings-advanced-gate-Bqg7glTa.js +0 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { getProviderRegistry, init_plugin_registry } from "../providers/plugin-registry.js";
|
|
2
2
|
import { PROVIDER_META, getAvailableModels, init_providers } from "../providers/index.js";
|
|
3
|
-
import { resolveSpeechProviderChain } from "../voice/tts/factory.js";
|
|
4
|
-
import { mergeTtsConfigFromAppConfig } from "../voice/tts/merge-config.js";
|
|
5
3
|
import { resolveSTTProviderChain } from "../voice/stt/factory.js";
|
|
6
4
|
import { mergeSttConfigFromAppConfig } from "../voice/stt/config.js";
|
|
5
|
+
import { resolveSpeechProviderChain } from "../voice/tts/factory.js";
|
|
6
|
+
import { mergeTtsConfigFromAppConfig } from "../voice/tts/merge-config.js";
|
|
7
7
|
import { getVoiceProviderMetadata } from "../voice/metadata/registry.js";
|
|
8
8
|
import "../voice/metadata/index.js";
|
|
9
9
|
import { getImageGenerationCatalog } from "./image-generation-setup.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createLogger } from "../utils/logger/index.js";
|
|
2
2
|
import { init_logger } from "../utils/logger.js";
|
|
3
|
-
import
|
|
3
|
+
import fs from "node:fs";
|
|
4
4
|
import { execFileSync } from "node:child_process";
|
|
5
5
|
import net from "node:net";
|
|
6
6
|
//#region src/gateway/ports.ts
|
|
@@ -54,7 +54,7 @@ function listPortListenersViaProc(port) {
|
|
|
54
54
|
for (const procFile of ["/proc/net/tcp", "/proc/net/tcp6"]) {
|
|
55
55
|
let content;
|
|
56
56
|
try {
|
|
57
|
-
content =
|
|
57
|
+
content = fs.readFileSync(procFile, "utf-8");
|
|
58
58
|
} catch {
|
|
59
59
|
continue;
|
|
60
60
|
}
|
|
@@ -68,7 +68,7 @@ function listPortListenersViaProc(port) {
|
|
|
68
68
|
if (inodeSet.size === 0) return results;
|
|
69
69
|
let pidDirs;
|
|
70
70
|
try {
|
|
71
|
-
pidDirs =
|
|
71
|
+
pidDirs = fs.readdirSync("/proc").filter((name) => /^\d+$/.test(name));
|
|
72
72
|
} catch {
|
|
73
73
|
return results;
|
|
74
74
|
}
|
|
@@ -76,14 +76,14 @@ function listPortListenersViaProc(port) {
|
|
|
76
76
|
const fdDir = `/proc/${pidStr}/fd`;
|
|
77
77
|
let fds;
|
|
78
78
|
try {
|
|
79
|
-
fds =
|
|
79
|
+
fds = fs.readdirSync(fdDir);
|
|
80
80
|
} catch {
|
|
81
81
|
continue;
|
|
82
82
|
}
|
|
83
83
|
for (const fd of fds) {
|
|
84
84
|
let target;
|
|
85
85
|
try {
|
|
86
|
-
target =
|
|
86
|
+
target = fs.readlinkSync(`${fdDir}/${fd}`);
|
|
87
87
|
} catch {
|
|
88
88
|
continue;
|
|
89
89
|
}
|
|
@@ -93,7 +93,7 @@ function listPortListenersViaProc(port) {
|
|
|
93
93
|
if (!results.some((p) => p.pid === pid)) {
|
|
94
94
|
let command;
|
|
95
95
|
try {
|
|
96
|
-
command =
|
|
96
|
+
command = fs.readFileSync(`/proc/${pidStr}/comm`, "utf-8").trim();
|
|
97
97
|
} catch {}
|
|
98
98
|
results.push({
|
|
99
99
|
pid,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { acquireGatewayLock } from "./lock.js";
|
|
2
|
-
import { runBootstrapMigrationsSync } from "../migrations/runner.js";
|
|
3
2
|
import { loadConfig } from "../config/loader.js";
|
|
3
|
+
import { runBootstrapMigrationsSync } from "../migrations/runner.js";
|
|
4
4
|
import "../config/index.js";
|
|
5
5
|
import { isRestartEnabled } from "../config/commands.flags.js";
|
|
6
6
|
import { restartGatewayProcessWithFreshPid } from "./respawn.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { getConnectorConnection, getConnectorInstallation, init_connector_repository } from "../../storage/sqlite/connector-repository.js";
|
|
2
2
|
import { ComposioSessionsAdapter } from "../../connectors/composio-sessions.js";
|
|
3
3
|
import { getConnectorDefinition } from "../../connectors/catalog.js";
|
|
4
|
+
import { sceneContentHash } from "../../scenes/contracts.js";
|
|
4
5
|
import { normalizeConnectedSourceResult } from "../../connectors/connected-source-normalizers.js";
|
|
5
6
|
import { sanitizeConnectedSourceValue } from "../../connectors/connected-source-sanitization.js";
|
|
6
|
-
import { sceneContentHash } from "../../scenes/contracts.js";
|
|
7
7
|
import { SceneSourceNotReady, sceneSourceFailureReason } from "../../scenes/readiness.js";
|
|
8
8
|
import { SceneMailContextProvider } from "../../scenes/mailContext.js";
|
|
9
9
|
import { createHash } from "node:crypto";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { getConnectorConnection, getConnectorInstallation, init_connector_repository } from "../../storage/sqlite/connector-repository.js";
|
|
2
2
|
import { ComposioSessionsAdapter } from "../../connectors/composio-sessions.js";
|
|
3
3
|
import { getConnectorDefinition } from "../../connectors/catalog.js";
|
|
4
|
-
import { sanitizeConnectedSourceValue } from "../../connectors/connected-source-sanitization.js";
|
|
5
4
|
import { sceneContentHash } from "../../scenes/contracts.js";
|
|
5
|
+
import { sanitizeConnectedSourceValue } from "../../connectors/connected-source-sanitization.js";
|
|
6
6
|
import { z } from "zod";
|
|
7
7
|
//#region src/gateway/scenes/slackThreadSource.ts
|
|
8
8
|
init_connector_repository();
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ensureXopcCliOnPath } from "../infra/path-env.js";
|
|
2
1
|
import { resolveGatewayBindHost, resolveGatewayListenHosts } from "../config/gateway-bind.js";
|
|
2
|
+
import { ensureXopcCliOnPath } from "../infra/path-env.js";
|
|
3
3
|
import { resolveGatewayListenPlan } from "./listen.js";
|
|
4
4
|
import { GatewayService } from "./service.js";
|
|
5
5
|
import { handleSiteShareUpgrade } from "../share/site-share-router.js";
|
|
@@ -6,8 +6,8 @@ import { TaskRepository, init_task_repository } from "../../tasks/task-repositor
|
|
|
6
6
|
import { createClarificationWait, getClarification, getClarificationSnapshot, init_clarification_wait_repository, resolveClarification, supersedeActiveClarification } from "../../storage/sqlite/clarification-wait-repository.js";
|
|
7
7
|
import { init_connection_wait_repository, onConnectionWaitChanged } from "../../storage/sqlite/connection-wait-repository.js";
|
|
8
8
|
import { init_sqlite } from "../../storage/sqlite/index.js";
|
|
9
|
-
import { TaskCollaborationRepository } from "../../tasks/task-collaboration-repository.js";
|
|
10
9
|
import { TaskConversationRepository } from "../../tasks/task-conversation-repository.js";
|
|
10
|
+
import { TaskCollaborationRepository } from "../../tasks/task-collaboration-repository.js";
|
|
11
11
|
import { TaskApplicationService } from "../../tasks/task-application-service.js";
|
|
12
12
|
import { EphemeralClarificationWaiter } from "../ephemeral-clarification-waiter.js";
|
|
13
13
|
import { describeActiveExecution } from "./active-execution.js";
|
|
@@ -2,13 +2,13 @@ import { createLogger } from "../../utils/logger/index.js";
|
|
|
2
2
|
import { init_logger } from "../../utils/logger.js";
|
|
3
3
|
import { getModelRegistry } from "../../providers/model-registry.js";
|
|
4
4
|
import { init_providers } from "../../providers/index.js";
|
|
5
|
+
import { disposeAllSessionMcpRuntimes } from "../../agent/mcp/bundle-mcp-runtime.js";
|
|
6
|
+
import { reloadImageGenerationProviders } from "../../agent/image/generation/provider-registry.js";
|
|
7
|
+
import "../../agent/mcp/bundle-mcp-tools.js";
|
|
5
8
|
import { loadConfig, saveConfig } from "../../config/loader.js";
|
|
6
9
|
import { ConfigHotReloader } from "../../config/reload.js";
|
|
7
10
|
import "../../config/index.js";
|
|
8
|
-
import { disposeAllSessionMcpRuntimes } from "../../agent/mcp/bundle-mcp-runtime.js";
|
|
9
11
|
import { computeExtensionActivationPatch } from "../../extensions/bundled-extension-activation.js";
|
|
10
|
-
import { reloadImageGenerationProviders } from "../../agent/image/generation/provider-registry.js";
|
|
11
|
-
import "../../agent/mcp/bundle-mcp-tools.js";
|
|
12
12
|
import { sanitizeTunnelConfig } from "../../tunnel/tunnel-config.js";
|
|
13
13
|
//#region src/gateway/service/config-coordinator.ts
|
|
14
14
|
init_providers();
|
|
@@ -8,11 +8,11 @@ import { getConnectionResumeInput, init_connection_wait_repository, isConnection
|
|
|
8
8
|
import { init_sqlite } from "../../storage/sqlite/index.js";
|
|
9
9
|
import { getConversationRouting } from "../../storage/sqlite/conversation-repository.js";
|
|
10
10
|
import { init_session_key } from "../../routing/session-key.js";
|
|
11
|
-
import { prependEnvelopeTimestamp } from "../../channels/envelope-timestamp.js";
|
|
12
|
-
import "../chat-limits.js";
|
|
13
|
-
import { formatAgentRunErrorForClient } from "../../agent/client-error-format.js";
|
|
14
11
|
import { resolveExecutionContext } from "../../tasks/execution-context.js";
|
|
15
12
|
import { TaskRunCoordinator } from "../../tasks/task-run-coordinator.js";
|
|
13
|
+
import { formatAgentRunErrorForClient } from "../../agent/client-error-format.js";
|
|
14
|
+
import "../chat-limits.js";
|
|
15
|
+
import { prependEnvelopeTimestamp } from "../../channels/envelope-timestamp.js";
|
|
16
16
|
import { ChatStreamMapper } from "../chat-stream/mapper.js";
|
|
17
17
|
import { markdownNotificationPreview } from "../../notifications/plain-text.js";
|
|
18
18
|
import { resolveWebchatConversationId } from "../resolve-webchat-session-key.js";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { getSessionMetadata } from "../../storage/sqlite/session-read-repository.js";
|
|
2
2
|
import { init_session_repository } from "../../storage/sqlite/session-repository.js";
|
|
3
|
-
import { init_providers, resolveModel } from "../../providers/index.js";
|
|
4
3
|
import { resolveEffectiveAgentConfigForAgent, resolveEffectiveAgentConfigForSession } from "../../config/agent-profile.js";
|
|
4
|
+
import { init_providers, resolveModel } from "../../providers/index.js";
|
|
5
5
|
import { resolveProjectAgentId } from "../../projects/project-agent.js";
|
|
6
6
|
import "../../projects/index.js";
|
|
7
|
-
import { getPersonalAgentByConversation } from "../../personal-agent/repository.js";
|
|
8
7
|
import { getModelThinking } from "../../providers/model-thinking.js";
|
|
8
|
+
import { getPersonalAgentByConversation } from "../../personal-agent/repository.js";
|
|
9
9
|
import { withModelConfigLock } from "../../session/model-config-lock.js";
|
|
10
10
|
import { SessionCommandError, acceptSessionCommand, getSessionPreparation, matchSessionInputReceipt, sessionCommandHash } from "../../storage/sqlite/session-creation-repository.js";
|
|
11
11
|
//#region src/gateway/service/session-command-service.ts
|
|
@@ -3,8 +3,8 @@ import { retireSessionMcpRuntimeForConversationId } from "../../agent/mcp/bundle
|
|
|
3
3
|
import { buildSessionTimeline } from "../../session/transcript-outline.js";
|
|
4
4
|
import { transcriptRowsToClientHistory } from "../../session/client-history.js";
|
|
5
5
|
import { isPersonalConversation } from "../../personal-agent/repository.js";
|
|
6
|
-
import { collectMediaUrisFromValues, deleteMediaUris } from "../../media/session-references.js";
|
|
7
6
|
import "../../agent/mcp/bundle-mcp-tools.js";
|
|
7
|
+
import { collectMediaUrisFromValues, deleteMediaUris } from "../../media/session-references.js";
|
|
8
8
|
import { withModelConfigLock } from "../../session/model-config-lock.js";
|
|
9
9
|
import { publicExecutionDetail } from "../../session/execution-detail.js";
|
|
10
10
|
import { getDistinctSessionChatIds } from "./session-chat-ids.js";
|
|
@@ -17,48 +17,69 @@ import { init_session_repository, listSessionMetadata, patchSessionMetadata } fr
|
|
|
17
17
|
import { getSessionConfig, init_config_repository } from "../storage/sqlite/config-repository.js";
|
|
18
18
|
import { init_sqlite } from "../storage/sqlite/index.js";
|
|
19
19
|
import { normalizeAgentId } from "../agent-catalog/id.js";
|
|
20
|
-
import { init_agent_scope, listAgentEntries, resolveAgentWorkspaceDir, resolveDefaultAgentId } from "../agent/agent-scope.js";
|
|
21
20
|
import { init_config, resolveKnowledgeReadPolicy } from "../user-context/config.js";
|
|
22
21
|
import { getAgentDefaultModelRef, init_schema } from "../config/schema.js";
|
|
23
|
-
import {
|
|
24
|
-
import { prewarmModelRegistry } from "../providers/model-registry.js";
|
|
22
|
+
import { init_agent_scope, listAgentEntries, resolveAgentWorkspaceDir, resolveDefaultAgentId } from "../agent/agent-scope.js";
|
|
25
23
|
import { init_agent_session_key, resolveAgentMainConversationId } from "../routing/agent-session-key.js";
|
|
26
24
|
import { init_session_key, resolveConversationId, sanitizeSegment } from "../routing/session-key.js";
|
|
27
25
|
import { getDefaultAgentId, init_resolve_route } from "../routing/resolve-route.js";
|
|
26
|
+
import { resolveEffectiveAgentProfileForSession } from "../config/agent-profile.js";
|
|
27
|
+
import { init_paths, resolveConfigPath, resolveExtensionsDir } from "../config/paths.js";
|
|
28
|
+
import { prewarmModelRegistry } from "../providers/model-registry.js";
|
|
28
29
|
import { init_providers, providers_exports } from "../providers/index.js";
|
|
29
30
|
import { AI_USAGE_RETENTION_MS, markStaleAiUsageEventsUnknown, pruneAiUsageEvents } from "../storage/sqlite/ai-usage-repository.js";
|
|
31
|
+
import { TaskConversationRepository } from "../tasks/task-conversation-repository.js";
|
|
32
|
+
import { listKnowledgeItems } from "../knowledge-memory/repository.js";
|
|
33
|
+
import "../knowledge-memory/index.js";
|
|
34
|
+
import { getEmbeddedExecutionSession } from "../agent/embedded/execution-context.js";
|
|
35
|
+
import { disposeAllSessionMcpRuntimes } from "../agent/mcp/bundle-mcp-runtime.js";
|
|
36
|
+
import { DomainOutboxDispatcher } from "../infra/domain-outbox-dispatcher.js";
|
|
37
|
+
import { ProjectService } from "../projects/project-service.js";
|
|
38
|
+
import { resolveProjectAgentId } from "../projects/project-agent.js";
|
|
39
|
+
import "../projects/index.js";
|
|
40
|
+
import { resolveEffectiveGatewayPort } from "./host.js";
|
|
41
|
+
import { runMemoryMaintenance } from "../memory-maintenance/service.js";
|
|
42
|
+
import "../memory-maintenance/index.js";
|
|
43
|
+
import { RealtimeExtensionBrowserProvider } from "../browser/providers/realtime-extension.js";
|
|
44
|
+
import { onSessionTranscriptUpdate } from "../session/transcript-events.js";
|
|
45
|
+
import { buildNoteAgentContext } from "../notes/agent-context.js";
|
|
46
|
+
import { NotesStore } from "../notes/store.js";
|
|
47
|
+
import { NotesService } from "../notes/service.js";
|
|
48
|
+
import { LocalAppService } from "../local-apps/service.js";
|
|
49
|
+
import { TaskApplicationService } from "../tasks/task-application-service.js";
|
|
30
50
|
import { AutomationService } from "../automations/service/automation-service.js";
|
|
51
|
+
import { TaskSignalService } from "../tasks/task-signal-service.js";
|
|
52
|
+
import { createProductDispatcher } from "../capabilities/runtime/product.js";
|
|
31
53
|
import "../automations/index.js";
|
|
32
|
-
import {
|
|
33
|
-
import
|
|
54
|
+
import { TaskRunDispatcher } from "../tasks/task-run-dispatcher.js";
|
|
55
|
+
import "../tasks/index.js";
|
|
56
|
+
import "../agent/mcp/bundle-mcp-tools.js";
|
|
34
57
|
import { areExtensionsGloballyDisabled } from "../extensions/discover-extensions.js";
|
|
58
|
+
import { SessionIndex } from "../session/manager.js";
|
|
59
|
+
import "../session/index.js";
|
|
60
|
+
import { ExtensionLoader } from "../extensions/loader.js";
|
|
35
61
|
import { buildExtensionMetadataSnapshot } from "../extensions/extension-metadata-snapshot.js";
|
|
62
|
+
import "../extensions/index.js";
|
|
36
63
|
import { buildChannelCatalogForConfig, buildChannelCatalogFromSnapshot } from "../channels/catalog/channel-catalog-service.js";
|
|
37
64
|
import { loadConfig, saveConfig } from "../config/loader.js";
|
|
65
|
+
import { MessageBus, MessageBusShutdownError } from "../infra/bus/queue.js";
|
|
66
|
+
import "../infra/bus/index.js";
|
|
67
|
+
import { collectMediaUrisFromMessages, deleteMediaUris } from "../media/session-references.js";
|
|
68
|
+
import { AgentService } from "../agent/service.js";
|
|
69
|
+
import { bootstrapApplicationStateSync } from "../bootstrap/application-state.js";
|
|
38
70
|
import { setPairingBroadcastSink } from "../channels/pairing/pairing-events.js";
|
|
39
71
|
import { registerClarificationChannelRuntime } from "./clarify-runtime.js";
|
|
40
72
|
import { ChannelManager } from "../channels/manager.js";
|
|
41
|
-
import { resolveEffectiveAgentProfileForSession } from "../config/agent-profile.js";
|
|
42
73
|
import { ChatPreviewService } from "../chat-previews/service.js";
|
|
43
74
|
import "../chat-previews/index.js";
|
|
44
|
-
import { MessageBus, MessageBusShutdownError } from "../infra/bus/queue.js";
|
|
45
|
-
import "../infra/bus/index.js";
|
|
46
75
|
import { getWorkspacePath } from "../config/workspace-path-helpers.js";
|
|
47
76
|
import "../config/index.js";
|
|
48
|
-
import { ExtensionLoader } from "../extensions/loader.js";
|
|
49
|
-
import "../extensions/index.js";
|
|
50
|
-
import { resolveEffectiveGatewayPort } from "./host.js";
|
|
51
|
-
import { disposeAllSessionMcpRuntimes } from "../agent/mcp/bundle-mcp-runtime.js";
|
|
52
77
|
import { ManagedComposioEventPoller } from "../connectors/composio-managed-events.js";
|
|
53
|
-
import { listKnowledgeItems } from "../knowledge-memory/repository.js";
|
|
54
|
-
import "../knowledge-memory/index.js";
|
|
55
78
|
import { startConnectedKnowledgeCoordinator } from "../knowledge/coordinator.js";
|
|
56
79
|
import "../knowledge/index.js";
|
|
57
80
|
import { ConnectionRecoveryService } from "../connectors/connection-recovery-service.js";
|
|
58
81
|
import { startConnectorLearningCoordinator } from "../connectors/learning-coordinator.js";
|
|
59
82
|
import { startConnectorSupervisor } from "../connectors/supervisor.js";
|
|
60
|
-
import { TaskConversationRepository } from "../tasks/task-conversation-repository.js";
|
|
61
|
-
import { TaskApplicationService } from "../tasks/task-application-service.js";
|
|
62
83
|
import { DiscussionService } from "../discussions/service.js";
|
|
63
84
|
import { DiscussionOrganizer } from "../discussions/organizer.js";
|
|
64
85
|
import { DiscussionLiveWorker } from "../discussions/live-worker.js";
|
|
@@ -67,10 +88,6 @@ import { DiscussionSealer } from "../discussions/sealer.js";
|
|
|
67
88
|
import "../discussions/index.js";
|
|
68
89
|
import { EndpointToolRuntime } from "../endpoint-tools/runtime.js";
|
|
69
90
|
import "../endpoint-tools/index.js";
|
|
70
|
-
import { DomainOutboxDispatcher } from "../infra/domain-outbox-dispatcher.js";
|
|
71
|
-
import { ProjectService } from "../projects/project-service.js";
|
|
72
|
-
import { resolveProjectAgentId } from "../projects/project-agent.js";
|
|
73
|
-
import "../projects/index.js";
|
|
74
91
|
import { assertGatewayAuthConfigured, extractToken, resolveGatewayAuth, validateToken } from "./auth.js";
|
|
75
92
|
import { prepareAutomationAgentSession } from "./automation-agent-session.js";
|
|
76
93
|
import { stopTailscaleExposure } from "./tailscale-lifecycle.js";
|
|
@@ -87,23 +104,6 @@ import { WorkDiscoveryService } from "../work-discovery/service.js";
|
|
|
87
104
|
import { buildVoiceMemoryContext } from "../voice/realtime/memory-context.js";
|
|
88
105
|
import { buildVoicePersonaContext } from "../voice/realtime/persona-context.js";
|
|
89
106
|
import { voiceMemoryBudget, voicePersonaBudget } from "../voice/realtime/conversation-context.js";
|
|
90
|
-
import { SessionIndex } from "../session/manager.js";
|
|
91
|
-
import { onSessionTranscriptUpdate } from "../session/transcript-events.js";
|
|
92
|
-
import "../session/index.js";
|
|
93
|
-
import { getEmbeddedExecutionSession } from "../agent/embedded/execution-context.js";
|
|
94
|
-
import { collectMediaUrisFromMessages, deleteMediaUris } from "../media/session-references.js";
|
|
95
|
-
import { runMemoryMaintenance } from "../memory-maintenance/service.js";
|
|
96
|
-
import "../memory-maintenance/index.js";
|
|
97
|
-
import { buildNoteAgentContext } from "../notes/agent-context.js";
|
|
98
|
-
import { NotesStore } from "../notes/store.js";
|
|
99
|
-
import { NotesService } from "../notes/service.js";
|
|
100
|
-
import { LocalAppService } from "../local-apps/service.js";
|
|
101
|
-
import { TaskSignalService } from "../tasks/task-signal-service.js";
|
|
102
|
-
import { createProductDispatcher } from "../capabilities/runtime/product.js";
|
|
103
|
-
import { TaskRunDispatcher } from "../tasks/task-run-dispatcher.js";
|
|
104
|
-
import "../tasks/index.js";
|
|
105
|
-
import "../agent/mcp/bundle-mcp-tools.js";
|
|
106
|
-
import { AgentService } from "../agent/service.js";
|
|
107
107
|
import "../notes/index.js";
|
|
108
108
|
import { buildWorkflowChildTools } from "../agent/workflow/workflow-child-tools.js";
|
|
109
109
|
import { WorkflowRunService } from "../workflows/service/workflow-run-service.js";
|
|
@@ -6,14 +6,14 @@ import { TaskRepository, init_task_repository } from "../tasks/task-repository.j
|
|
|
6
6
|
import { getSessionMetadata } from "../storage/sqlite/session-read-repository.js";
|
|
7
7
|
import { getCurrentTranscriptId, init_session_repository } from "../storage/sqlite/session-repository.js";
|
|
8
8
|
import { getSessionConfig, init_config_repository } from "../storage/sqlite/config-repository.js";
|
|
9
|
+
import { TaskConversationRepository } from "../tasks/task-conversation-repository.js";
|
|
9
10
|
import { getExecutionEnvironmentForSession } from "../execution-environments/subject.js";
|
|
10
11
|
import { effectiveWorkspacePathForSession } from "../session/session-workspace.js";
|
|
11
12
|
import { ProjectStore } from "../projects/project-store.js";
|
|
12
13
|
import { runExec } from "../infra/exec.js";
|
|
13
14
|
import { TaskCollaborationRepository } from "../tasks/task-collaboration-repository.js";
|
|
14
|
-
import { TaskConversationRepository } from "../tasks/task-conversation-repository.js";
|
|
15
|
-
import { isSessionSourceBinding } from "../agent/source-context/types.js";
|
|
16
15
|
import { TaskOriginRepository } from "../tasks/task-origin-repository.js";
|
|
16
|
+
import { isSessionSourceBinding } from "../agent/source-context/types.js";
|
|
17
17
|
import { realpath, stat } from "node:fs/promises";
|
|
18
18
|
//#region src/gateway/session-context-summary.ts
|
|
19
19
|
init_config_repository();
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { createLogger } from "../utils/logger/index.js";
|
|
2
2
|
import { init_logger } from "../utils/logger.js";
|
|
3
3
|
import { retireSessionMcpRuntimeForConversationId } from "../agent/mcp/bundle-mcp-runtime.js";
|
|
4
|
-
import { isPersonalConversation } from "../personal-agent/repository.js";
|
|
5
4
|
import { abortEmbeddedRun } from "../agent/embedded/runs.js";
|
|
5
|
+
import { isPersonalConversation } from "../personal-agent/repository.js";
|
|
6
6
|
import "../agent/mcp/bundle-mcp-tools.js";
|
|
7
7
|
//#region src/gateway/session-reset-service.ts
|
|
8
8
|
init_logger();
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import path, { relative, resolve } from "node:path";
|
|
2
|
-
import
|
|
2
|
+
import fs from "node:fs";
|
|
3
3
|
//#region src/gateway/workspace-editor-path.ts
|
|
4
4
|
/** Resolve a workspace-relative POSIX path safely (no `..`, stays under root). */
|
|
5
5
|
function resolveWorkspaceSafePath(workspaceRoot, rel) {
|
|
@@ -20,7 +20,7 @@ function isPathUnderWorkspace(workspaceRoot, absPath) {
|
|
|
20
20
|
function normalizeComparablePath(input) {
|
|
21
21
|
let resolved = resolve(input);
|
|
22
22
|
try {
|
|
23
|
-
resolved =
|
|
23
|
+
resolved = fs.realpathSync.native(resolved);
|
|
24
24
|
} catch {}
|
|
25
25
|
return process.platform === "win32" ? resolved.toLowerCase() : resolved;
|
|
26
26
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { AgentCatalogRepository, init_repository } from "../agent-catalog/repository.js";
|
|
2
|
-
import { AgentCatalogService } from "../agent-catalog/service.js";
|
|
3
2
|
import { getModelCatalogStore, init_model_catalog_store } from "../providers/model-catalog-store.js";
|
|
4
3
|
import { getAvailableModels, init_providers } from "../providers/index.js";
|
|
5
4
|
import { compareCatalogModels } from "../providers/model-catalog-ranking.js";
|
|
5
|
+
import { AgentCatalogService } from "../agent-catalog/service.js";
|
|
6
6
|
import { prepareUpdateGlobalDefaults } from "./global-defaults-admin.js";
|
|
7
7
|
//#region src/gateway/xopc-cloud-capability-setup.ts
|
|
8
8
|
init_repository();
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { init_agent_scope, resolveDefaultAgentId } from "../agent/agent-scope.js";
|
|
2
|
-
import { extractAssistantText, getAssistantMessageErrorReason } from "../providers/model-response.js";
|
|
3
2
|
import { init_providers, resolveModel } from "../providers/index.js";
|
|
4
3
|
import { completeWithResolvedCredentials, isLocalModelBaseUrl } from "../providers/model-call.js";
|
|
4
|
+
import { extractAssistantText, getAssistantMessageErrorReason } from "../providers/model-response.js";
|
|
5
5
|
import { resolveModelSelector } from "../config/agent-model-intents.js";
|
|
6
6
|
import { z } from "zod";
|
|
7
7
|
//#region src/home-intelligence/generator.ts
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { listPortListeners } from "../gateway/ports.js";
|
|
2
2
|
import { isGatewayArgv, parseProcCmdline } from "./gateway-process-argv.js";
|
|
3
|
-
import
|
|
3
|
+
import fs from "node:fs";
|
|
4
4
|
import { spawnSync } from "node:child_process";
|
|
5
5
|
//#region src/infra/gateway-processes.ts
|
|
6
6
|
function readGatewayProcessArgsSync(pid) {
|
|
7
7
|
if (process.platform === "linux") try {
|
|
8
|
-
return parseProcCmdline(
|
|
8
|
+
return parseProcCmdline(fs.readFileSync(`/proc/${pid}/cmdline`, "utf8"));
|
|
9
9
|
} catch {
|
|
10
10
|
return null;
|
|
11
11
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { resolveBrewPathDirs } from "./brew.js";
|
|
2
2
|
import os from "node:os";
|
|
3
3
|
import path from "node:path";
|
|
4
|
-
import
|
|
4
|
+
import fs from "node:fs";
|
|
5
5
|
//#region src/infra/path-env.ts
|
|
6
6
|
function isTruthyEnvValue(value) {
|
|
7
7
|
if (!value) return false;
|
|
@@ -10,7 +10,7 @@ function isTruthyEnvValue(value) {
|
|
|
10
10
|
}
|
|
11
11
|
function isExecutable(filePath) {
|
|
12
12
|
try {
|
|
13
|
-
|
|
13
|
+
fs.accessSync(filePath, fs.constants.X_OK);
|
|
14
14
|
return true;
|
|
15
15
|
} catch {
|
|
16
16
|
return false;
|
|
@@ -18,7 +18,7 @@ function isExecutable(filePath) {
|
|
|
18
18
|
}
|
|
19
19
|
function isDirectory(dirPath) {
|
|
20
20
|
try {
|
|
21
|
-
return
|
|
21
|
+
return fs.statSync(dirPath).isDirectory();
|
|
22
22
|
} catch {
|
|
23
23
|
return false;
|
|
24
24
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { resolveExecPathBinPrepend } from "./path-env.js";
|
|
2
1
|
import { applyPathPrepend } from "./path-prepend.js";
|
|
2
|
+
import { resolveExecPathBinPrepend } from "./path-env.js";
|
|
3
3
|
import { readPackageVersion } from "./package-json.js";
|
|
4
4
|
import { createDefaultCommandRunner } from "./run-command.js";
|
|
5
5
|
import path from "node:path";
|
|
6
|
-
import
|
|
7
|
-
import fs from "node:fs/promises";
|
|
6
|
+
import fs from "node:fs";
|
|
7
|
+
import fs$1 from "node:fs/promises";
|
|
8
8
|
//#region src/infra/update-global.ts
|
|
9
9
|
const XOPC_PACKAGE_NAME = "@xopcai/xopc";
|
|
10
10
|
const GLOBAL_RENAME_PREFIX = ".";
|
|
@@ -18,7 +18,7 @@ const NPM_GLOBAL_INSTALL_OMIT_OPTIONAL_FLAGS = ["--omit=optional", ...NPM_GLOBAL
|
|
|
18
18
|
const GLOBAL_DETECT_TIMEOUT_MS = 15e3;
|
|
19
19
|
async function pathExists(targetPath) {
|
|
20
20
|
try {
|
|
21
|
-
await fs.access(targetPath);
|
|
21
|
+
await fs$1.access(targetPath);
|
|
22
22
|
return true;
|
|
23
23
|
} catch {
|
|
24
24
|
return false;
|
|
@@ -26,7 +26,7 @@ async function pathExists(targetPath) {
|
|
|
26
26
|
}
|
|
27
27
|
async function tryRealpath(targetPath) {
|
|
28
28
|
try {
|
|
29
|
-
return await fs.realpath(targetPath);
|
|
29
|
+
return await fs$1.realpath(targetPath);
|
|
30
30
|
} catch {
|
|
31
31
|
return path.resolve(targetPath);
|
|
32
32
|
}
|
|
@@ -49,14 +49,14 @@ function resolvePreferredNpmCommand(pkgRoot) {
|
|
|
49
49
|
const prefix = inferNpmPrefixFromPackageRoot(pkgRoot);
|
|
50
50
|
if (!prefix) return null;
|
|
51
51
|
const candidate = process.platform === "win32" ? path.join(prefix, "npm.cmd") : path.join(prefix, "bin", "npm");
|
|
52
|
-
return
|
|
52
|
+
return fs.existsSync(candidate) ? candidate : null;
|
|
53
53
|
}
|
|
54
54
|
function resolveNpmFromExecPath() {
|
|
55
55
|
const execPath = process.execPath?.trim();
|
|
56
56
|
if (!execPath) return null;
|
|
57
57
|
const binDir = path.dirname(execPath);
|
|
58
58
|
const candidate = process.platform === "win32" ? path.join(binDir, "npm.cmd") : path.join(binDir, "npm");
|
|
59
|
-
return
|
|
59
|
+
return fs.existsSync(candidate) ? candidate : null;
|
|
60
60
|
}
|
|
61
61
|
function resolvePreferredGlobalManagerCommand(manager, pkgRoot) {
|
|
62
62
|
if (manager !== "npm") return manager;
|
|
@@ -204,7 +204,7 @@ async function cleanupGlobalRenameDirs(params) {
|
|
|
204
204
|
const prefix = `${GLOBAL_RENAME_PREFIX}${name}-`;
|
|
205
205
|
let entries = [];
|
|
206
206
|
try {
|
|
207
|
-
entries = await fs.readdir(root);
|
|
207
|
+
entries = await fs$1.readdir(root);
|
|
208
208
|
} catch {
|
|
209
209
|
return { removed };
|
|
210
210
|
}
|
|
@@ -212,8 +212,8 @@ async function cleanupGlobalRenameDirs(params) {
|
|
|
212
212
|
if (!entry.startsWith(prefix)) continue;
|
|
213
213
|
const target = path.join(root, entry);
|
|
214
214
|
try {
|
|
215
|
-
if (!(await fs.lstat(target)).isDirectory()) continue;
|
|
216
|
-
await fs.rm(target, {
|
|
215
|
+
if (!(await fs$1.lstat(target)).isDirectory()) continue;
|
|
216
|
+
await fs$1.rm(target, {
|
|
217
217
|
recursive: true,
|
|
218
218
|
force: true
|
|
219
219
|
});
|
|
@@ -5,11 +5,11 @@ import { currentOperationId, init_operation_context } from "../infra/operation-c
|
|
|
5
5
|
import { afterSqliteCommit, init_transaction, runSqliteWriteTransaction } from "../storage/sqlite/transaction.js";
|
|
6
6
|
import { ExtensionCapabilityBindingsSchema, extensionCapabilityPermissions } from "../../packages/gateway-contract/src/extension-capabilities.js";
|
|
7
7
|
import { init_src } from "../../packages/gateway-contract/src/index.js";
|
|
8
|
-
import { CapabilityError } from "../capabilities/runtime/errors.js";
|
|
9
8
|
import { init_paths, resolveExtensionsDir } from "../config/paths.js";
|
|
9
|
+
import { LocalAppStore } from "./store.js";
|
|
10
10
|
import { slugifyProjectName } from "../projects/project-store.js";
|
|
11
|
+
import { CapabilityError } from "../capabilities/runtime/errors.js";
|
|
11
12
|
import { DomainOutboxDispatcher } from "../infra/domain-outbox-dispatcher.js";
|
|
12
|
-
import { LocalAppStore } from "./store.js";
|
|
13
13
|
import { validateLocalAppCapabilityContracts } from "./capabilities/contracts.js";
|
|
14
14
|
import { buildLocalAppFixGuidance } from "./fix-guidance.js";
|
|
15
15
|
import { readLocalAppAcceptanceConfig } from "./acceptance.js";
|
|
@@ -2,8 +2,8 @@ import { createLogger } from "../utils/logger/index.js";
|
|
|
2
2
|
import { init_logger } from "../utils/logger.js";
|
|
3
3
|
import { CapabilityErrorCodeSchema } from "../../packages/gateway-contract/src/capabilities.js";
|
|
4
4
|
import { init_src } from "../../packages/gateway-contract/src/index.js";
|
|
5
|
-
import { loadConfig } from "../config/loader.js";
|
|
6
5
|
import { resolveGatewayLocalClientHost } from "../config/gateway-bind.js";
|
|
6
|
+
import { loadConfig } from "../config/loader.js";
|
|
7
7
|
import { createGatewayCredential, gatewayCredentialAuthorization } from "../gateway/credential.js";
|
|
8
8
|
import { fetch } from "undici";
|
|
9
9
|
//#region src/mcp/gateway-http-client.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { registerMediaUnderstandingProvider } from "./registry.js";
|
|
1
2
|
import { normalizeBaseUrl, postMultipartRequest } from "../media-shared/http/provider-http.js";
|
|
2
3
|
import "../media-shared/http/index.js";
|
|
3
|
-
import { registerMediaUnderstandingProvider } from "./registry.js";
|
|
4
4
|
import path from "node:path";
|
|
5
5
|
//#region src/media-understanding/openai-compatible-audio.ts
|
|
6
6
|
/**
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { getNoteAgentContextRecord, upsertNoteAgentContextRecord } from "../storage/sqlite/note-agent-context-repository.js";
|
|
2
2
|
import { init_sqlite } from "../storage/sqlite/index.js";
|
|
3
|
-
import {
|
|
3
|
+
import { resolveImageModelConfigForTool } from "../agent/image/tool-model-config.js";
|
|
4
|
+
import { describeImagesWithFallback } from "../agent/image/understanding/runtime.js";
|
|
5
|
+
import { extractDocumentText } from "../document-understanding/extract.js";
|
|
4
6
|
import { transcribe } from "../voice/stt/transcribe-core.js";
|
|
7
|
+
import { isSTTAvailable } from "../voice/stt/availability.js";
|
|
5
8
|
import { mergeSttConfigFromAppConfig } from "../voice/stt/config.js";
|
|
6
9
|
import "../voice/stt/index.js";
|
|
7
|
-
import { extractDocumentText } from "../document-understanding/extract.js";
|
|
8
|
-
import { resolveImageModelConfigForTool } from "../agent/image/tool-model-config.js";
|
|
9
|
-
import { describeImagesWithFallback } from "../agent/image/understanding/runtime.js";
|
|
10
10
|
import { extname } from "node:path";
|
|
11
11
|
import { readFile } from "node:fs/promises";
|
|
12
12
|
//#region src/notes/agent-context.ts
|
package/dist/src/notes/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { resolveNoteMediaDir, resolveNotesDir } from "./paths.js";
|
|
2
1
|
import { buildNoteAgentContext, buildNoteAgentContextArtifact, getCachedNoteAgentContextArtifact } from "./agent-context.js";
|
|
2
|
+
import { resolveNoteMediaDir, resolveNotesDir } from "./paths.js";
|
|
3
3
|
import { NotesStore } from "./store.js";
|
|
4
4
|
import { NotesService } from "./service.js";
|
|
5
5
|
export { NotesService, NotesStore, buildNoteAgentContext, buildNoteAgentContextArtifact, getCachedNoteAgentContextArtifact, resolveNoteMediaDir, resolveNotesDir };
|
|
@@ -7,8 +7,8 @@ import { init_note_markdown, parseNoteMarkdown } from "./note-markdown.js";
|
|
|
7
7
|
import { init_notes_repository, listNoteProjectSummaries } from "../storage/sqlite/notes-repository.js";
|
|
8
8
|
import { changedFieldsFromPatch, emitActivity, previewText, systemActivityActor, systemActivitySource } from "../activity/emitter.js";
|
|
9
9
|
import { getDefaultModelSync, init_providers, resolveModel } from "../providers/index.js";
|
|
10
|
-
import { completeWithResolvedCredentials } from "../providers/model-call.js";
|
|
11
10
|
import { DomainOutboxDispatcher } from "../infra/domain-outbox-dispatcher.js";
|
|
11
|
+
import { completeWithResolvedCredentials } from "../providers/model-call.js";
|
|
12
12
|
import { partitionAttachmentsByReference } from "./note-attachment-sync.js";
|
|
13
13
|
import { buildNoteAgentContextArtifact, getCachedNoteAgentContextArtifact } from "./agent-context.js";
|
|
14
14
|
import { revokeNoteShareRecords } from "../share/note-share-revocation.js";
|
package/dist/src/notes/store.js
CHANGED
|
@@ -7,8 +7,8 @@ import { buildNoteIndexMeta, init_note_index_meta } from "./note-index-meta.js";
|
|
|
7
7
|
import { deleteNoteRecord, getNoteRecord, listNoteRecords, upsertNoteRecord } from "../storage/sqlite/notes-repository.js";
|
|
8
8
|
import { deleteNoteAgentContextRecord } from "../storage/sqlite/note-agent-context-repository.js";
|
|
9
9
|
import { init_sqlite } from "../storage/sqlite/index.js";
|
|
10
|
-
import { resolveNoteMediaDir } from "./paths.js";
|
|
11
10
|
import { canRemoveRevokedNoteShareArtifact } from "../share/note-share-revocation.js";
|
|
11
|
+
import { resolveNoteMediaDir } from "./paths.js";
|
|
12
12
|
import { basename, join } from "node:path";
|
|
13
13
|
import { rmSync } from "node:fs";
|
|
14
14
|
import { randomUUID } from "node:crypto";
|
|
@@ -2,8 +2,8 @@ import { z } from 'zod';
|
|
|
2
2
|
export declare const PersonalOnboardingStepSchema: z.ZodEnum<{
|
|
3
3
|
voice: "voice";
|
|
4
4
|
identity: "identity";
|
|
5
|
-
connections: "connections";
|
|
6
5
|
intro: "intro";
|
|
6
|
+
connections: "connections";
|
|
7
7
|
}>;
|
|
8
8
|
export declare const PersonalOnboardingDraftSchema: z.ZodObject<{
|
|
9
9
|
displayName: z.ZodDefault<z.ZodString>;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import type { GatewayService } from '../gateway/service.js';
|
|
3
2
|
import { type PersonalAgentRecord } from './repository.js';
|
|
4
3
|
export declare const PersonalPreferencesSchema: z.ZodObject<{
|
|
5
4
|
addressAs: z.ZodOptional<z.ZodString>;
|
|
@@ -38,14 +37,20 @@ export declare const PersonalAppearanceSchema: z.ZodEnum<{
|
|
|
38
37
|
"loopi-care": "loopi-care";
|
|
39
38
|
}>;
|
|
40
39
|
export type PersonalAppearance = z.infer<typeof PersonalAppearanceSchema>;
|
|
40
|
+
type PersonalAgentHost = {
|
|
41
|
+
refreshAgentCatalog(): void;
|
|
42
|
+
agentService: {
|
|
43
|
+
evictSessionAgent(conversationId: string): void;
|
|
44
|
+
};
|
|
45
|
+
};
|
|
41
46
|
export declare function personalInstructions(preferences: PersonalPreferences): string;
|
|
42
|
-
export declare function refreshPersonalDelegationGuidance(service:
|
|
47
|
+
export declare function refreshPersonalDelegationGuidance(service: PersonalAgentHost, ownerId: string): Promise<void>;
|
|
43
48
|
export declare function listPersonalModels(): Promise<Array<{
|
|
44
49
|
id: string;
|
|
45
50
|
name: string;
|
|
46
51
|
}>>;
|
|
47
52
|
export declare function ensurePersonalConversationVisibility(ownerId: string): void;
|
|
48
|
-
export declare function createOrResumePersonalAgent(service:
|
|
53
|
+
export declare function createOrResumePersonalAgent(service: PersonalAgentHost, ownerId: string, requestedModel?: string, availableModels?: typeof listPersonalModels, initial?: {
|
|
49
54
|
displayName: string;
|
|
50
55
|
appearance: Exclude<PersonalAppearance, 'custom'>;
|
|
51
56
|
voicePreference?: {
|
|
@@ -54,7 +59,7 @@ export declare function createOrResumePersonalAgent(service: GatewayService, own
|
|
|
54
59
|
voice: string;
|
|
55
60
|
};
|
|
56
61
|
}): Promise<PersonalAgentRecord>;
|
|
57
|
-
export declare function patchPersonalProfile(service:
|
|
62
|
+
export declare function patchPersonalProfile(service: PersonalAgentHost, ownerId: string, revision: number, displayName: string, preferences: PersonalPreferences, appearance: PersonalAppearance, voicePreference?: {
|
|
58
63
|
provider: string;
|
|
59
64
|
model: string;
|
|
60
65
|
voice: string;
|
|
@@ -64,3 +69,4 @@ export declare function updatePersonalProfileRecord(ownerId: string, revision: n
|
|
|
64
69
|
model: string;
|
|
65
70
|
voice: string;
|
|
66
71
|
} | null): Promise<PersonalAgentRecord | null>;
|
|
72
|
+
export {};
|