@ixo/oracle-runtime 0.0.1
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/bootstrap/ambient-factory.d.ts +32 -0
- package/dist/bootstrap/ambient-factory.d.ts.map +1 -0
- package/dist/bootstrap/ambient-factory.js +128 -0
- package/dist/bootstrap/create-oracle-app.d.ts +112 -0
- package/dist/bootstrap/create-oracle-app.d.ts.map +1 -0
- package/dist/bootstrap/create-oracle-app.js +530 -0
- package/dist/bootstrap/graceful-shutdown.d.ts +20 -0
- package/dist/bootstrap/graceful-shutdown.d.ts.map +1 -0
- package/dist/bootstrap/graceful-shutdown.js +61 -0
- package/dist/bootstrap/index.d.ts +13 -0
- package/dist/bootstrap/index.d.ts.map +1 -0
- package/dist/bootstrap/index.js +6 -0
- package/dist/bootstrap/inspect.d.ts +74 -0
- package/dist/bootstrap/inspect.d.ts.map +1 -0
- package/dist/bootstrap/inspect.js +111 -0
- package/dist/bootstrap/plugin-loader.d.ts +50 -0
- package/dist/bootstrap/plugin-loader.d.ts.map +1 -0
- package/dist/bootstrap/plugin-loader.js +119 -0
- package/dist/bootstrap/runtime-app-module.d.ts +38 -0
- package/dist/bootstrap/runtime-app-module.d.ts.map +1 -0
- package/dist/bootstrap/runtime-app-module.js +114 -0
- package/dist/bootstrap/schema-composer.d.ts +46 -0
- package/dist/bootstrap/schema-composer.d.ts.map +1 -0
- package/dist/bootstrap/schema-composer.js +65 -0
- package/dist/config/base-env-config.d.ts +31 -0
- package/dist/config/base-env-config.d.ts.map +1 -0
- package/dist/config/base-env-config.js +70 -0
- package/dist/config/base-env-schema.d.ts +77 -0
- package/dist/config/base-env-schema.d.ts.map +1 -0
- package/dist/config/base-env-schema.js +102 -0
- package/dist/events/scoped-emitter.d.ts +33 -0
- package/dist/events/scoped-emitter.d.ts.map +1 -0
- package/dist/events/scoped-emitter.js +32 -0
- package/dist/graph/index.d.ts +8 -0
- package/dist/graph/index.d.ts.map +1 -0
- package/dist/graph/index.js +6 -0
- package/dist/graph/main-agent-types.d.ts +88 -0
- package/dist/graph/main-agent-types.d.ts.map +1 -0
- package/dist/graph/main-agent-types.js +20 -0
- package/dist/graph/main-agent.d.ts +16 -0
- package/dist/graph/main-agent.d.ts.map +1 -0
- package/dist/graph/main-agent.js +251 -0
- package/dist/graph/middlewares/capability-gate-middleware.d.ts +35 -0
- package/dist/graph/middlewares/capability-gate-middleware.d.ts.map +1 -0
- package/dist/graph/middlewares/capability-gate-middleware.js +54 -0
- package/dist/graph/middlewares/index.d.ts +7 -0
- package/dist/graph/middlewares/index.d.ts.map +1 -0
- package/dist/graph/middlewares/index.js +6 -0
- package/dist/graph/middlewares/page-context-middleware.d.ts +23 -0
- package/dist/graph/middlewares/page-context-middleware.d.ts.map +1 -0
- package/dist/graph/middlewares/page-context-middleware.js +68 -0
- package/dist/graph/middlewares/safety-guardrail-middleware.d.ts +26 -0
- package/dist/graph/middlewares/safety-guardrail-middleware.d.ts.map +1 -0
- package/dist/graph/middlewares/safety-guardrail-middleware.js +88 -0
- package/dist/graph/middlewares/summarization-middleware.d.ts +17 -0
- package/dist/graph/middlewares/summarization-middleware.d.ts.map +1 -0
- package/dist/graph/middlewares/summarization-middleware.js +62 -0
- package/dist/graph/middlewares/tool-repetition-guard-middleware.d.ts +24 -0
- package/dist/graph/middlewares/tool-repetition-guard-middleware.d.ts.map +1 -0
- package/dist/graph/middlewares/tool-repetition-guard-middleware.js +112 -0
- package/dist/graph/middlewares/tool-validation-middleware.d.ts +24 -0
- package/dist/graph/middlewares/tool-validation-middleware.d.ts.map +1 -0
- package/dist/graph/middlewares/tool-validation-middleware.js +61 -0
- package/dist/graph/prompt-composer.d.ts +69 -0
- package/dist/graph/prompt-composer.d.ts.map +1 -0
- package/dist/graph/prompt-composer.js +315 -0
- package/dist/graph/state.d.ts +65 -0
- package/dist/graph/state.d.ts.map +1 -0
- package/dist/graph/state.js +60 -0
- package/dist/graph/sub-agent-fallback.d.ts +56 -0
- package/dist/graph/sub-agent-fallback.d.ts.map +1 -0
- package/dist/graph/sub-agent-fallback.js +79 -0
- package/dist/graph/subagent-as-tool.d.ts +77 -0
- package/dist/graph/subagent-as-tool.d.ts.map +1 -0
- package/dist/graph/subagent-as-tool.js +197 -0
- package/dist/graph/wrap-plugin-tool.d.ts +28 -0
- package/dist/graph/wrap-plugin-tool.d.ts.map +1 -0
- package/dist/graph/wrap-plugin-tool.js +30 -0
- package/dist/index.d.ts +33 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +28 -0
- package/dist/llm/index.d.ts +2 -0
- package/dist/llm/index.d.ts.map +1 -0
- package/dist/llm/index.js +1 -0
- package/dist/llm/llm-provider.d.ts +41 -0
- package/dist/llm/llm-provider.d.ts.map +1 -0
- package/dist/llm/llm-provider.js +130 -0
- package/dist/manifest/index.d.ts +6 -0
- package/dist/manifest/index.d.ts.map +1 -0
- package/dist/manifest/index.js +3 -0
- package/dist/manifest/schema.d.ts +31 -0
- package/dist/manifest/schema.d.ts.map +1 -0
- package/dist/manifest/schema.js +44 -0
- package/dist/manifest/tier1-renderer.d.ts +31 -0
- package/dist/manifest/tier1-renderer.d.ts.map +1 -0
- package/dist/manifest/tier1-renderer.js +68 -0
- package/dist/manifest/validator.d.ts +34 -0
- package/dist/manifest/validator.d.ts.map +1 -0
- package/dist/manifest/validator.js +111 -0
- package/dist/matrix/checkpointer/matrix-upload-utils.d.ts +66 -0
- package/dist/matrix/checkpointer/matrix-upload-utils.d.ts.map +1 -0
- package/dist/matrix/checkpointer/matrix-upload-utils.js +228 -0
- package/dist/matrix/checkpointer/type.d.ts +4 -0
- package/dist/matrix/checkpointer/type.d.ts.map +1 -0
- package/dist/matrix/checkpointer/type.js +1 -0
- package/dist/matrix/checkpointer/user-matrix-sqlite-sync-service.module.d.ts +3 -0
- package/dist/matrix/checkpointer/user-matrix-sqlite-sync-service.module.d.ts.map +1 -0
- package/dist/matrix/checkpointer/user-matrix-sqlite-sync-service.module.js +22 -0
- package/dist/matrix/checkpointer/user-matrix-sqlite-sync-service.service.d.ts +93 -0
- package/dist/matrix/checkpointer/user-matrix-sqlite-sync-service.service.d.ts.map +1 -0
- package/dist/matrix/checkpointer/user-matrix-sqlite-sync-service.service.js +856 -0
- package/dist/matrix/room-membership.d.ts +11 -0
- package/dist/matrix/room-membership.d.ts.map +1 -0
- package/dist/matrix/room-membership.js +33 -0
- package/dist/meta-tools/index.d.ts +28 -0
- package/dist/meta-tools/index.d.ts.map +1 -0
- package/dist/meta-tools/index.js +24 -0
- package/dist/meta-tools/list-capabilities.d.ts +12 -0
- package/dist/meta-tools/list-capabilities.d.ts.map +1 -0
- package/dist/meta-tools/list-capabilities.js +55 -0
- package/dist/meta-tools/load-capability.d.ts +24 -0
- package/dist/meta-tools/load-capability.d.ts.map +1 -0
- package/dist/meta-tools/load-capability.js +82 -0
- package/dist/modules/auth/auth-header.middleware.d.ts +37 -0
- package/dist/modules/auth/auth-header.middleware.d.ts.map +1 -0
- package/dist/modules/auth/auth-header.middleware.js +115 -0
- package/dist/modules/auth/auth.module.d.ts +9 -0
- package/dist/modules/auth/auth.module.d.ts.map +1 -0
- package/dist/modules/auth/auth.module.js +27 -0
- package/dist/modules/auth/index.d.ts +3 -0
- package/dist/modules/auth/index.d.ts.map +1 -0
- package/dist/modules/auth/index.js +2 -0
- package/dist/modules/auth/validate-ucan-delegation.d.ts +31 -0
- package/dist/modules/auth/validate-ucan-delegation.d.ts.map +1 -0
- package/dist/modules/auth/validate-ucan-delegation.js +36 -0
- package/dist/modules/blob-store/blob-store.module.d.ts +10 -0
- package/dist/modules/blob-store/blob-store.module.d.ts.map +1 -0
- package/dist/modules/blob-store/blob-store.module.js +25 -0
- package/dist/modules/blob-store/blob-store.service.d.ts +66 -0
- package/dist/modules/blob-store/blob-store.service.d.ts.map +1 -0
- package/dist/modules/blob-store/blob-store.service.js +108 -0
- package/dist/modules/blob-store/index.d.ts +3 -0
- package/dist/modules/blob-store/index.d.ts.map +1 -0
- package/dist/modules/blob-store/index.js +2 -0
- package/dist/modules/health/health.controller.d.ts +18 -0
- package/dist/modules/health/health.controller.d.ts.map +1 -0
- package/dist/modules/health/health.controller.js +48 -0
- package/dist/modules/health/health.module.d.ts +8 -0
- package/dist/modules/health/health.module.d.ts.map +1 -0
- package/dist/modules/health/health.module.js +21 -0
- package/dist/modules/index.d.ts +8 -0
- package/dist/modules/index.d.ts.map +1 -0
- package/dist/modules/index.js +6 -0
- package/dist/modules/messages/__test-fixtures__/deps.d.ts +41 -0
- package/dist/modules/messages/__test-fixtures__/deps.d.ts.map +1 -0
- package/dist/modules/messages/__test-fixtures__/deps.js +73 -0
- package/dist/modules/messages/__test-fixtures__/fake-agent.d.ts +27 -0
- package/dist/modules/messages/__test-fixtures__/fake-agent.d.ts.map +1 -0
- package/dist/modules/messages/__test-fixtures__/fake-agent.js +41 -0
- package/dist/modules/messages/__test-fixtures__/fake-response.d.ts +29 -0
- package/dist/modules/messages/__test-fixtures__/fake-response.d.ts.map +1 -0
- package/dist/modules/messages/__test-fixtures__/fake-response.js +55 -0
- package/dist/modules/messages/agent-builder.d.ts +64 -0
- package/dist/modules/messages/agent-builder.d.ts.map +1 -0
- package/dist/modules/messages/agent-builder.js +219 -0
- package/dist/modules/messages/batch-invoker.d.ts +36 -0
- package/dist/modules/messages/batch-invoker.d.ts.map +1 -0
- package/dist/modules/messages/batch-invoker.js +58 -0
- package/dist/modules/messages/dto/list-messages.dto.d.ts +4 -0
- package/dist/modules/messages/dto/list-messages.dto.d.ts.map +1 -0
- package/dist/modules/messages/dto/list-messages.dto.js +17 -0
- package/dist/modules/messages/dto/send-message.dto.d.ts +73 -0
- package/dist/modules/messages/dto/send-message.dto.d.ts.map +1 -0
- package/dist/modules/messages/dto/send-message.dto.js +318 -0
- package/dist/modules/messages/file-processing-credit-sink.port.d.ts +20 -0
- package/dist/modules/messages/file-processing-credit-sink.port.d.ts.map +1 -0
- package/dist/modules/messages/file-processing-credit-sink.port.js +1 -0
- package/dist/modules/messages/file-processing.service.d.ts +195 -0
- package/dist/modules/messages/file-processing.service.d.ts.map +1 -0
- package/dist/modules/messages/file-processing.service.js +1278 -0
- package/dist/modules/messages/homeserver-cache.d.ts +11 -0
- package/dist/modules/messages/homeserver-cache.d.ts.map +1 -0
- package/dist/modules/messages/homeserver-cache.js +31 -0
- package/dist/modules/messages/matrix-listener-bridge.d.ts +63 -0
- package/dist/modules/messages/matrix-listener-bridge.d.ts.map +1 -0
- package/dist/modules/messages/matrix-listener-bridge.js +280 -0
- package/dist/modules/messages/messages.controller.d.ts +13 -0
- package/dist/modules/messages/messages.controller.d.ts.map +1 -0
- package/dist/modules/messages/messages.controller.js +95 -0
- package/dist/modules/messages/messages.module.d.ts +3 -0
- package/dist/modules/messages/messages.module.d.ts.map +1 -0
- package/dist/modules/messages/messages.module.js +75 -0
- package/dist/modules/messages/messages.service.d.ts +112 -0
- package/dist/modules/messages/messages.service.d.ts.map +1 -0
- package/dist/modules/messages/messages.service.js +279 -0
- package/dist/modules/messages/oracle-runtime-bundle.d.ts +38 -0
- package/dist/modules/messages/oracle-runtime-bundle.d.ts.map +1 -0
- package/dist/modules/messages/oracle-runtime-bundle.js +40 -0
- package/dist/modules/messages/post-message-syncer.d.ts +30 -0
- package/dist/modules/messages/post-message-syncer.d.ts.map +1 -0
- package/dist/modules/messages/post-message-syncer.js +73 -0
- package/dist/modules/messages/request-preparer.d.ts +53 -0
- package/dist/modules/messages/request-preparer.d.ts.map +1 -0
- package/dist/modules/messages/request-preparer.js +139 -0
- package/dist/modules/messages/sse-stream-runner.d.ts +73 -0
- package/dist/modules/messages/sse-stream-runner.d.ts.map +1 -0
- package/dist/modules/messages/sse-stream-runner.js +352 -0
- package/dist/modules/messages/sse.utils.d.ts +29 -0
- package/dist/modules/messages/sse.utils.d.ts.map +1 -0
- package/dist/modules/messages/sse.utils.js +77 -0
- package/dist/modules/messages/user-context-fetcher.d.ts +41 -0
- package/dist/modules/messages/user-context-fetcher.d.ts.map +1 -0
- package/dist/modules/messages/user-context-fetcher.js +117 -0
- package/dist/modules/secrets/index.d.ts +2 -0
- package/dist/modules/secrets/index.d.ts.map +1 -0
- package/dist/modules/secrets/index.js +1 -0
- package/dist/modules/secrets/secrets.service.d.ts +29 -0
- package/dist/modules/secrets/secrets.service.d.ts.map +1 -0
- package/dist/modules/secrets/secrets.service.js +107 -0
- package/dist/modules/sessions/dto/create-session.dto.d.ts +6 -0
- package/dist/modules/sessions/dto/create-session.dto.d.ts.map +1 -0
- package/dist/modules/sessions/dto/create-session.dto.js +5 -0
- package/dist/modules/sessions/dto/delete-session.dto.d.ts +6 -0
- package/dist/modules/sessions/dto/delete-session.dto.d.ts.map +1 -0
- package/dist/modules/sessions/dto/delete-session.dto.js +5 -0
- package/dist/modules/sessions/dto/list-sessions.dto.d.ts +7 -0
- package/dist/modules/sessions/dto/list-sessions.dto.d.ts.map +1 -0
- package/dist/modules/sessions/dto/list-sessions.dto.js +6 -0
- package/dist/modules/sessions/session-history-processor.service.d.ts +48 -0
- package/dist/modules/sessions/session-history-processor.service.d.ts.map +1 -0
- package/dist/modules/sessions/session-history-processor.service.js +254 -0
- package/dist/modules/sessions/sessions.controller.d.ts +13 -0
- package/dist/modules/sessions/sessions.controller.d.ts.map +1 -0
- package/dist/modules/sessions/sessions.controller.js +113 -0
- package/dist/modules/sessions/sessions.module.d.ts +3 -0
- package/dist/modules/sessions/sessions.module.d.ts.map +1 -0
- package/dist/modules/sessions/sessions.module.js +49 -0
- package/dist/modules/sessions/sessions.service.d.ts +23 -0
- package/dist/modules/sessions/sessions.service.d.ts.map +1 -0
- package/dist/modules/sessions/sessions.service.js +168 -0
- package/dist/modules/subscription/subscription.middleware.d.ts +37 -0
- package/dist/modules/subscription/subscription.middleware.d.ts.map +1 -0
- package/dist/modules/subscription/subscription.middleware.js +141 -0
- package/dist/modules/subscription/subscription.module.d.ts +12 -0
- package/dist/modules/subscription/subscription.module.d.ts.map +1 -0
- package/dist/modules/subscription/subscription.module.js +26 -0
- package/dist/modules/throttler/throttler.module.d.ts +11 -0
- package/dist/modules/throttler/throttler.module.d.ts.map +1 -0
- package/dist/modules/throttler/throttler.module.js +32 -0
- package/dist/modules/ucan/index.d.ts +7 -0
- package/dist/modules/ucan/index.d.ts.map +1 -0
- package/dist/modules/ucan/index.js +6 -0
- package/dist/modules/ucan/ucan.config.d.ts +87 -0
- package/dist/modules/ucan/ucan.config.d.ts.map +1 -0
- package/dist/modules/ucan/ucan.config.js +114 -0
- package/dist/modules/ucan/ucan.module.d.ts +29 -0
- package/dist/modules/ucan/ucan.module.d.ts.map +1 -0
- package/dist/modules/ucan/ucan.module.js +46 -0
- package/dist/modules/ucan/ucan.service.d.ts +129 -0
- package/dist/modules/ucan/ucan.service.d.ts.map +1 -0
- package/dist/modules/ucan/ucan.service.js +582 -0
- package/dist/modules/ws/emitter.d.ts +12 -0
- package/dist/modules/ws/emitter.d.ts.map +1 -0
- package/dist/modules/ws/emitter.js +12 -0
- package/dist/modules/ws/ws.gateway.d.ts +34 -0
- package/dist/modules/ws/ws.gateway.d.ts.map +1 -0
- package/dist/modules/ws/ws.gateway.js +241 -0
- package/dist/modules/ws/ws.module.d.ts +3 -0
- package/dist/modules/ws/ws.module.d.ts.map +1 -0
- package/dist/modules/ws/ws.module.js +21 -0
- package/dist/modules/ws/ws.service.d.ts +25 -0
- package/dist/modules/ws/ws.service.d.ts.map +1 -0
- package/dist/modules/ws/ws.service.js +113 -0
- package/dist/plugin-api/define-plugin.d.ts +19 -0
- package/dist/plugin-api/define-plugin.d.ts.map +1 -0
- package/dist/plugin-api/define-plugin.js +25 -0
- package/dist/plugin-api/oracle-plugin.d.ts +92 -0
- package/dist/plugin-api/oracle-plugin.d.ts.map +1 -0
- package/dist/plugin-api/oracle-plugin.js +15 -0
- package/dist/plugin-api/tool-helper.d.ts +33 -0
- package/dist/plugin-api/tool-helper.d.ts.map +1 -0
- package/dist/plugin-api/tool-helper.js +40 -0
- package/dist/plugin-api/types.d.ts +378 -0
- package/dist/plugin-api/types.d.ts.map +1 -0
- package/dist/plugin-api/types.js +1 -0
- package/dist/plugins/agui/agui-agent.d.ts +10 -0
- package/dist/plugins/agui/agui-agent.d.ts.map +1 -0
- package/dist/plugins/agui/agui-agent.js +110 -0
- package/dist/plugins/agui/agui.plugin.d.ts +16 -0
- package/dist/plugins/agui/agui.plugin.d.ts.map +1 -0
- package/dist/plugins/agui/agui.plugin.js +117 -0
- package/dist/plugins/agui/index.d.ts +3 -0
- package/dist/plugins/agui/index.d.ts.map +1 -0
- package/dist/plugins/agui/index.js +2 -0
- package/dist/plugins/composio/composio-tools.d.ts +59 -0
- package/dist/plugins/composio/composio-tools.d.ts.map +1 -0
- package/dist/plugins/composio/composio-tools.js +88 -0
- package/dist/plugins/composio/composio-ucan.d.ts +14 -0
- package/dist/plugins/composio/composio-ucan.d.ts.map +1 -0
- package/dist/plugins/composio/composio-ucan.js +32 -0
- package/dist/plugins/composio/composio.plugin.d.ts +45 -0
- package/dist/plugins/composio/composio.plugin.d.ts.map +1 -0
- package/dist/plugins/composio/composio.plugin.js +116 -0
- package/dist/plugins/composio/index.d.ts +4 -0
- package/dist/plugins/composio/index.d.ts.map +1 -0
- package/dist/plugins/composio/index.js +3 -0
- package/dist/plugins/credits/claim-processing.module.d.ts +28 -0
- package/dist/plugins/credits/claim-processing.module.d.ts.map +1 -0
- package/dist/plugins/credits/claim-processing.module.js +37 -0
- package/dist/plugins/credits/claim-processing.service.d.ts +92 -0
- package/dist/plugins/credits/claim-processing.service.d.ts.map +1 -0
- package/dist/plugins/credits/claim-processing.service.js +406 -0
- package/dist/plugins/credits/credits-middleware.d.ts +23 -0
- package/dist/plugins/credits/credits-middleware.d.ts.map +1 -0
- package/dist/plugins/credits/credits-middleware.js +154 -0
- package/dist/plugins/credits/credits.plugin.d.ts +55 -0
- package/dist/plugins/credits/credits.plugin.d.ts.map +1 -0
- package/dist/plugins/credits/credits.plugin.js +95 -0
- package/dist/plugins/credits/file-processing-sink.module.d.ts +18 -0
- package/dist/plugins/credits/file-processing-sink.module.d.ts.map +1 -0
- package/dist/plugins/credits/file-processing-sink.module.js +56 -0
- package/dist/plugins/credits/index.d.ts +8 -0
- package/dist/plugins/credits/index.d.ts.map +1 -0
- package/dist/plugins/credits/index.js +7 -0
- package/dist/plugins/credits/subscription-sink.module.d.ts +23 -0
- package/dist/plugins/credits/subscription-sink.module.d.ts.map +1 -0
- package/dist/plugins/credits/subscription-sink.module.js +54 -0
- package/dist/plugins/credits/token-limiter.d.ts +139 -0
- package/dist/plugins/credits/token-limiter.d.ts.map +1 -0
- package/dist/plugins/credits/token-limiter.js +302 -0
- package/dist/plugins/domain-indexer/domain-indexer-agent.d.ts +7 -0
- package/dist/plugins/domain-indexer/domain-indexer-agent.d.ts.map +1 -0
- package/dist/plugins/domain-indexer/domain-indexer-agent.js +48 -0
- package/dist/plugins/domain-indexer/domain-indexer-tools.d.ts +8 -0
- package/dist/plugins/domain-indexer/domain-indexer-tools.d.ts.map +1 -0
- package/dist/plugins/domain-indexer/domain-indexer-tools.js +194 -0
- package/dist/plugins/domain-indexer/domain-indexer.plugin.d.ts +20 -0
- package/dist/plugins/domain-indexer/domain-indexer.plugin.d.ts.map +1 -0
- package/dist/plugins/domain-indexer/domain-indexer.plugin.js +78 -0
- package/dist/plugins/domain-indexer/index.d.ts +2 -0
- package/dist/plugins/domain-indexer/index.d.ts.map +1 -0
- package/dist/plugins/domain-indexer/index.js +1 -0
- package/dist/plugins/editor/apply-sandbox-output.d.ts +33 -0
- package/dist/plugins/editor/apply-sandbox-output.d.ts.map +1 -0
- package/dist/plugins/editor/apply-sandbox-output.js +302 -0
- package/dist/plugins/editor/block-actions.d.ts +84 -0
- package/dist/plugins/editor/block-actions.d.ts.map +1 -0
- package/dist/plugins/editor/block-actions.js +471 -0
- package/dist/plugins/editor/blocknote-helper.d.ts +147 -0
- package/dist/plugins/editor/blocknote-helper.d.ts.map +1 -0
- package/dist/plugins/editor/blocknote-helper.js +542 -0
- package/dist/plugins/editor/blocknote-tools.d.ts +364 -0
- package/dist/plugins/editor/blocknote-tools.d.ts.map +1 -0
- package/dist/plugins/editor/blocknote-tools.js +2123 -0
- package/dist/plugins/editor/editor-agent.d.ts +47 -0
- package/dist/plugins/editor/editor-agent.d.ts.map +1 -0
- package/dist/plugins/editor/editor-agent.js +158 -0
- package/dist/plugins/editor/editor-mx.d.ts +56 -0
- package/dist/plugins/editor/editor-mx.d.ts.map +1 -0
- package/dist/plugins/editor/editor-mx.js +100 -0
- package/dist/plugins/editor/editor.plugin.d.ts +32 -0
- package/dist/plugins/editor/editor.plugin.d.ts.map +1 -0
- package/dist/plugins/editor/editor.plugin.js +189 -0
- package/dist/plugins/editor/index.d.ts +6 -0
- package/dist/plugins/editor/index.d.ts.map +1 -0
- package/dist/plugins/editor/index.js +5 -0
- package/dist/plugins/editor/mint-invocation-tool.d.ts +72 -0
- package/dist/plugins/editor/mint-invocation-tool.d.ts.map +1 -0
- package/dist/plugins/editor/mint-invocation-tool.js +173 -0
- package/dist/plugins/editor/page-functions.d.ts +100 -0
- package/dist/plugins/editor/page-functions.d.ts.map +1 -0
- package/dist/plugins/editor/page-functions.js +317 -0
- package/dist/plugins/editor/page-tools.d.ts +75 -0
- package/dist/plugins/editor/page-tools.d.ts.map +1 -0
- package/dist/plugins/editor/page-tools.js +238 -0
- package/dist/plugins/editor/prompts.d.ts +22 -0
- package/dist/plugins/editor/prompts.d.ts.map +1 -0
- package/dist/plugins/editor/prompts.js +451 -0
- package/dist/plugins/editor/provider.d.ts +101 -0
- package/dist/plugins/editor/provider.d.ts.map +1 -0
- package/dist/plugins/editor/provider.js +249 -0
- package/dist/plugins/editor/standalone-editor-tool.d.ts +17 -0
- package/dist/plugins/editor/standalone-editor-tool.d.ts.map +1 -0
- package/dist/plugins/editor/standalone-editor-tool.js +136 -0
- package/dist/plugins/editor/survey-helpers.d.ts +112 -0
- package/dist/plugins/editor/survey-helpers.d.ts.map +1 -0
- package/dist/plugins/editor/survey-helpers.js +358 -0
- package/dist/plugins/firecrawl/firecrawl-agent.d.ts +7 -0
- package/dist/plugins/firecrawl/firecrawl-agent.d.ts.map +1 -0
- package/dist/plugins/firecrawl/firecrawl-agent.js +84 -0
- package/dist/plugins/firecrawl/firecrawl-tools.d.ts +37 -0
- package/dist/plugins/firecrawl/firecrawl-tools.d.ts.map +1 -0
- package/dist/plugins/firecrawl/firecrawl-tools.js +129 -0
- package/dist/plugins/firecrawl/firecrawl.plugin.d.ts +32 -0
- package/dist/plugins/firecrawl/firecrawl.plugin.d.ts.map +1 -0
- package/dist/plugins/firecrawl/firecrawl.plugin.js +69 -0
- package/dist/plugins/firecrawl/index.d.ts +3 -0
- package/dist/plugins/firecrawl/index.d.ts.map +1 -0
- package/dist/plugins/firecrawl/index.js +2 -0
- package/dist/plugins/index.d.ts +47 -0
- package/dist/plugins/index.d.ts.map +1 -0
- package/dist/plugins/index.js +69 -0
- package/dist/plugins/matrix-group-chats/channel-memory.module.d.ts +7 -0
- package/dist/plugins/matrix-group-chats/channel-memory.module.d.ts.map +1 -0
- package/dist/plugins/matrix-group-chats/channel-memory.module.js +22 -0
- package/dist/plugins/matrix-group-chats/channel-memory.repo.d.ts +62 -0
- package/dist/plugins/matrix-group-chats/channel-memory.repo.d.ts.map +1 -0
- package/dist/plugins/matrix-group-chats/channel-memory.repo.js +311 -0
- package/dist/plugins/matrix-group-chats/channel-memory.service.d.ts +89 -0
- package/dist/plugins/matrix-group-chats/channel-memory.service.d.ts.map +1 -0
- package/dist/plugins/matrix-group-chats/channel-memory.service.js +565 -0
- package/dist/plugins/matrix-group-chats/channel-memory.summarizer.d.ts +18 -0
- package/dist/plugins/matrix-group-chats/channel-memory.summarizer.d.ts.map +1 -0
- package/dist/plugins/matrix-group-chats/channel-memory.summarizer.js +128 -0
- package/dist/plugins/matrix-group-chats/channel-memory.types.d.ts +50 -0
- package/dist/plugins/matrix-group-chats/channel-memory.types.d.ts.map +1 -0
- package/dist/plugins/matrix-group-chats/channel-memory.types.js +2 -0
- package/dist/plugins/matrix-group-chats/guard.d.ts +83 -0
- package/dist/plugins/matrix-group-chats/guard.d.ts.map +1 -0
- package/dist/plugins/matrix-group-chats/guard.js +138 -0
- package/dist/plugins/matrix-group-chats/index.d.ts +59 -0
- package/dist/plugins/matrix-group-chats/index.d.ts.map +1 -0
- package/dist/plugins/matrix-group-chats/index.js +140 -0
- package/dist/plugins/matrix-group-chats/middleware.d.ts +31 -0
- package/dist/plugins/matrix-group-chats/middleware.d.ts.map +1 -0
- package/dist/plugins/matrix-group-chats/middleware.js +186 -0
- package/dist/plugins/matrix-group-chats/power-levels.d.ts +15 -0
- package/dist/plugins/matrix-group-chats/power-levels.d.ts.map +1 -0
- package/dist/plugins/matrix-group-chats/power-levels.js +36 -0
- package/dist/plugins/matrix-group-chats/room-info.d.ts +23 -0
- package/dist/plugins/matrix-group-chats/room-info.d.ts.map +1 -0
- package/dist/plugins/matrix-group-chats/room-info.js +34 -0
- package/dist/plugins/matrix-group-chats/tools.d.ts +8 -0
- package/dist/plugins/matrix-group-chats/tools.d.ts.map +1 -0
- package/dist/plugins/matrix-group-chats/tools.js +154 -0
- package/dist/plugins/memory/index.d.ts +5 -0
- package/dist/plugins/memory/index.d.ts.map +1 -0
- package/dist/plugins/memory/index.js +3 -0
- package/dist/plugins/memory/memory-tools.d.ts +52 -0
- package/dist/plugins/memory/memory-tools.d.ts.map +1 -0
- package/dist/plugins/memory/memory-tools.js +88 -0
- package/dist/plugins/memory/memory-ucan.d.ts +17 -0
- package/dist/plugins/memory/memory-ucan.d.ts.map +1 -0
- package/dist/plugins/memory/memory-ucan.js +43 -0
- package/dist/plugins/memory/memory.plugin.d.ts +51 -0
- package/dist/plugins/memory/memory.plugin.d.ts.map +1 -0
- package/dist/plugins/memory/memory.plugin.js +76 -0
- package/dist/plugins/memory/types.d.ts +75 -0
- package/dist/plugins/memory/types.d.ts.map +1 -0
- package/dist/plugins/memory/types.js +2 -0
- package/dist/plugins/portal/index.d.ts +3 -0
- package/dist/plugins/portal/index.d.ts.map +1 -0
- package/dist/plugins/portal/index.js +2 -0
- package/dist/plugins/portal/portal-agent.d.ts +9 -0
- package/dist/plugins/portal/portal-agent.d.ts.map +1 -0
- package/dist/plugins/portal/portal-agent.js +70 -0
- package/dist/plugins/portal/portal.plugin.d.ts +16 -0
- package/dist/plugins/portal/portal.plugin.d.ts.map +1 -0
- package/dist/plugins/portal/portal.plugin.js +115 -0
- package/dist/plugins/sandbox/index.d.ts +3 -0
- package/dist/plugins/sandbox/index.d.ts.map +1 -0
- package/dist/plugins/sandbox/index.js +2 -0
- package/dist/plugins/sandbox/sandbox-mcp.d.ts +46 -0
- package/dist/plugins/sandbox/sandbox-mcp.d.ts.map +1 -0
- package/dist/plugins/sandbox/sandbox-mcp.js +80 -0
- package/dist/plugins/sandbox/sandbox-write-blob.d.ts +22 -0
- package/dist/plugins/sandbox/sandbox-write-blob.d.ts.map +1 -0
- package/dist/plugins/sandbox/sandbox-write-blob.js +80 -0
- package/dist/plugins/sandbox/sandbox.plugin.d.ts +80 -0
- package/dist/plugins/sandbox/sandbox.plugin.d.ts.map +1 -0
- package/dist/plugins/sandbox/sandbox.plugin.js +204 -0
- package/dist/plugins/skills/index.d.ts +3 -0
- package/dist/plugins/skills/index.d.ts.map +1 -0
- package/dist/plugins/skills/index.js +2 -0
- package/dist/plugins/skills/skills-tools.d.ts +20 -0
- package/dist/plugins/skills/skills-tools.d.ts.map +1 -0
- package/dist/plugins/skills/skills-tools.js +204 -0
- package/dist/plugins/skills/skills-ucan.d.ts +24 -0
- package/dist/plugins/skills/skills-ucan.d.ts.map +1 -0
- package/dist/plugins/skills/skills-ucan.js +28 -0
- package/dist/plugins/skills/skills.plugin.d.ts +37 -0
- package/dist/plugins/skills/skills.plugin.d.ts.map +1 -0
- package/dist/plugins/skills/skills.plugin.js +82 -0
- package/dist/plugins/slack/index.d.ts +4 -0
- package/dist/plugins/slack/index.d.ts.map +1 -0
- package/dist/plugins/slack/index.js +3 -0
- package/dist/plugins/slack/slack.module.d.ts +9 -0
- package/dist/plugins/slack/slack.module.d.ts.map +1 -0
- package/dist/plugins/slack/slack.module.js +27 -0
- package/dist/plugins/slack/slack.plugin.d.ts +30 -0
- package/dist/plugins/slack/slack.plugin.d.ts.map +1 -0
- package/dist/plugins/slack/slack.plugin.js +40 -0
- package/dist/plugins/slack/slack.service.d.ts +32 -0
- package/dist/plugins/slack/slack.service.d.ts.map +1 -0
- package/dist/plugins/slack/slack.service.js +157 -0
- package/dist/plugins/user-preferences/index.d.ts +4 -0
- package/dist/plugins/user-preferences/index.d.ts.map +1 -0
- package/dist/plugins/user-preferences/index.js +3 -0
- package/dist/plugins/user-preferences/service/user-preferences.service.d.ts +61 -0
- package/dist/plugins/user-preferences/service/user-preferences.service.d.ts.map +1 -0
- package/dist/plugins/user-preferences/service/user-preferences.service.js +105 -0
- package/dist/plugins/user-preferences/user-preferences-http.module.d.ts +10 -0
- package/dist/plugins/user-preferences/user-preferences-http.module.d.ts.map +1 -0
- package/dist/plugins/user-preferences/user-preferences-http.module.js +23 -0
- package/dist/plugins/user-preferences/user-preferences-tool.d.ts +22 -0
- package/dist/plugins/user-preferences/user-preferences-tool.d.ts.map +1 -0
- package/dist/plugins/user-preferences/user-preferences-tool.js +103 -0
- package/dist/plugins/user-preferences/user-preferences.controller.d.ts +18 -0
- package/dist/plugins/user-preferences/user-preferences.controller.d.ts.map +1 -0
- package/dist/plugins/user-preferences/user-preferences.controller.js +72 -0
- package/dist/plugins/user-preferences/user-preferences.plugin.d.ts +27 -0
- package/dist/plugins/user-preferences/user-preferences.plugin.d.ts.map +1 -0
- package/dist/plugins/user-preferences/user-preferences.plugin.js +66 -0
- package/dist/registries/config-schema-registry.d.ts +24 -0
- package/dist/registries/config-schema-registry.d.ts.map +1 -0
- package/dist/registries/config-schema-registry.js +27 -0
- package/dist/registries/index.d.ts +13 -0
- package/dist/registries/index.d.ts.map +1 -0
- package/dist/registries/index.js +6 -0
- package/dist/registries/manifest-registry.d.ts +49 -0
- package/dist/registries/manifest-registry.d.ts.map +1 -0
- package/dist/registries/manifest-registry.js +53 -0
- package/dist/registries/middleware-registry.d.ts +41 -0
- package/dist/registries/middleware-registry.d.ts.map +1 -0
- package/dist/registries/middleware-registry.js +52 -0
- package/dist/registries/shared-state-registry.d.ts +41 -0
- package/dist/registries/shared-state-registry.d.ts.map +1 -0
- package/dist/registries/shared-state-registry.js +65 -0
- package/dist/registries/subagent-registry.d.ts +55 -0
- package/dist/registries/subagent-registry.d.ts.map +1 -0
- package/dist/registries/subagent-registry.js +106 -0
- package/dist/registries/test-fixtures.d.ts +47 -0
- package/dist/registries/test-fixtures.d.ts.map +1 -0
- package/dist/registries/test-fixtures.js +168 -0
- package/dist/registries/tool-registry.d.ts +74 -0
- package/dist/registries/tool-registry.d.ts.map +1 -0
- package/dist/registries/tool-registry.js +130 -0
- package/dist/runtime-context/ambient.d.ts +118 -0
- package/dist/runtime-context/ambient.d.ts.map +1 -0
- package/dist/runtime-context/ambient.js +1 -0
- package/dist/runtime-context/build-plugin.d.ts +20 -0
- package/dist/runtime-context/build-plugin.d.ts.map +1 -0
- package/dist/runtime-context/build-plugin.js +16 -0
- package/dist/runtime-context/build-runtime.d.ts +60 -0
- package/dist/runtime-context/build-runtime.d.ts.map +1 -0
- package/dist/runtime-context/build-runtime.js +81 -0
- package/dist/testing/create-test-runtime.d.ts +95 -0
- package/dist/testing/create-test-runtime.d.ts.map +1 -0
- package/dist/testing/create-test-runtime.js +302 -0
- package/dist/testing/index.d.ts +5 -0
- package/dist/testing/index.d.ts.map +1 -0
- package/dist/testing/index.js +5 -0
- package/dist/testing/integration/chat-client.d.ts +143 -0
- package/dist/testing/integration/chat-client.d.ts.map +1 -0
- package/dist/testing/integration/chat-client.js +238 -0
- package/dist/testing/integration/harness.d.ts +189 -0
- package/dist/testing/integration/harness.d.ts.map +1 -0
- package/dist/testing/integration/harness.js +461 -0
- package/dist/testing/integration/index.d.ts +14 -0
- package/dist/testing/integration/index.d.ts.map +1 -0
- package/dist/testing/integration/index.js +18 -0
- package/dist/testing/integration/setup.d.ts +2 -0
- package/dist/testing/integration/setup.d.ts.map +1 -0
- package/dist/testing/integration/setup.js +41 -0
- package/dist/testing/integration/sse-parser.d.ts +99 -0
- package/dist/testing/integration/sse-parser.d.ts.map +1 -0
- package/dist/testing/integration/sse-parser.js +125 -0
- package/dist/testing/integration/ucan.d.ts +74 -0
- package/dist/testing/integration/ucan.d.ts.map +1 -0
- package/dist/testing/integration/ucan.js +95 -0
- package/dist/testing/integration/wait-for-matrix-loaded.d.ts +19 -0
- package/dist/testing/integration/wait-for-matrix-loaded.d.ts.map +1 -0
- package/dist/testing/integration/wait-for-matrix-loaded.js +31 -0
- package/dist/testing/mocks.d.ts +64 -0
- package/dist/testing/mocks.d.ts.map +1 -0
- package/dist/testing/mocks.js +141 -0
- package/dist/testing/nest-doubles.d.ts +10 -0
- package/dist/testing/nest-doubles.d.ts.map +1 -0
- package/dist/testing/nest-doubles.js +19 -0
- package/dist/utils/emoji.d.ts +3 -0
- package/dist/utils/emoji.d.ts.map +1 -0
- package/dist/utils/emoji.js +36 -0
- package/package.json +102 -0
|
@@ -0,0 +1,318 @@
|
|
|
1
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
+
};
|
|
7
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
8
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
|
+
};
|
|
10
|
+
import { ApiProperty } from '@nestjs/swagger';
|
|
11
|
+
import { Type } from 'class-transformer';
|
|
12
|
+
import { ArrayMaxSize, IsArray, IsBoolean, IsNotEmpty, IsNumber, IsObject, IsOptional, IsString, Matches, MaxLength, ValidateIf, ValidateNested, } from 'class-validator';
|
|
13
|
+
export class BrowserToolCallDto {
|
|
14
|
+
name;
|
|
15
|
+
schema;
|
|
16
|
+
description;
|
|
17
|
+
}
|
|
18
|
+
__decorate([
|
|
19
|
+
ApiProperty({
|
|
20
|
+
description: 'The tool name',
|
|
21
|
+
required: true,
|
|
22
|
+
type: String,
|
|
23
|
+
}),
|
|
24
|
+
IsNotEmpty(),
|
|
25
|
+
IsString(),
|
|
26
|
+
__metadata("design:type", String)
|
|
27
|
+
], BrowserToolCallDto.prototype, "name", void 0);
|
|
28
|
+
__decorate([
|
|
29
|
+
ApiProperty({
|
|
30
|
+
description: 'The tool schema to be passed to the LLM',
|
|
31
|
+
required: true,
|
|
32
|
+
type: Object,
|
|
33
|
+
}),
|
|
34
|
+
IsNotEmpty(),
|
|
35
|
+
IsObject(),
|
|
36
|
+
__metadata("design:type", Object)
|
|
37
|
+
], BrowserToolCallDto.prototype, "schema", void 0);
|
|
38
|
+
__decorate([
|
|
39
|
+
ApiProperty({
|
|
40
|
+
description: 'The tool description to be passed to the LLM',
|
|
41
|
+
required: true,
|
|
42
|
+
type: String,
|
|
43
|
+
}),
|
|
44
|
+
IsNotEmpty(),
|
|
45
|
+
IsString(),
|
|
46
|
+
__metadata("design:type", String)
|
|
47
|
+
], BrowserToolCallDto.prototype, "description", void 0);
|
|
48
|
+
export class AgActionDto {
|
|
49
|
+
name;
|
|
50
|
+
description;
|
|
51
|
+
schema;
|
|
52
|
+
hasRender;
|
|
53
|
+
}
|
|
54
|
+
__decorate([
|
|
55
|
+
ApiProperty({
|
|
56
|
+
description: 'The action name',
|
|
57
|
+
required: true,
|
|
58
|
+
type: String,
|
|
59
|
+
}),
|
|
60
|
+
IsNotEmpty(),
|
|
61
|
+
IsString(),
|
|
62
|
+
__metadata("design:type", String)
|
|
63
|
+
], AgActionDto.prototype, "name", void 0);
|
|
64
|
+
__decorate([
|
|
65
|
+
ApiProperty({
|
|
66
|
+
description: 'The action description to be passed to the LLM',
|
|
67
|
+
required: true,
|
|
68
|
+
type: String,
|
|
69
|
+
}),
|
|
70
|
+
IsNotEmpty(),
|
|
71
|
+
IsString(),
|
|
72
|
+
__metadata("design:type", String)
|
|
73
|
+
], AgActionDto.prototype, "description", void 0);
|
|
74
|
+
__decorate([
|
|
75
|
+
ApiProperty({
|
|
76
|
+
description: 'The action parameters schema to be passed to the LLM',
|
|
77
|
+
required: true,
|
|
78
|
+
type: Object,
|
|
79
|
+
}),
|
|
80
|
+
IsNotEmpty(),
|
|
81
|
+
IsObject(),
|
|
82
|
+
__metadata("design:type", Object)
|
|
83
|
+
], AgActionDto.prototype, "schema", void 0);
|
|
84
|
+
__decorate([
|
|
85
|
+
ApiProperty({
|
|
86
|
+
description: 'Whether this action has a render function',
|
|
87
|
+
required: false,
|
|
88
|
+
type: Boolean,
|
|
89
|
+
}),
|
|
90
|
+
IsOptional(),
|
|
91
|
+
IsBoolean(),
|
|
92
|
+
__metadata("design:type", Boolean)
|
|
93
|
+
], AgActionDto.prototype, "hasRender", void 0);
|
|
94
|
+
export class AttachmentDto {
|
|
95
|
+
mxcUri;
|
|
96
|
+
eventId;
|
|
97
|
+
filename;
|
|
98
|
+
mimetype;
|
|
99
|
+
size;
|
|
100
|
+
}
|
|
101
|
+
__decorate([
|
|
102
|
+
ApiProperty({
|
|
103
|
+
description: 'The content URI (mxc://homeserver/content_id or https://...). Required when eventId is not provided.',
|
|
104
|
+
required: false,
|
|
105
|
+
type: String,
|
|
106
|
+
example: 'mxc://matrix.org/abc123',
|
|
107
|
+
}),
|
|
108
|
+
ValidateIf((o) => !o.eventId),
|
|
109
|
+
IsNotEmpty({ message: 'Either mxcUri or eventId must be provided' }),
|
|
110
|
+
IsString(),
|
|
111
|
+
Matches(/^(mxc|https?):\/\/.+/, {
|
|
112
|
+
message: 'mxcUri must start with mxc://, http://, or https://',
|
|
113
|
+
}),
|
|
114
|
+
__metadata("design:type", String)
|
|
115
|
+
], AttachmentDto.prototype, "mxcUri", void 0);
|
|
116
|
+
__decorate([
|
|
117
|
+
ApiProperty({
|
|
118
|
+
description: 'Matrix event ID for encrypted file downloads. Required when mxcUri is not provided.',
|
|
119
|
+
required: false,
|
|
120
|
+
type: String,
|
|
121
|
+
example: '$abc123',
|
|
122
|
+
}),
|
|
123
|
+
ValidateIf((o) => !o.mxcUri),
|
|
124
|
+
IsNotEmpty({ message: 'Either mxcUri or eventId must be provided' }),
|
|
125
|
+
IsString(),
|
|
126
|
+
Matches(/^\$/, { message: 'eventId must start with $' }),
|
|
127
|
+
__metadata("design:type", String)
|
|
128
|
+
], AttachmentDto.prototype, "eventId", void 0);
|
|
129
|
+
__decorate([
|
|
130
|
+
ApiProperty({
|
|
131
|
+
description: 'The original filename',
|
|
132
|
+
required: true,
|
|
133
|
+
type: String,
|
|
134
|
+
example: 'report.pdf',
|
|
135
|
+
}),
|
|
136
|
+
IsNotEmpty(),
|
|
137
|
+
IsString(),
|
|
138
|
+
MaxLength(255),
|
|
139
|
+
__metadata("design:type", String)
|
|
140
|
+
], AttachmentDto.prototype, "filename", void 0);
|
|
141
|
+
__decorate([
|
|
142
|
+
ApiProperty({
|
|
143
|
+
description: 'The MIME type of the file',
|
|
144
|
+
required: true,
|
|
145
|
+
type: String,
|
|
146
|
+
example: 'application/pdf',
|
|
147
|
+
}),
|
|
148
|
+
IsNotEmpty(),
|
|
149
|
+
IsString(),
|
|
150
|
+
__metadata("design:type", String)
|
|
151
|
+
], AttachmentDto.prototype, "mimetype", void 0);
|
|
152
|
+
__decorate([
|
|
153
|
+
ApiProperty({
|
|
154
|
+
description: 'The file size in bytes',
|
|
155
|
+
required: false,
|
|
156
|
+
type: Number,
|
|
157
|
+
}),
|
|
158
|
+
IsOptional(),
|
|
159
|
+
IsNumber(),
|
|
160
|
+
__metadata("design:type", Number)
|
|
161
|
+
], AttachmentDto.prototype, "size", void 0);
|
|
162
|
+
export class SendMessageDto {
|
|
163
|
+
stream;
|
|
164
|
+
returnAllMessages;
|
|
165
|
+
message;
|
|
166
|
+
tools;
|
|
167
|
+
agActions;
|
|
168
|
+
metadata;
|
|
169
|
+
timezone;
|
|
170
|
+
homeServer;
|
|
171
|
+
mcpInvocations;
|
|
172
|
+
attachments;
|
|
173
|
+
}
|
|
174
|
+
__decorate([
|
|
175
|
+
ApiProperty({
|
|
176
|
+
description: 'Whether to stream the response',
|
|
177
|
+
required: false,
|
|
178
|
+
default: false,
|
|
179
|
+
type: Boolean,
|
|
180
|
+
}),
|
|
181
|
+
IsOptional(),
|
|
182
|
+
IsBoolean(),
|
|
183
|
+
__metadata("design:type", Boolean)
|
|
184
|
+
], SendMessageDto.prototype, "stream", void 0);
|
|
185
|
+
__decorate([
|
|
186
|
+
ApiProperty({
|
|
187
|
+
description: 'When true (non-stream only), the response includes the full transcript of messages from the session in addition to the last assistant message. Intended for testing — defaults to false.',
|
|
188
|
+
required: false,
|
|
189
|
+
default: false,
|
|
190
|
+
type: Boolean,
|
|
191
|
+
}),
|
|
192
|
+
IsOptional(),
|
|
193
|
+
IsBoolean(),
|
|
194
|
+
__metadata("design:type", Boolean)
|
|
195
|
+
], SendMessageDto.prototype, "returnAllMessages", void 0);
|
|
196
|
+
__decorate([
|
|
197
|
+
ApiProperty({
|
|
198
|
+
description: 'The message content to be sent',
|
|
199
|
+
required: true,
|
|
200
|
+
example: 'Hello, how can I get help with my account?',
|
|
201
|
+
type: String,
|
|
202
|
+
}),
|
|
203
|
+
IsNotEmpty(),
|
|
204
|
+
IsString(),
|
|
205
|
+
__metadata("design:type", String)
|
|
206
|
+
], SendMessageDto.prototype, "message", void 0);
|
|
207
|
+
__decorate([
|
|
208
|
+
ApiProperty({
|
|
209
|
+
description: 'The tool list to be passed to the LLM',
|
|
210
|
+
required: false,
|
|
211
|
+
type: [BrowserToolCallDto],
|
|
212
|
+
}),
|
|
213
|
+
IsOptional(),
|
|
214
|
+
IsArray(),
|
|
215
|
+
ValidateNested({ each: true }),
|
|
216
|
+
Type(() => BrowserToolCallDto),
|
|
217
|
+
__metadata("design:type", Array)
|
|
218
|
+
], SendMessageDto.prototype, "tools", void 0);
|
|
219
|
+
__decorate([
|
|
220
|
+
ApiProperty({
|
|
221
|
+
description: 'The AG-UI action list to be passed to the LLM',
|
|
222
|
+
required: false,
|
|
223
|
+
type: [AgActionDto],
|
|
224
|
+
}),
|
|
225
|
+
IsOptional(),
|
|
226
|
+
IsArray(),
|
|
227
|
+
ValidateNested({ each: true }),
|
|
228
|
+
Type(() => AgActionDto),
|
|
229
|
+
__metadata("design:type", Array)
|
|
230
|
+
], SendMessageDto.prototype, "agActions", void 0);
|
|
231
|
+
__decorate([
|
|
232
|
+
ApiProperty({
|
|
233
|
+
description: 'The metadata to be passed to the LLM',
|
|
234
|
+
required: false,
|
|
235
|
+
type: Object,
|
|
236
|
+
}),
|
|
237
|
+
IsOptional(),
|
|
238
|
+
IsObject(),
|
|
239
|
+
__metadata("design:type", Object)
|
|
240
|
+
], SendMessageDto.prototype, "metadata", void 0);
|
|
241
|
+
__decorate([
|
|
242
|
+
ApiProperty({
|
|
243
|
+
description: 'User timezone (e.g., "America/New_York" or "UTC-5")',
|
|
244
|
+
required: false,
|
|
245
|
+
type: String,
|
|
246
|
+
example: 'America/New_York',
|
|
247
|
+
}),
|
|
248
|
+
IsOptional(),
|
|
249
|
+
IsString(),
|
|
250
|
+
__metadata("design:type", String)
|
|
251
|
+
], SendMessageDto.prototype, "timezone", void 0);
|
|
252
|
+
__decorate([
|
|
253
|
+
ApiProperty({
|
|
254
|
+
description: 'The user home server',
|
|
255
|
+
required: false,
|
|
256
|
+
type: String,
|
|
257
|
+
}),
|
|
258
|
+
IsOptional(),
|
|
259
|
+
IsString(),
|
|
260
|
+
__metadata("design:type", String)
|
|
261
|
+
], SendMessageDto.prototype, "homeServer", void 0);
|
|
262
|
+
__decorate([
|
|
263
|
+
ApiProperty({
|
|
264
|
+
description: 'UCAN invocations for protected MCP tools. Map of tool names to base64-encoded CAR invocations.',
|
|
265
|
+
required: false,
|
|
266
|
+
type: Object,
|
|
267
|
+
example: {
|
|
268
|
+
postgres__query: 'OqJlcm9vdHOB2CpYJQABcRIg... (base64-encoded CAR invocation)',
|
|
269
|
+
},
|
|
270
|
+
}),
|
|
271
|
+
IsOptional(),
|
|
272
|
+
IsObject(),
|
|
273
|
+
__metadata("design:type", Object)
|
|
274
|
+
], SendMessageDto.prototype, "mcpInvocations", void 0);
|
|
275
|
+
__decorate([
|
|
276
|
+
ApiProperty({
|
|
277
|
+
description: 'File attachments uploaded to Matrix (max 10)',
|
|
278
|
+
required: false,
|
|
279
|
+
type: [AttachmentDto],
|
|
280
|
+
}),
|
|
281
|
+
IsOptional(),
|
|
282
|
+
IsArray(),
|
|
283
|
+
ArrayMaxSize(10),
|
|
284
|
+
ValidateNested({ each: true }),
|
|
285
|
+
Type(() => AttachmentDto),
|
|
286
|
+
__metadata("design:type", Array)
|
|
287
|
+
], SendMessageDto.prototype, "attachments", void 0);
|
|
288
|
+
export class SendMessagePayload {
|
|
289
|
+
stream;
|
|
290
|
+
returnAllMessages;
|
|
291
|
+
message;
|
|
292
|
+
sessionId;
|
|
293
|
+
did;
|
|
294
|
+
tools;
|
|
295
|
+
agActions;
|
|
296
|
+
timezone;
|
|
297
|
+
homeServer;
|
|
298
|
+
metadata;
|
|
299
|
+
/**
|
|
300
|
+
* UCAN invocations for protected MCP tools.
|
|
301
|
+
* Map of tool names (e.g., "postgres__query") to base64-encoded CAR invocations.
|
|
302
|
+
*/
|
|
303
|
+
mcpInvocations;
|
|
304
|
+
attachments;
|
|
305
|
+
}
|
|
306
|
+
export class AbortRequestDto {
|
|
307
|
+
sessionId;
|
|
308
|
+
}
|
|
309
|
+
__decorate([
|
|
310
|
+
ApiProperty({
|
|
311
|
+
description: 'The session ID to abort',
|
|
312
|
+
required: true,
|
|
313
|
+
type: String,
|
|
314
|
+
}),
|
|
315
|
+
IsNotEmpty(),
|
|
316
|
+
IsString(),
|
|
317
|
+
__metadata("design:type", String)
|
|
318
|
+
], AbortRequestDto.prototype, "sessionId", void 0);
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Aggregated usage reported by FileProcessingService after parsing one or
|
|
3
|
+
* more attachments. The credits plugin folds this into the same per-user
|
|
4
|
+
* Redis budget the LLM-call middleware decrements from.
|
|
5
|
+
*/
|
|
6
|
+
export interface FileProcessingUsage {
|
|
7
|
+
cost: number;
|
|
8
|
+
promptTokens: number;
|
|
9
|
+
completionTokens: number;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* Optional sink for billing pre-flight file-processing LLM calls. The
|
|
13
|
+
* credits plugin provides this via its `getNestModules()`; when credits is
|
|
14
|
+
* not loaded, file processing runs without a billing side effect.
|
|
15
|
+
*/
|
|
16
|
+
export interface FileProcessingCreditSink {
|
|
17
|
+
deductForFileProcessing(userDid: string, usage: FileProcessingUsage): Promise<void>;
|
|
18
|
+
}
|
|
19
|
+
export declare const FILE_PROCESSING_CREDIT_SINK: unique symbol;
|
|
20
|
+
//# sourceMappingURL=file-processing-credit-sink.port.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"file-processing-credit-sink.port.d.ts","sourceRoot":"","sources":["../../../src/modules/messages/file-processing-credit-sink.port.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,MAAM,WAAW,mBAAmB;IAClC,IAAI,EAAE,MAAM,CAAC;IACb,YAAY,EAAE,MAAM,CAAC;IACrB,gBAAgB,EAAE,MAAM,CAAC;CAC1B;AAED;;;;GAIG;AACH,MAAM,WAAW,wBAAwB;IACvC,uBAAuB,CACrB,OAAO,EAAE,MAAM,EACf,KAAK,EAAE,mBAAmB,GACzB,OAAO,CAAC,IAAI,CAAC,CAAC;CAClB;AAED,eAAO,MAAM,2BAA2B,eAEvC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export const FILE_PROCESSING_CREDIT_SINK = Symbol('FILE_PROCESSING_CREDIT_SINK');
|
|
@@ -0,0 +1,195 @@
|
|
|
1
|
+
import { ConfigService } from '@nestjs/config';
|
|
2
|
+
import { UcanService } from '../ucan/ucan.service.js';
|
|
3
|
+
import { type AttachmentDto } from './dto/send-message.dto.js';
|
|
4
|
+
import { type FileProcessingCreditSink } from './file-processing-credit-sink.port.js';
|
|
5
|
+
export type FileCategory = 'document' | 'image' | 'audio' | 'video' | 'unsupported';
|
|
6
|
+
export interface ProcessedAttachment {
|
|
7
|
+
filename: string;
|
|
8
|
+
mimetype: string;
|
|
9
|
+
size?: number;
|
|
10
|
+
mxcUri?: string;
|
|
11
|
+
eventId?: string;
|
|
12
|
+
category: Exclude<FileCategory, 'unsupported'>;
|
|
13
|
+
sandboxPath?: string;
|
|
14
|
+
}
|
|
15
|
+
export interface SandboxUploadConfig {
|
|
16
|
+
/** Base URL of the sandbox MCP server. The `/artifacts/upload` endpoint
|
|
17
|
+
* shares the same host — only the `/mcp` suffix is stripped. */
|
|
18
|
+
sandboxMcpUrl: string;
|
|
19
|
+
/**
|
|
20
|
+
* Auth headers minted by the caller. Must match the same scheme the
|
|
21
|
+
* sandbox plugin uses for MCP tool calls — `Authorization: Bearer <ucan>`
|
|
22
|
+
* plus `X-Auth-Type: ucan`, optionally followed by `x-os-*` / `x-us-*`
|
|
23
|
+
* secret headers. See `plugins/sandbox/sandbox-mcp.ts`
|
|
24
|
+
* (`createDefaultAuthBuilder`). Forwarded to the upload endpoint verbatim.
|
|
25
|
+
*/
|
|
26
|
+
authHeaders: Record<string, string>;
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* Provider configuration for the vision/file-processing model.
|
|
30
|
+
* The runtime supplies these at construction time.
|
|
31
|
+
*/
|
|
32
|
+
export interface FileProcessingProviderConfig {
|
|
33
|
+
apiKey: string;
|
|
34
|
+
baseURL: string;
|
|
35
|
+
headers: Record<string, string>;
|
|
36
|
+
model: string;
|
|
37
|
+
}
|
|
38
|
+
export declare function setFileProcessingProvider(getter: () => FileProcessingProviderConfig): void;
|
|
39
|
+
export declare class FileProcessingService {
|
|
40
|
+
private readonly config;
|
|
41
|
+
private readonly ucanService;
|
|
42
|
+
private readonly creditSink?;
|
|
43
|
+
private readonly logger;
|
|
44
|
+
private readonly providerApiKey;
|
|
45
|
+
private readonly providerBaseURL;
|
|
46
|
+
private readonly providerHeaders;
|
|
47
|
+
private readonly processingModel;
|
|
48
|
+
constructor(config: ConfigService, ucanService: UcanService, creditSink?: FileProcessingCreditSink | undefined);
|
|
49
|
+
/**
|
|
50
|
+
* Build the sandbox upload config for the current user. Returns `undefined`
|
|
51
|
+
* when sandbox archival isn't possible — `SANDBOX_MCP_URL` unset, the user
|
|
52
|
+
* has no cached UCAN delegation, or the oracle has no signing key. The
|
|
53
|
+
* caller treats `undefined` as "skip upload"; processing still happens.
|
|
54
|
+
*
|
|
55
|
+
* Auth header shape matches `plugins/sandbox/sandbox-mcp.ts`
|
|
56
|
+
* (`createDefaultAuthBuilder`) exactly — same `Authorization: Bearer <ucan>`
|
|
57
|
+
* + `X-Auth-Type: ucan` the sandbox MCP client sends for tool calls.
|
|
58
|
+
*/
|
|
59
|
+
private buildSandboxConfig;
|
|
60
|
+
/**
|
|
61
|
+
* Sanitize a filename/path for the sandbox upload endpoint.
|
|
62
|
+
* Only alphanumeric, dots, dashes, underscores, and slashes are allowed,
|
|
63
|
+
* and `..` path segments are removed so the sandbox can't be escaped.
|
|
64
|
+
*/
|
|
65
|
+
private sanitizeSandboxPath;
|
|
66
|
+
uploadToSandbox(buffer: Buffer, filename: string, destPath: string, sandboxConfig: SandboxUploadConfig, mimetype?: string): Promise<{
|
|
67
|
+
path: string;
|
|
68
|
+
url?: string;
|
|
69
|
+
previewUrl?: string;
|
|
70
|
+
}>;
|
|
71
|
+
processAttachments(attachments: AttachmentDto[], roomId: string, userDid?: string): Promise<{
|
|
72
|
+
texts: string[];
|
|
73
|
+
metadata: ProcessedAttachment[];
|
|
74
|
+
totalUsage: {
|
|
75
|
+
cost: number;
|
|
76
|
+
promptTokens: number;
|
|
77
|
+
completionTokens: number;
|
|
78
|
+
};
|
|
79
|
+
}>;
|
|
80
|
+
private processAttachment;
|
|
81
|
+
private downloadFromMatrix;
|
|
82
|
+
private downloadFromMatrixEvent;
|
|
83
|
+
/**
|
|
84
|
+
* Validate that a URL does not point to an internal/private network address.
|
|
85
|
+
* Prevents SSRF attacks via crafted or redirected URLs.
|
|
86
|
+
*/
|
|
87
|
+
private validateUrlTarget;
|
|
88
|
+
private downloadFromUrl;
|
|
89
|
+
/**
|
|
90
|
+
* HEAD a URL to determine Content-Type and Content-Length without
|
|
91
|
+
* downloading the body. Follows redirects with SSRF validation.
|
|
92
|
+
*/
|
|
93
|
+
private headUrl;
|
|
94
|
+
/**
|
|
95
|
+
* Detect the actual MIME type from the file's magic bytes.
|
|
96
|
+
* Returns null if no known signature matches.
|
|
97
|
+
*/
|
|
98
|
+
private detectMimeFromMagicBytes;
|
|
99
|
+
/**
|
|
100
|
+
* Verify that the file's magic bytes are consistent with the claimed
|
|
101
|
+
* mimetype category. For binary formats (images, audio, video, PDF)
|
|
102
|
+
* this is strict. For text-based formats (text/plain, text/html, etc.)
|
|
103
|
+
* we skip magic byte checks since they don't have reliable signatures.
|
|
104
|
+
*/
|
|
105
|
+
private verifyMagicBytes;
|
|
106
|
+
private categorizeFile;
|
|
107
|
+
private isDocumentType;
|
|
108
|
+
private processDocument;
|
|
109
|
+
private processImage;
|
|
110
|
+
private processAudio;
|
|
111
|
+
private processVideo;
|
|
112
|
+
/**
|
|
113
|
+
* Send a public URL directly to OpenRouter for image/video processing
|
|
114
|
+
* without downloading the file first. Faster and avoids OOM for large files.
|
|
115
|
+
*/
|
|
116
|
+
private aiProcessFromUrl;
|
|
117
|
+
private aiProcess;
|
|
118
|
+
private getAudioFormat;
|
|
119
|
+
/**
|
|
120
|
+
* Strip control characters and bracket sequences from filename
|
|
121
|
+
* to prevent prompt injection when interpolated into LLM context.
|
|
122
|
+
*/
|
|
123
|
+
private sanitizeFilename;
|
|
124
|
+
/**
|
|
125
|
+
* Plain-text mimetypes that can be read directly as UTF-8 without AI
|
|
126
|
+
* processing or local parsers.
|
|
127
|
+
*/
|
|
128
|
+
private isPlainTextType;
|
|
129
|
+
private buildAnalysisMarkdown;
|
|
130
|
+
private formatContent;
|
|
131
|
+
private truncateText;
|
|
132
|
+
/**
|
|
133
|
+
* Download and process a file in one pass, returning both the raw buffer
|
|
134
|
+
* and extracted text. Used by the process_file tool when copy_to_sandbox
|
|
135
|
+
* is enabled so the file isn't downloaded twice.
|
|
136
|
+
*/
|
|
137
|
+
downloadAndProcessFile(source: {
|
|
138
|
+
url: string;
|
|
139
|
+
} | {
|
|
140
|
+
eventId: string;
|
|
141
|
+
roomId?: string;
|
|
142
|
+
}, hints?: {
|
|
143
|
+
filename?: string;
|
|
144
|
+
mimetype?: string;
|
|
145
|
+
}): Promise<{
|
|
146
|
+
buffer: Buffer;
|
|
147
|
+
text: string;
|
|
148
|
+
resolvedFilename: string;
|
|
149
|
+
resolvedMimetype: string;
|
|
150
|
+
}>;
|
|
151
|
+
/**
|
|
152
|
+
* Process a file from a Matrix event ID — downloads via
|
|
153
|
+
* downloadFromMatrixEvent (handles encrypted + unencrypted) and routes
|
|
154
|
+
* through the standard processCategory pipeline.
|
|
155
|
+
*/
|
|
156
|
+
processFileFromEventId(roomId: string, eventId: string, hints?: {
|
|
157
|
+
filename?: string;
|
|
158
|
+
mimetype?: string;
|
|
159
|
+
}): Promise<string>;
|
|
160
|
+
/**
|
|
161
|
+
* Process a file from a URL and extract its content as text.
|
|
162
|
+
* For HTTPS image/video URLs, passes the URL directly to the AI model (no download).
|
|
163
|
+
* For audio/documents/mxc, downloads first then processes locally or via AI.
|
|
164
|
+
* If the type can't be determined, tries AI passthrough before falling back to download.
|
|
165
|
+
*/
|
|
166
|
+
processFileFromUrl(url: string, hints?: {
|
|
167
|
+
filename?: string;
|
|
168
|
+
mimetype?: string;
|
|
169
|
+
}): Promise<string>;
|
|
170
|
+
/**
|
|
171
|
+
* Try passing a URL directly to AI for image/video processing.
|
|
172
|
+
* Falls back to download + process if the AI rejects it.
|
|
173
|
+
*/
|
|
174
|
+
private tryUrlPassthrough;
|
|
175
|
+
/**
|
|
176
|
+
* Download a URL (or mxc:// resource) into memory and process from the buffer.
|
|
177
|
+
* Handles size validation, mime detection from bytes, and category routing.
|
|
178
|
+
*/
|
|
179
|
+
private downloadAndProcess;
|
|
180
|
+
/**
|
|
181
|
+
* Route a validated buffer to the correct processor by category.
|
|
182
|
+
*/
|
|
183
|
+
private processCategory;
|
|
184
|
+
/**
|
|
185
|
+
* Best-effort filename extraction from a URL path.
|
|
186
|
+
* Falls back to 'download' if nothing useful can be derived.
|
|
187
|
+
*/
|
|
188
|
+
private extractFilenameFromUrl;
|
|
189
|
+
/**
|
|
190
|
+
* Map common file extensions to MIME types.
|
|
191
|
+
* Returns null if the extension is unknown.
|
|
192
|
+
*/
|
|
193
|
+
private guessMimeFromFilename;
|
|
194
|
+
}
|
|
195
|
+
//# sourceMappingURL=file-processing.service.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"file-processing.service.d.ts","sourceRoot":"","sources":["../../../src/modules/messages/file-processing.service.ts"],"names":[],"mappings":"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"}
|