@xopcai/xopc 0.0.106 → 0.0.107
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/dashscope/xopc.extension.json +7 -2
- package/dist/extensions/fal/xopc.extension.json +7 -2
- package/dist/extensions/feishu/src/adapters/gateway-setup.js +22 -26
- package/dist/extensions/feishu/src/adapters/gateway-setup.js.map +1 -1
- package/dist/extensions/feishu/src/outbound/media-load.js +1 -1
- package/dist/extensions/feishu/src/workflow-progress.js +1 -1
- package/dist/extensions/feishu/xopc.extension.json +458 -26
- package/dist/extensions/google/xopc.extension.json +7 -2
- package/dist/extensions/minimax/xopc.extension.json +8 -2
- package/dist/extensions/openai/xopc.extension.json +7 -2
- package/dist/extensions/telegram/src/adapters/streaming-adapter.js +1 -1
- package/dist/extensions/telegram/src/inbound-processor.js +1 -1
- package/dist/extensions/telegram/src/plugin.js +1 -1
- package/dist/extensions/telegram/src/routing-integration.js +2 -2
- package/dist/extensions/telegram/src/update-offset-store.js +1 -1
- package/dist/extensions/telegram/src/workflow-progress.js +1 -1
- package/dist/extensions/telegram/xopc.extension.json +10 -2
- package/dist/extensions/weixin/src/api/api.js +2 -2
- package/dist/extensions/weixin/src/auth/accounts.js +1 -1
- package/dist/extensions/weixin/src/cdn/upload.js +1 -1
- package/dist/extensions/weixin/src/media/data-url.js +1 -1
- package/dist/extensions/weixin/src/messaging/debug-mode.js +1 -1
- package/dist/extensions/weixin/src/messaging/inbound.js +1 -1
- package/dist/extensions/weixin/src/messaging/process-message.js +1 -1
- package/dist/extensions/weixin/src/plugin.js +1 -1
- package/dist/extensions/weixin/src/storage/sync-buf.js +1 -1
- package/dist/extensions/weixin/src/workflow-progress.js +1 -1
- package/dist/extensions/weixin/xopc.extension.json +57 -14
- package/dist/gateway/static/root/apple-touch-icon.png +0 -0
- package/dist/gateway/static/root/assets/agents-BXg2_mE4.js +78 -0
- package/dist/gateway/static/root/assets/apps-page-CJqQ-7Ss.js +1 -0
- package/dist/gateway/static/root/assets/channels-settings-DvMZ6NAd.js +1 -0
- package/dist/gateway/static/root/assets/cron-page-BPBlvSl5.js +1 -0
- package/dist/gateway/static/root/assets/{dist-OM9qGfm5.js → dist-CZh0c-s8.js} +1 -1
- package/dist/gateway/static/root/assets/{extension-debug-page-D-WHrr_w.js → extension-debug-page-DyJQR0SR.js} +1 -1
- package/dist/gateway/static/root/assets/{extension-page-CCgjSoKn.js → extension-page-CDTuUr9B.js} +1 -1
- package/dist/gateway/static/root/assets/{extension-settings-page-BJH5a-Gn.js → extension-settings-page-DszZ8zHD.js} +1 -1
- package/dist/gateway/static/root/assets/{fetch-CkvRO30i.js → fetch-CFdKBnE6.js} +1 -1
- package/dist/gateway/static/root/assets/{gateway-startup-retry-BkKyRDrF.js → gateway-startup-retry-DdngdObI.js} +1 -1
- package/dist/gateway/static/root/assets/{heartbeat-config-api-CVyP6pFj.js → heartbeat-config-api-U10wnPdc.js} +1 -1
- package/dist/gateway/static/root/assets/index-DBc-bVOQ.js +4845 -0
- package/dist/gateway/static/root/assets/index-DI5_GsZt.css +1 -0
- package/dist/gateway/static/root/assets/{logs-page-R6Vv_Ja6.js → logs-page-B6js8Bfi.js} +2 -2
- package/dist/gateway/static/root/assets/{note-detail-page-BUDarLhh.js → note-detail-page-DFzAXR35.js} +4 -4
- package/dist/gateway/static/root/assets/{note-time-Cc2-T21g.js → note-time-DOiSU-10.js} +1 -1
- package/dist/gateway/static/root/assets/notes-page-DAuZJMT8.js +1 -0
- package/dist/gateway/static/root/assets/{schema-form-CrlOmEZt.js → schema-form-zM36dvbY.js} +1 -1
- package/dist/gateway/static/root/assets/sessions-page-CAsV03BY.js +1 -0
- package/dist/gateway/static/root/assets/{settings-advanced-gate-BBAQxxew.js → settings-advanced-gate-BCvObK1y.js} +1 -1
- package/dist/gateway/static/root/assets/{settings-form-section-DjPD-ErC.js → settings-form-section-Bvl-RInc.js} +1 -1
- package/dist/gateway/static/root/assets/settings-page-DuCJDd74.js +3 -0
- package/dist/gateway/static/root/assets/{share-preview-page-BjvPht3V.js → share-preview-page-rpL4DDTO.js} +1 -1
- package/dist/gateway/static/root/assets/skills-page--BioR9J4.js +2 -0
- package/dist/gateway/static/root/assets/{theme-store-DYgVdRB4.js → theme-store-BZozwAeK.js} +1 -1
- package/dist/gateway/static/root/assets/url-DQRqHuL-.js +3 -0
- package/dist/gateway/static/root/assets/voice-api-key-field-D2RJaoj_.js +1 -0
- package/dist/gateway/static/root/assets/{workflow-page.utils-D4sqR0yX.js → workflow-page.utils-BxacHYen.js} +1 -1
- package/dist/gateway/static/root/assets/workflows-page-B1B-est-.js +18 -0
- package/dist/gateway/static/root/favicon-16.png +0 -0
- package/dist/gateway/static/root/favicon-32.png +0 -0
- package/dist/gateway/static/root/favicon.ico +0 -0
- package/dist/gateway/static/root/favicon.svg +18 -0
- package/dist/gateway/static/root/index.html +11 -10
- package/dist/package.js +1 -1
- package/dist/src/agent/agent-manager.js +7 -7
- package/dist/src/agent/agent-scope.js +1 -1
- package/dist/src/agent/bootstrap/load-bootstrap-files.js +1 -1
- package/dist/src/agent/context/workspace-seed.js +2 -2
- package/dist/src/agent/context/workspace-state.js +1 -1
- package/dist/src/agent/goals/goal-run-store.js +4 -4
- package/dist/src/agent/goals/persistent-goal-service.js +1 -1
- package/dist/src/agent/goals/post-turn.js +2 -2
- package/dist/src/agent/image/load-image-media.js +2 -2
- package/dist/src/agent/ipc/bus.js +1 -1
- package/dist/src/agent/ipc/inbox.js +2 -2
- package/dist/src/agent/ipc/socket.js +1 -1
- package/dist/src/agent/mcp/bundle-mcp-materialize.js +1 -1
- package/dist/src/agent/mcp/bundle-mcp-runtime.js +1 -1
- package/dist/src/agent/mcp/mcp-transport-config.js +1 -1
- package/dist/src/agent/mcp/mcp-transport.js +1 -1
- package/dist/src/agent/memory/builtin-memory-store.js +1 -1
- package/dist/src/agent/memory/dreaming/deep-promotion.js +1 -1
- package/dist/src/agent/memory/dreaming/events.js +1 -1
- package/dist/src/agent/memory/dreaming/last-run.js +1 -1
- package/dist/src/agent/memory/dreaming/light-sweep.js +1 -1
- package/dist/src/agent/memory/dreaming/preview.js +1 -1
- package/dist/src/agent/memory/dreaming/rem-patterns.js +1 -1
- package/dist/src/agent/memory/dreaming/short-term-store.js +1 -1
- package/dist/src/agent/memory/dreaming/utils.js +1 -1
- package/dist/src/agent/memory/memory-flush.js +1 -1
- package/dist/src/agent/memory/plugin-discovery.js +1 -1
- package/dist/src/agent/models/manager.js +1 -1
- package/dist/src/agent/prompt/service-prompt-builder.js +2 -2
- package/dist/src/agent/reply/post-compaction-context.js +1 -1
- package/dist/src/agent/reply/workspace-boundary-read.js +1 -1
- package/dist/src/agent/sandbox/path-policy.js +2 -2
- package/dist/src/agent/service.js +4 -4
- package/dist/src/agent/session/session-inspector.js +1 -1
- package/dist/src/agent/skills/config.js +1 -1
- package/dist/src/agent/skills/hub-hash.js +2 -2
- package/dist/src/agent/skills/hub-lock.js +1 -1
- package/dist/src/agent/skills/hub-pull.js +2 -2
- package/dist/src/agent/skills/index.js +1 -1
- package/dist/src/agent/skills/managed-store.js +1 -1
- package/dist/src/agent/skills/marketplace/adapters/store/store-api-client.d.ts +4 -0
- package/dist/src/agent/skills/marketplace/adapters/store/store-api-client.js +4 -2
- package/dist/src/agent/skills/marketplace/adapters/store/store-api-client.js.map +1 -1
- package/dist/src/agent/skills/scanner.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/starter-agents.d.ts +19 -0
- package/dist/src/agent/starter-agents.js +190 -0
- package/dist/src/agent/starter-agents.js.map +1 -0
- package/dist/src/agent/tools/dreaming-tool.js +1 -1
- package/dist/src/agent/tools/factory.js +1 -1
- package/dist/src/agent/tools/image-generate-tool.js +1 -1
- package/dist/src/agent/tools/send-media.js +1 -1
- package/dist/src/agent/tools/skill-manage-tool.js +1 -1
- package/dist/src/agent/tools/workflow-tool.js +1 -1
- package/dist/src/agent/tools/write.js +1 -1
- package/dist/src/agent/workflow/catalog.js +1 -1
- package/dist/src/agent/workflow/runtime.js +49 -15
- package/dist/src/agent/workflow/runtime.js.map +1 -1
- package/dist/src/agent/workflow/types.d.ts +11 -0
- package/dist/src/auth/credentials.js +3 -3
- package/dist/src/auth/profiles/store.js +2 -2
- package/dist/src/auth/sync-provider-auth.js +1 -1
- package/dist/src/browser/cache-dir-policy.js +1 -1
- package/dist/src/browser/cdp-local-launcher.js +2 -2
- package/dist/src/browser/providers/browser-ext-install.js +3 -3
- package/dist/src/browser/providers/cloakbrowser.js +4 -4
- package/dist/src/browser/providers/playwright-doctor.js +1 -1
- package/dist/src/browser/stealth.js +1 -1
- package/dist/src/channels/catalog/channel-catalog-service.js +13 -0
- package/dist/src/channels/catalog/channel-catalog-service.js.map +1 -1
- package/dist/src/channels/outbound/persist-store.js +1 -1
- package/dist/src/channels/pairing/allow-from-file.js +1 -1
- package/dist/src/channels/pairing/pairing-store.js +2 -2
- package/dist/src/channels/plugins/types.adapters.d.ts +2 -0
- package/dist/src/chat-commands/agent-edit.js +2 -2
- package/dist/src/chat-commands/builtins/config.js +2 -2
- package/dist/src/chat-commands/context.js +1 -1
- package/dist/src/cli/commands/config.js +1 -1
- package/dist/src/cli/commands/doctor/checks/config-health.js +1 -1
- package/dist/src/cli/commands/doctor/checks/provider-auth.js +1 -1
- package/dist/src/cli/commands/doctor/checks/state-integrity.js +1 -1
- package/dist/src/cli/commands/doctor/checks/workspace-status.js +1 -1
- package/dist/src/cli/commands/extension-create.d.ts +2 -0
- package/dist/src/cli/commands/extension-create.js +165 -0
- package/dist/src/cli/commands/extension-create.js.map +1 -0
- package/dist/src/cli/commands/extension-dev.js +1 -3
- package/dist/src/cli/commands/extension-dev.js.map +1 -1
- package/dist/src/cli/commands/extension-marketplace.js +105 -81
- package/dist/src/cli/commands/extension-marketplace.js.map +1 -1
- package/dist/src/cli/commands/extension-pack.d.ts +13 -0
- package/dist/src/cli/commands/extension-pack.js +159 -91
- package/dist/src/cli/commands/extension-pack.js.map +1 -1
- package/dist/src/cli/commands/extension.d.ts +2 -0
- package/dist/src/cli/commands/extension.js +375 -3
- package/dist/src/cli/commands/extension.js.map +1 -1
- package/dist/src/cli/commands/gateway/logs.js +1 -1
- package/dist/src/cli/commands/gateway/run-foreground.js +1 -2
- package/dist/src/cli/commands/gateway/run-foreground.js.map +1 -1
- package/dist/src/cli/commands/image.js +1 -1
- package/dist/src/cli/commands/init.js +3 -3
- package/dist/src/cli/commands/models.js +1 -1
- package/dist/src/cli/commands/onboard/model.js +2 -2
- package/dist/src/cli/commands/onboard.js +0 -2
- package/dist/src/cli/commands/onboard.js.map +1 -1
- package/dist/src/cli/commands/setup.js +0 -2
- package/dist/src/cli/commands/setup.js.map +1 -1
- package/dist/src/cli/utils/init-workspace-core.js +10 -7
- package/dist/src/cli/utils/init-workspace-core.js.map +1 -1
- package/dist/src/config/agent-profile.js +1 -1
- package/dist/src/config/agent-typed-models.js +1 -1
- package/dist/src/config/gateway-bind.js +1 -1
- package/dist/src/config/index.js +5 -5
- package/dist/src/config/loader.js +2 -2
- package/dist/src/config/models-json.js +2 -2
- package/dist/src/config/paths-state.js +1 -1
- package/dist/src/config/paths.d.ts +2 -2
- package/dist/src/config/paths.js +6 -5
- package/dist/src/config/paths.js.map +1 -1
- package/dist/src/config/profile.js +2 -2
- package/dist/src/config/schema.d.ts +2 -0
- package/dist/src/config/schema.js +3 -1
- package/dist/src/config/schema.js.map +1 -1
- package/dist/src/config/workspace-path.js +1 -1
- package/dist/src/cron/executor.js +2 -2
- package/dist/src/cron/persistence.js +1 -1
- package/dist/src/daemon/constants.js +1 -1
- package/dist/src/daemon/install-plan.js +2 -2
- package/dist/src/daemon/launchd.js +2 -2
- package/dist/src/daemon/schtasks.js +2 -2
- package/dist/src/daemon/systemd.js +2 -2
- package/dist/src/extensions/api.d.ts +4 -2
- package/dist/src/extensions/api.js +31 -12
- package/dist/src/extensions/api.js.map +1 -1
- package/dist/src/extensions/bundle-mcp.js +1 -1
- package/dist/src/extensions/discover-extensions.js +2 -1
- package/dist/src/extensions/discover-extensions.js.map +1 -1
- package/dist/src/extensions/health.js +1 -1
- package/dist/src/extensions/install.d.ts +1 -0
- package/dist/src/extensions/install.js +51 -8
- package/dist/src/extensions/install.js.map +1 -1
- package/dist/src/extensions/loader.d.ts +0 -4
- package/dist/src/extensions/loader.js +55 -88
- package/dist/src/extensions/loader.js.map +1 -1
- package/dist/src/extensions/lockfile.d.ts +9 -1
- package/dist/src/extensions/lockfile.js +2 -2
- package/dist/src/extensions/lockfile.js.map +1 -1
- package/dist/src/extensions/normalize-manifest.js +20 -4
- package/dist/src/extensions/normalize-manifest.js.map +1 -1
- package/dist/src/extensions/package-contract.d.ts +12 -0
- package/dist/src/extensions/package-contract.js +59 -0
- package/dist/src/extensions/package-contract.js.map +1 -0
- package/dist/src/extensions/sdk/core.d.ts +1 -1
- package/dist/src/extensions/sdk/index.d.ts +1 -1
- package/dist/src/extensions/sdk/index.js.map +1 -1
- package/dist/src/extensions/types/manifest.d.ts +15 -0
- package/dist/src/extensions/update.js +1 -1
- package/dist/src/gateway/agents-admin.d.ts +0 -8
- package/dist/src/gateway/agents-admin.js +3 -28
- package/dist/src/gateway/agents-admin.js.map +1 -1
- package/dist/src/gateway/file-path-classifier.js +2 -2
- package/dist/src/gateway/heartbeat/service.js +1 -1
- package/dist/src/gateway/hono/lib/config-payload.js +1 -1
- package/dist/src/gateway/hono/lib/extension-store.js +2 -2
- package/dist/src/gateway/hono/lib/static-ui.js +2 -2
- package/dist/src/gateway/hono/oauth-async.js +1 -1
- package/dist/src/gateway/hono/oauth.js +1 -1
- package/dist/src/gateway/hono/routes/agents.js +2 -56
- package/dist/src/gateway/hono/routes/agents.js.map +1 -1
- package/dist/src/gateway/hono/routes/auth-registry-extensions.js +1 -1
- package/dist/src/gateway/hono/routes/channels.js +10 -1
- package/dist/src/gateway/hono/routes/channels.js.map +1 -1
- package/dist/src/gateway/hono/routes/config-patch/misc.js +1 -1
- package/dist/src/gateway/hono/routes/dreaming.js +1 -1
- package/dist/src/gateway/hono/routes/host-fs.js +2 -2
- package/dist/src/gateway/hono/routes/models.js +1 -1
- package/dist/src/gateway/hono/routes/shares.js +1 -1
- package/dist/src/gateway/hono/routes/workflows.js +130 -0
- package/dist/src/gateway/hono/routes/workflows.js.map +1 -1
- package/dist/src/gateway/hono/routes/workspace.js +2 -2
- package/dist/src/gateway/lock.js +3 -3
- package/dist/src/gateway/ports.js +1 -1
- package/dist/src/gateway/service/agent-runner.js +2 -2
- package/dist/src/gateway/service/marketplace-service.js +2 -2
- package/dist/src/gateway/service.d.ts +2 -0
- package/dist/src/gateway/service.js +45 -1
- package/dist/src/gateway/service.js.map +1 -1
- package/dist/src/gateway/workspace-fs-file-list.js +1 -1
- package/dist/src/heartbeat/index.js +1 -1
- package/dist/src/infra/brew.js +1 -1
- package/dist/src/infra/package-json.js +1 -1
- package/dist/src/infra/package-update-steps.js +1 -1
- package/dist/src/infra/path-env.js +2 -2
- package/dist/src/infra/restart.js +2 -2
- package/dist/src/infra/stable-node-path.js +1 -1
- package/dist/src/infra/update-check.js +1 -1
- package/dist/src/infra/update-global.js +1 -1
- package/dist/src/infra/update-lock.js +3 -3
- package/dist/src/infra/update-runner.js +1 -1
- package/dist/src/infra/update-startup.js +2 -2
- package/dist/src/infra/write-file-atomic.js +2 -2
- package/dist/src/media/store.js +1 -1
- package/dist/src/notes/agent-context.d.ts +12 -4
- package/dist/src/notes/agent-context.js +1 -1
- package/dist/src/notes/agent-context.js.map +1 -1
- package/dist/src/notes/store.js +2 -2
- package/dist/src/project-trust/trust-store.js +2 -2
- package/dist/src/providers/auth-runtime/auth-profile-store.js +1 -1
- package/dist/src/providers/index.js +2 -2
- package/dist/src/providers/model-registry.js +1 -1
- package/dist/src/session/init-session-turn.js +2 -2
- package/dist/src/session/resolve-session.js +3 -3
- package/dist/src/session/session-title.js +2 -2
- package/dist/src/session/store.js +2 -2
- package/dist/src/share/share-auto.js +2 -2
- package/dist/src/share/share-store.js +3 -3
- package/dist/src/share/share-thumbnail.js +2 -2
- package/dist/src/share/share-zip.js +1 -1
- package/dist/src/share/site-share-store.js +3 -3
- package/dist/src/share/site-static-serve.js +1 -1
- package/dist/src/storage/sqlite/connection.js +2 -2
- package/dist/src/storage/sqlite/memory-index-repository.js +2 -2
- package/dist/src/storage/sqlite/migrations/discover.js +1 -1
- package/dist/src/storage/sqlite/migrations/runner.js +1 -1
- package/dist/src/storage/sqlite/schema.js +1 -1
- package/dist/src/tui/backends/embedded-backend.js +1 -8
- package/dist/src/tui/backends/embedded-backend.js.map +1 -1
- package/dist/src/tui/backends/gateway-sse-backend.js +0 -7
- package/dist/src/tui/backends/gateway-sse-backend.js.map +1 -1
- package/dist/src/tui/clipboard-image.js +3 -3
- package/dist/src/tui/theme-manager.js +1 -1
- package/dist/src/tui/tui-backend.d.ts +0 -1
- package/dist/src/tui/tui-command-formatters.js +3 -3
- package/dist/src/tui/tui-commands.js +3 -3
- package/dist/src/tui/tui-commands.js.map +1 -1
- package/dist/src/tui/tui-keybindings-file.js +1 -1
- package/dist/src/tui/tui-picker-overlay.js +1 -1
- package/dist/src/tui/tui-picker-overlay.js.map +1 -1
- package/dist/src/tui/tui-scoped-models.js +2 -2
- package/dist/src/tui/tui-settings.js +1 -1
- package/dist/src/tui/tui-startup-resources.js +1 -1
- package/dist/src/tui/tui.js +5 -5
- package/dist/src/tunnel/frpc-binary.js +3 -3
- package/dist/src/tunnel/frpc-config.js +1 -1
- package/dist/src/tunnel/frpc-extract.js +1 -1
- package/dist/src/tunnel/tunnel-state.js +1 -1
- package/dist/src/utils/logger/audit.js +1 -1
- package/dist/src/utils/logger/log-store.js +1 -1
- package/dist/src/utils/logger/rotation.js +1 -1
- package/dist/src/voice/tts/audio.js +1 -1
- package/dist/src/voice/tts/providers/edge-speech.js +2 -2
- package/dist/src/workflows/domain/definition-utils.d.ts +1 -0
- package/dist/src/workflows/domain/definition-utils.js +32 -2
- package/dist/src/workflows/domain/definition-utils.js.map +1 -1
- package/dist/src/workflows/domain/definition.d.ts +2 -0
- package/dist/src/workflows/domain/event.d.ts +2 -1
- package/dist/src/workflows/domain/index.d.ts +1 -0
- package/dist/src/workflows/domain/index.js +3 -2
- package/dist/src/workflows/domain/run.d.ts +27 -1
- package/dist/src/workflows/domain/run.js.map +1 -1
- package/dist/src/workflows/domain/schema-validation.d.ts +8 -0
- package/dist/src/workflows/domain/schema-validation.js +28 -0
- package/dist/src/workflows/domain/schema-validation.js.map +1 -0
- package/dist/src/workflows/draft/index.d.ts +3 -0
- package/dist/src/workflows/draft/index.js +3 -0
- package/dist/src/workflows/draft/workflow-draft-prompt.d.ts +23 -0
- package/dist/src/workflows/draft/workflow-draft-prompt.js +98 -0
- package/dist/src/workflows/draft/workflow-draft-prompt.js.map +1 -0
- package/dist/src/workflows/draft/workflow-draft-service.d.ts +12 -0
- package/dist/src/workflows/draft/workflow-draft-service.js +131 -0
- package/dist/src/workflows/draft/workflow-draft-service.js.map +1 -0
- package/dist/src/workflows/draft/workflow-draft-validator.d.ts +4 -0
- package/dist/src/workflows/draft/workflow-draft-validator.js +133 -0
- package/dist/src/workflows/draft/workflow-draft-validator.js.map +1 -0
- package/dist/src/workflows/draft/workflow-draft.types.d.ts +44 -0
- package/dist/src/workflows/draft/workflow-draft.types.js +1 -0
- package/dist/src/workflows/engine/projector.js +1 -0
- package/dist/src/workflows/engine/projector.js.map +1 -1
- package/dist/src/workflows/engine/workflow-engine.d.ts +18 -0
- package/dist/src/workflows/engine/workflow-engine.js +320 -11
- package/dist/src/workflows/engine/workflow-engine.js.map +1 -1
- package/dist/src/workflows/index.js +4 -3
- package/dist/src/workflows/service/workflow-run-service.d.ts +14 -3
- package/dist/src/workflows/service/workflow-run-service.js +227 -6
- package/dist/src/workflows/service/workflow-run-service.js.map +1 -1
- package/dist/src/workflows/service/workflow-run-service.types.d.ts +7 -2
- package/dist/src/workflows/store/event-store.js +1 -1
- package/dist/src/workflows/store/run-store.js +1 -1
- package/package.json +4 -2
- package/dist/gateway/static/root/assets/agents-3eP0vqFO.js +0 -396
- package/dist/gateway/static/root/assets/apps-page-CZ2ZKrko.js +0 -1
- package/dist/gateway/static/root/assets/channels-settings-BbETa93K.js +0 -1
- package/dist/gateway/static/root/assets/cron-page-DCtUkHMu.js +0 -1
- package/dist/gateway/static/root/assets/index-BPYKW7FB.css +0 -1
- package/dist/gateway/static/root/assets/index-CEZxETzw.js +0 -4845
- package/dist/gateway/static/root/assets/notes-page-EAHl16bq.js +0 -1
- package/dist/gateway/static/root/assets/sessions-page-Ce_xuuSB.js +0 -1
- package/dist/gateway/static/root/assets/settings-page-KhQ9QgH0.js +0 -3
- package/dist/gateway/static/root/assets/skills-page-C0laq7l1.js +0 -2
- package/dist/gateway/static/root/assets/url-DPEStU4M.js +0 -3
- package/dist/gateway/static/root/assets/voice-api-key-field-DeGckWkl.js +0 -1
- package/dist/gateway/static/root/assets/workflows-page-DFjM95g5.js +0 -27
- package/dist/src/agent/builtin-agent-ids.d.ts +0 -2
- package/dist/src/agent/builtin-agent-ids.js +0 -17
- package/dist/src/agent/builtin-agent-ids.js.map +0 -1
|
@@ -4,8 +4,11 @@
|
|
|
4
4
|
"description": "Feishu/Lark tools (doc/wiki/drive/perm/bitable) for xopc agents. Activates when the Feishu channel is configured.",
|
|
5
5
|
"version": "0.0.14",
|
|
6
6
|
"kind": "tool",
|
|
7
|
-
"main": "src/index.
|
|
8
|
-
"channels": [
|
|
7
|
+
"main": "src/index.js",
|
|
8
|
+
"channels": [
|
|
9
|
+
"feishu",
|
|
10
|
+
"lark"
|
|
11
|
+
],
|
|
9
12
|
"channelContributions": {
|
|
10
13
|
"feishu": {
|
|
11
14
|
"label": "Feishu",
|
|
@@ -25,29 +28,363 @@
|
|
|
25
28
|
"type": "object",
|
|
26
29
|
"additionalProperties": true,
|
|
27
30
|
"properties": {
|
|
28
|
-
"enabled": {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
31
|
+
"enabled": {
|
|
32
|
+
"type": "boolean",
|
|
33
|
+
"default": false,
|
|
34
|
+
"title": "Enabled"
|
|
35
|
+
},
|
|
36
|
+
"accounts": {
|
|
37
|
+
"type": "object",
|
|
38
|
+
"additionalProperties": true,
|
|
39
|
+
"title": "Accounts"
|
|
40
|
+
},
|
|
41
|
+
"appId": {
|
|
42
|
+
"type": "string",
|
|
43
|
+
"title": "App ID"
|
|
44
|
+
},
|
|
45
|
+
"appSecret": {
|
|
46
|
+
"type": "string",
|
|
47
|
+
"format": "password",
|
|
48
|
+
"title": "App secret"
|
|
49
|
+
},
|
|
32
50
|
"domain": {
|
|
33
51
|
"type": "string",
|
|
34
|
-
"enum": [
|
|
52
|
+
"enum": [
|
|
53
|
+
"feishu",
|
|
54
|
+
"lark"
|
|
55
|
+
],
|
|
35
56
|
"default": "feishu",
|
|
36
57
|
"title": "Domain"
|
|
58
|
+
},
|
|
59
|
+
"connectionMode": {
|
|
60
|
+
"type": "string",
|
|
61
|
+
"enum": [
|
|
62
|
+
"websocket",
|
|
63
|
+
"webhook"
|
|
64
|
+
],
|
|
65
|
+
"default": "websocket",
|
|
66
|
+
"title": "Connection mode"
|
|
67
|
+
},
|
|
68
|
+
"dmPolicy": {
|
|
69
|
+
"type": "string",
|
|
70
|
+
"enum": [
|
|
71
|
+
"pairing",
|
|
72
|
+
"allowlist",
|
|
73
|
+
"open",
|
|
74
|
+
"disabled"
|
|
75
|
+
],
|
|
76
|
+
"default": "open",
|
|
77
|
+
"title": "DM policy"
|
|
78
|
+
},
|
|
79
|
+
"groupPolicy": {
|
|
80
|
+
"type": "string",
|
|
81
|
+
"enum": [
|
|
82
|
+
"open",
|
|
83
|
+
"disabled",
|
|
84
|
+
"allowlist"
|
|
85
|
+
],
|
|
86
|
+
"default": "allowlist",
|
|
87
|
+
"title": "Group policy"
|
|
88
|
+
},
|
|
89
|
+
"allowFrom": {
|
|
90
|
+
"type": "array",
|
|
91
|
+
"items": {
|
|
92
|
+
"type": "string"
|
|
93
|
+
},
|
|
94
|
+
"title": "Allowed DM senders"
|
|
95
|
+
},
|
|
96
|
+
"groupAllowFrom": {
|
|
97
|
+
"type": "array",
|
|
98
|
+
"items": {
|
|
99
|
+
"type": "string"
|
|
100
|
+
},
|
|
101
|
+
"title": "Allowed group senders"
|
|
102
|
+
},
|
|
103
|
+
"requireMention": {
|
|
104
|
+
"type": "boolean",
|
|
105
|
+
"default": true,
|
|
106
|
+
"title": "Require mention in groups"
|
|
107
|
+
},
|
|
108
|
+
"renderMode": {
|
|
109
|
+
"type": "string",
|
|
110
|
+
"enum": [
|
|
111
|
+
"auto",
|
|
112
|
+
"raw",
|
|
113
|
+
"card"
|
|
114
|
+
],
|
|
115
|
+
"default": "auto",
|
|
116
|
+
"title": "Render mode"
|
|
117
|
+
},
|
|
118
|
+
"streaming": {
|
|
119
|
+
"type": "boolean",
|
|
120
|
+
"default": false,
|
|
121
|
+
"title": "Streaming replies"
|
|
122
|
+
},
|
|
123
|
+
"reactionNotifications": {
|
|
124
|
+
"type": "string",
|
|
125
|
+
"enum": [
|
|
126
|
+
"off",
|
|
127
|
+
"own",
|
|
128
|
+
"all"
|
|
129
|
+
],
|
|
130
|
+
"default": "own",
|
|
131
|
+
"title": "Reaction notifications"
|
|
132
|
+
},
|
|
133
|
+
"inboundDebounceMs": {
|
|
134
|
+
"type": "number",
|
|
135
|
+
"minimum": 0,
|
|
136
|
+
"maximum": 10000,
|
|
137
|
+
"title": "Inbound debounce (ms)"
|
|
138
|
+
},
|
|
139
|
+
"historyLimit": {
|
|
140
|
+
"type": "number",
|
|
141
|
+
"minimum": 0,
|
|
142
|
+
"default": 50,
|
|
143
|
+
"title": "History limit"
|
|
144
|
+
},
|
|
145
|
+
"textChunkLimit": {
|
|
146
|
+
"type": "number",
|
|
147
|
+
"minimum": 1,
|
|
148
|
+
"default": 4000,
|
|
149
|
+
"title": "Text chunk limit"
|
|
150
|
+
},
|
|
151
|
+
"webhookHost": {
|
|
152
|
+
"type": "string",
|
|
153
|
+
"title": "Webhook host"
|
|
154
|
+
},
|
|
155
|
+
"webhookPort": {
|
|
156
|
+
"type": "number",
|
|
157
|
+
"minimum": 1,
|
|
158
|
+
"title": "Webhook port"
|
|
159
|
+
},
|
|
160
|
+
"webhookPath": {
|
|
161
|
+
"type": "string",
|
|
162
|
+
"title": "Webhook path"
|
|
163
|
+
},
|
|
164
|
+
"verificationToken": {
|
|
165
|
+
"type": "string",
|
|
166
|
+
"format": "password",
|
|
167
|
+
"title": "Verification token"
|
|
168
|
+
},
|
|
169
|
+
"encryptKey": {
|
|
170
|
+
"type": "string",
|
|
171
|
+
"format": "password",
|
|
172
|
+
"title": "Encrypt key"
|
|
173
|
+
},
|
|
174
|
+
"tools": {
|
|
175
|
+
"type": "object",
|
|
176
|
+
"title": "Tools",
|
|
177
|
+
"additionalProperties": false,
|
|
178
|
+
"properties": {
|
|
179
|
+
"doc": {
|
|
180
|
+
"type": "boolean",
|
|
181
|
+
"title": "Doc"
|
|
182
|
+
},
|
|
183
|
+
"chat": {
|
|
184
|
+
"type": "boolean",
|
|
185
|
+
"title": "Chat"
|
|
186
|
+
},
|
|
187
|
+
"wiki": {
|
|
188
|
+
"type": "boolean",
|
|
189
|
+
"title": "Wiki"
|
|
190
|
+
},
|
|
191
|
+
"drive": {
|
|
192
|
+
"type": "boolean",
|
|
193
|
+
"title": "Drive"
|
|
194
|
+
},
|
|
195
|
+
"perm": {
|
|
196
|
+
"type": "boolean",
|
|
197
|
+
"title": "Permissions"
|
|
198
|
+
},
|
|
199
|
+
"bitable": {
|
|
200
|
+
"type": "boolean",
|
|
201
|
+
"title": "Bitable"
|
|
202
|
+
},
|
|
203
|
+
"scopes": {
|
|
204
|
+
"type": "boolean",
|
|
205
|
+
"title": "Scopes"
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
},
|
|
209
|
+
"actions": {
|
|
210
|
+
"type": "object",
|
|
211
|
+
"title": "Actions",
|
|
212
|
+
"additionalProperties": false,
|
|
213
|
+
"properties": {
|
|
214
|
+
"reactions": {
|
|
215
|
+
"type": "boolean",
|
|
216
|
+
"title": "Reactions"
|
|
217
|
+
}
|
|
218
|
+
}
|
|
219
|
+
},
|
|
220
|
+
"blockStreamingCoalesce": {
|
|
221
|
+
"type": "object",
|
|
222
|
+
"title": "Block streaming coalesce",
|
|
223
|
+
"additionalProperties": false,
|
|
224
|
+
"properties": {
|
|
225
|
+
"enabled": {
|
|
226
|
+
"type": "boolean",
|
|
227
|
+
"title": "Enabled"
|
|
228
|
+
},
|
|
229
|
+
"minChars": {
|
|
230
|
+
"type": "number",
|
|
231
|
+
"minimum": 1,
|
|
232
|
+
"title": "Minimum characters"
|
|
233
|
+
},
|
|
234
|
+
"idleMs": {
|
|
235
|
+
"type": "number",
|
|
236
|
+
"minimum": 1,
|
|
237
|
+
"title": "Idle milliseconds"
|
|
238
|
+
}
|
|
239
|
+
}
|
|
240
|
+
},
|
|
241
|
+
"dynamicAgentCreation": {
|
|
242
|
+
"type": "object",
|
|
243
|
+
"title": "Dynamic agent creation",
|
|
244
|
+
"additionalProperties": false,
|
|
245
|
+
"properties": {
|
|
246
|
+
"enabled": {
|
|
247
|
+
"type": "boolean",
|
|
248
|
+
"title": "Enabled"
|
|
249
|
+
},
|
|
250
|
+
"workspaceTemplate": {
|
|
251
|
+
"type": "string",
|
|
252
|
+
"title": "Workspace template"
|
|
253
|
+
},
|
|
254
|
+
"agentDirTemplate": {
|
|
255
|
+
"type": "string",
|
|
256
|
+
"title": "Agent directory template"
|
|
257
|
+
},
|
|
258
|
+
"maxAgents": {
|
|
259
|
+
"type": "number",
|
|
260
|
+
"minimum": 1,
|
|
261
|
+
"title": "Max agents"
|
|
262
|
+
}
|
|
263
|
+
}
|
|
37
264
|
}
|
|
38
265
|
}
|
|
39
266
|
},
|
|
40
267
|
"uiHints": {
|
|
41
|
-
"
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
268
|
+
"enabled": {
|
|
269
|
+
"advanced": false,
|
|
270
|
+
"tags": [
|
|
271
|
+
"basic"
|
|
272
|
+
]
|
|
273
|
+
},
|
|
274
|
+
"appId": {
|
|
275
|
+
"advanced": false,
|
|
276
|
+
"tags": [
|
|
277
|
+
"basic"
|
|
278
|
+
]
|
|
279
|
+
},
|
|
280
|
+
"appSecret": {
|
|
281
|
+
"advanced": false,
|
|
282
|
+
"tags": [
|
|
283
|
+
"basic"
|
|
284
|
+
],
|
|
285
|
+
"sensitive": true
|
|
286
|
+
},
|
|
287
|
+
"domain": {
|
|
288
|
+
"advanced": false,
|
|
289
|
+
"tags": [
|
|
290
|
+
"basic"
|
|
291
|
+
]
|
|
292
|
+
},
|
|
293
|
+
"accounts": {
|
|
294
|
+
"advanced": true
|
|
295
|
+
},
|
|
296
|
+
"connectionMode": {
|
|
297
|
+
"advanced": true
|
|
298
|
+
},
|
|
299
|
+
"dmPolicy": {
|
|
300
|
+
"advanced": true
|
|
301
|
+
},
|
|
302
|
+
"groupPolicy": {
|
|
303
|
+
"advanced": true
|
|
304
|
+
},
|
|
305
|
+
"allowFrom": {
|
|
306
|
+
"advanced": true
|
|
307
|
+
},
|
|
308
|
+
"groupAllowFrom": {
|
|
309
|
+
"advanced": true
|
|
310
|
+
},
|
|
311
|
+
"requireMention": {
|
|
312
|
+
"advanced": true
|
|
313
|
+
},
|
|
314
|
+
"renderMode": {
|
|
315
|
+
"advanced": true
|
|
316
|
+
},
|
|
317
|
+
"streaming": {
|
|
318
|
+
"advanced": true
|
|
319
|
+
},
|
|
320
|
+
"reactionNotifications": {
|
|
321
|
+
"advanced": true
|
|
322
|
+
},
|
|
323
|
+
"inboundDebounceMs": {
|
|
324
|
+
"advanced": true
|
|
325
|
+
},
|
|
326
|
+
"historyLimit": {
|
|
327
|
+
"advanced": true
|
|
328
|
+
},
|
|
329
|
+
"textChunkLimit": {
|
|
330
|
+
"advanced": true
|
|
331
|
+
},
|
|
332
|
+
"webhookHost": {
|
|
333
|
+
"advanced": true
|
|
334
|
+
},
|
|
335
|
+
"webhookPort": {
|
|
336
|
+
"advanced": true
|
|
337
|
+
},
|
|
338
|
+
"webhookPath": {
|
|
339
|
+
"advanced": true
|
|
340
|
+
},
|
|
341
|
+
"verificationToken": {
|
|
342
|
+
"advanced": true,
|
|
343
|
+
"sensitive": true
|
|
344
|
+
},
|
|
345
|
+
"encryptKey": {
|
|
346
|
+
"advanced": true,
|
|
347
|
+
"sensitive": true
|
|
348
|
+
},
|
|
349
|
+
"tools": {
|
|
350
|
+
"advanced": true
|
|
351
|
+
},
|
|
352
|
+
"actions": {
|
|
353
|
+
"advanced": true
|
|
354
|
+
},
|
|
355
|
+
"blockStreamingCoalesce": {
|
|
356
|
+
"advanced": true
|
|
357
|
+
},
|
|
358
|
+
"dynamicAgentCreation": {
|
|
359
|
+
"advanced": true
|
|
360
|
+
},
|
|
361
|
+
"accounts.*.appSecret": {
|
|
362
|
+
"sensitive": true
|
|
363
|
+
},
|
|
364
|
+
"accounts.*.verificationToken": {
|
|
365
|
+
"sensitive": true
|
|
366
|
+
},
|
|
367
|
+
"accounts.*.encryptKey": {
|
|
368
|
+
"sensitive": true
|
|
369
|
+
}
|
|
45
370
|
},
|
|
46
371
|
"actions": {
|
|
47
|
-
"setup.start": {
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
372
|
+
"setup.start": {
|
|
373
|
+
"label": "Set up by QR",
|
|
374
|
+
"result": "qr"
|
|
375
|
+
},
|
|
376
|
+
"setup.status": {
|
|
377
|
+
"label": "Setup status",
|
|
378
|
+
"result": "poll"
|
|
379
|
+
},
|
|
380
|
+
"setup.manual": {
|
|
381
|
+
"label": "Manual setup",
|
|
382
|
+
"result": "form"
|
|
383
|
+
},
|
|
384
|
+
"doctor.run": {
|
|
385
|
+
"label": "Run doctor",
|
|
386
|
+
"result": "diagnostics"
|
|
387
|
+
}
|
|
51
388
|
},
|
|
52
389
|
"i18n": {
|
|
53
390
|
"zh": {
|
|
@@ -55,29 +392,124 @@
|
|
|
55
392
|
"description": "飞书 / Lark 消息通道与工作区工具",
|
|
56
393
|
"configSchema": {
|
|
57
394
|
"properties": {
|
|
58
|
-
"enabled": {
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
"
|
|
62
|
-
|
|
395
|
+
"enabled": {
|
|
396
|
+
"title": "启用"
|
|
397
|
+
},
|
|
398
|
+
"accounts": {
|
|
399
|
+
"title": "账号"
|
|
400
|
+
},
|
|
401
|
+
"appId": {
|
|
402
|
+
"title": "App ID"
|
|
403
|
+
},
|
|
404
|
+
"appSecret": {
|
|
405
|
+
"title": "App Secret"
|
|
406
|
+
},
|
|
407
|
+
"domain": {
|
|
408
|
+
"title": "域名"
|
|
409
|
+
},
|
|
410
|
+
"connectionMode": {
|
|
411
|
+
"title": "连接模式"
|
|
412
|
+
},
|
|
413
|
+
"dmPolicy": {
|
|
414
|
+
"title": "私聊策略"
|
|
415
|
+
},
|
|
416
|
+
"groupPolicy": {
|
|
417
|
+
"title": "群聊策略"
|
|
418
|
+
},
|
|
419
|
+
"allowFrom": {
|
|
420
|
+
"title": "允许的私聊发送者"
|
|
421
|
+
},
|
|
422
|
+
"groupAllowFrom": {
|
|
423
|
+
"title": "允许的群聊发送者"
|
|
424
|
+
},
|
|
425
|
+
"requireMention": {
|
|
426
|
+
"title": "群聊需要 @"
|
|
427
|
+
},
|
|
428
|
+
"renderMode": {
|
|
429
|
+
"title": "渲染模式"
|
|
430
|
+
},
|
|
431
|
+
"streaming": {
|
|
432
|
+
"title": "流式回复"
|
|
433
|
+
},
|
|
434
|
+
"reactionNotifications": {
|
|
435
|
+
"title": "表情回应通知"
|
|
436
|
+
},
|
|
437
|
+
"inboundDebounceMs": {
|
|
438
|
+
"title": "入站合并延迟(毫秒)"
|
|
439
|
+
},
|
|
440
|
+
"historyLimit": {
|
|
441
|
+
"title": "历史消息数量"
|
|
442
|
+
},
|
|
443
|
+
"textChunkLimit": {
|
|
444
|
+
"title": "文本分块上限"
|
|
445
|
+
},
|
|
446
|
+
"webhookHost": {
|
|
447
|
+
"title": "Webhook 主机"
|
|
448
|
+
},
|
|
449
|
+
"webhookPort": {
|
|
450
|
+
"title": "Webhook 端口"
|
|
451
|
+
},
|
|
452
|
+
"webhookPath": {
|
|
453
|
+
"title": "Webhook 路径"
|
|
454
|
+
},
|
|
455
|
+
"verificationToken": {
|
|
456
|
+
"title": "Verification Token"
|
|
457
|
+
},
|
|
458
|
+
"encryptKey": {
|
|
459
|
+
"title": "Encrypt Key"
|
|
460
|
+
},
|
|
461
|
+
"tools": {
|
|
462
|
+
"title": "工具"
|
|
463
|
+
},
|
|
464
|
+
"actions": {
|
|
465
|
+
"title": "操作"
|
|
466
|
+
},
|
|
467
|
+
"blockStreamingCoalesce": {
|
|
468
|
+
"title": "块流式合并"
|
|
469
|
+
},
|
|
470
|
+
"dynamicAgentCreation": {
|
|
471
|
+
"title": "动态 Agent 创建"
|
|
472
|
+
}
|
|
63
473
|
}
|
|
64
474
|
},
|
|
65
475
|
"actions": {
|
|
66
|
-
"setup.start": {
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
"
|
|
476
|
+
"setup.start": {
|
|
477
|
+
"label": "扫码配置"
|
|
478
|
+
},
|
|
479
|
+
"setup.status": {
|
|
480
|
+
"label": "配置状态"
|
|
481
|
+
},
|
|
482
|
+
"setup.manual": {
|
|
483
|
+
"label": "手动配置"
|
|
484
|
+
},
|
|
485
|
+
"doctor.run": {
|
|
486
|
+
"label": "诊断"
|
|
487
|
+
}
|
|
70
488
|
}
|
|
71
489
|
}
|
|
72
490
|
}
|
|
73
491
|
}
|
|
74
492
|
},
|
|
75
493
|
"activation": {
|
|
76
|
-
"onChannels": [
|
|
77
|
-
|
|
494
|
+
"onChannels": [
|
|
495
|
+
"feishu",
|
|
496
|
+
"lark"
|
|
497
|
+
],
|
|
498
|
+
"onCapabilities": [
|
|
499
|
+
"tool"
|
|
500
|
+
]
|
|
78
501
|
},
|
|
79
502
|
"setup": {
|
|
80
503
|
"providers": [],
|
|
81
504
|
"requiresRuntime": true
|
|
505
|
+
},
|
|
506
|
+
"engines": {
|
|
507
|
+
"xopc": ">=0.0.106 <1.0.0"
|
|
508
|
+
},
|
|
509
|
+
"contracts": {
|
|
510
|
+
"channels": [
|
|
511
|
+
"feishu",
|
|
512
|
+
"lark"
|
|
513
|
+
]
|
|
82
514
|
}
|
|
83
515
|
}
|
|
@@ -4,6 +4,11 @@
|
|
|
4
4
|
"description": "Gemini image generation and editing. Configure API keys and optional base URL under Settings → Images, or here — both edit the same providers.google entry.",
|
|
5
5
|
"version": "1.0.0",
|
|
6
6
|
"kind": "image-generation",
|
|
7
|
-
"main": "src/index.
|
|
8
|
-
"autoEnableWhenConfiguredProviders": [
|
|
7
|
+
"main": "src/index.js",
|
|
8
|
+
"autoEnableWhenConfiguredProviders": [
|
|
9
|
+
"google"
|
|
10
|
+
],
|
|
11
|
+
"engines": {
|
|
12
|
+
"xopc": ">=0.0.106 <1.0.0"
|
|
13
|
+
}
|
|
9
14
|
}
|
|
@@ -4,6 +4,12 @@
|
|
|
4
4
|
"description": "MiniMax image generation. Configure API keys and cluster (CN vs international) under Settings → Images, or here — both edit the same providers.minimax entry.",
|
|
5
5
|
"version": "1.0.0",
|
|
6
6
|
"kind": "image-generation",
|
|
7
|
-
"main": "src/index.
|
|
8
|
-
"autoEnableWhenConfiguredProviders": [
|
|
7
|
+
"main": "src/index.js",
|
|
8
|
+
"autoEnableWhenConfiguredProviders": [
|
|
9
|
+
"minimax",
|
|
10
|
+
"minimax-cn"
|
|
11
|
+
],
|
|
12
|
+
"engines": {
|
|
13
|
+
"xopc": ">=0.0.106 <1.0.0"
|
|
14
|
+
}
|
|
9
15
|
}
|
|
@@ -4,6 +4,11 @@
|
|
|
4
4
|
"description": "DALL·E / GPT image APIs. Configure API keys and optional base URL under Settings → Images, or here — both edit the same providers.openai entry.",
|
|
5
5
|
"version": "1.0.0",
|
|
6
6
|
"kind": "image-generation",
|
|
7
|
-
"main": "src/index.
|
|
8
|
-
"autoEnableWhenConfiguredProviders": [
|
|
7
|
+
"main": "src/index.js",
|
|
8
|
+
"autoEnableWhenConfiguredProviders": [
|
|
9
|
+
"openai"
|
|
10
|
+
],
|
|
11
|
+
"engines": {
|
|
12
|
+
"xopc": ">=0.0.106 <1.0.0"
|
|
13
|
+
}
|
|
9
14
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { init_config_schema, resolveTelegramStreamingMode } from "../config-schema.js";
|
|
1
2
|
import { createLogger } from "../../../../src/utils/logger/index.js";
|
|
2
3
|
import { init_logger } from "../../../../src/utils/logger.js";
|
|
3
|
-
import { init_config_schema, resolveTelegramStreamingMode } from "../config-schema.js";
|
|
4
4
|
import { renderTelegramHtmlText } from "../format.js";
|
|
5
5
|
import { telegramReplyTracker } from "../reply-params.js";
|
|
6
6
|
import { createTelegramDraftStream } from "../draft-stream.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { resolveRoute } from "../../../src/routing/resolve-route.js";
|
|
1
2
|
import { createLogger } from "../../../src/utils/logger/index.js";
|
|
2
3
|
import { init_logger } from "../../../src/utils/logger.js";
|
|
3
|
-
import { resolveRoute } from "../../../src/routing/resolve-route.js";
|
|
4
4
|
import { normalizeTelegramCommandName, parseSlashCommand } from "../../../src/chat-commands/command-parse.js";
|
|
5
5
|
import { checkMentionInTranscription } from "../../../src/voice/stt/mention.js";
|
|
6
6
|
import { tryConsumeTelegramClarifyFreeText } from "../../../src/gateway/clarify-runtime.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { TelegramConfigSchema, init_config_schema } from "./config-schema.js";
|
|
1
2
|
import { createLogger } from "../../../src/utils/logger/index.js";
|
|
2
3
|
import { init_logger } from "../../../src/utils/logger.js";
|
|
3
|
-
import { TelegramConfigSchema, init_config_schema } from "./config-schema.js";
|
|
4
4
|
import { registerChannelExecApprovalHandler } from "../../../src/channels/exec-approval-runtime.js";
|
|
5
5
|
import { isSTTAvailable } from "../../../src/voice/stt/availability.js";
|
|
6
6
|
import { generateSessionKey } from "../../../src/chat-commands/session-key.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { createLogger } from "../../../src/utils/logger/index.js";
|
|
2
|
-
import { init_logger } from "../../../src/utils/logger.js";
|
|
3
1
|
import { buildSessionKey } from "../../../src/routing/session-key.js";
|
|
4
2
|
import { applyIdentityLinks, resolveRoute } from "../../../src/routing/resolve-route.js";
|
|
3
|
+
import { createLogger } from "../../../src/utils/logger/index.js";
|
|
4
|
+
import { init_logger } from "../../../src/utils/logger.js";
|
|
5
5
|
import "../../../src/routing/index.js";
|
|
6
6
|
//#region extensions/telegram/src/routing-integration.ts
|
|
7
7
|
init_logger();
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { resolveStateDir } from "../../../src/config/paths-state.js";
|
|
2
2
|
import { init_paths } from "../../../src/config/paths.js";
|
|
3
|
-
import { mkdirSync, readFileSync, renameSync, writeFileSync } from "node:fs";
|
|
4
3
|
import { join } from "node:path";
|
|
4
|
+
import { mkdirSync, readFileSync, renameSync, writeFileSync } from "node:fs";
|
|
5
5
|
//#region extensions/telegram/src/update-offset-store.ts
|
|
6
6
|
init_paths();
|
|
7
7
|
const STORE_VERSION = 2;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { init_session_key, parseSessionKey } from "../../../src/routing/session-key.js";
|
|
1
2
|
import { createLogger } from "../../../src/utils/logger/index.js";
|
|
2
3
|
import { init_logger } from "../../../src/utils/logger.js";
|
|
3
|
-
import { init_session_key, parseSessionKey } from "../../../src/routing/session-key.js";
|
|
4
4
|
//#region extensions/telegram/src/workflow-progress.ts
|
|
5
5
|
init_session_key();
|
|
6
6
|
init_logger();
|
|
@@ -2,9 +2,9 @@
|
|
|
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.107",
|
|
6
6
|
"kind": "channel",
|
|
7
|
-
"main": "src/index.
|
|
7
|
+
"main": "src/index.js",
|
|
8
8
|
"channels": [
|
|
9
9
|
"telegram"
|
|
10
10
|
],
|
|
@@ -423,5 +423,13 @@
|
|
|
423
423
|
"setup": {
|
|
424
424
|
"providers": [],
|
|
425
425
|
"requiresRuntime": true
|
|
426
|
+
},
|
|
427
|
+
"engines": {
|
|
428
|
+
"xopc": ">=0.0.106 <1.0.0"
|
|
429
|
+
},
|
|
430
|
+
"contracts": {
|
|
431
|
+
"channels": [
|
|
432
|
+
"telegram"
|
|
433
|
+
]
|
|
426
434
|
}
|
|
427
435
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { hasProxyEnv } from "../../../../src/infra/http-proxy-env.js";
|
|
2
2
|
import { logger } from "../util/logger.js";
|
|
3
3
|
import { redactBody, redactUrl } from "../util/redact.js";
|
|
4
|
-
import crypto from "node:crypto";
|
|
5
|
-
import fs from "node:fs";
|
|
6
4
|
import path from "node:path";
|
|
5
|
+
import fs from "node:fs";
|
|
6
|
+
import crypto from "node:crypto";
|
|
7
7
|
import { fileURLToPath } from "node:url";
|
|
8
8
|
import { Agent, EnvHttpProxyAgent, fetch as fetch$1 } from "undici";
|
|
9
9
|
//#region extensions/weixin/src/api/api.ts
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { logger } from "../util/logger.js";
|
|
2
2
|
import { normalizeWeixinAccountId } from "./weixin-account-id.js";
|
|
3
3
|
import { resolveWeixinRootDir } from "../storage/state-dir.js";
|
|
4
|
-
import fs from "node:fs";
|
|
5
4
|
import path from "node:path";
|
|
5
|
+
import fs from "node:fs";
|
|
6
6
|
//#region extensions/weixin/src/auth/accounts.ts
|
|
7
7
|
const DEFAULT_BASE_URL = "https://ilinkai.weixin.qq.com";
|
|
8
8
|
const CDN_BASE_URL = "https://novac2c.cdn.weixin.qq.com/c2c";
|