@fastybird/smart-panel-backend 1.0.0-beta.3 → 1.1.0-alpha.0
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/app.module.js +54 -0
- package/dist/app.module.js.map +1 -1
- package/dist/common/utils/shared-lock-socket-path.utils.d.ts +1 -0
- package/dist/common/utils/shared-lock-socket-path.utils.js +34 -0
- package/dist/common/utils/shared-lock-socket-path.utils.js.map +1 -0
- package/dist/common/utils/sqlite-fts.utils.d.ts +17 -0
- package/dist/common/utils/sqlite-fts.utils.js +63 -0
- package/dist/common/utils/sqlite-fts.utils.js.map +1 -0
- package/dist/common/utils/transform.utils.d.ts +2 -0
- package/dist/common/utils/transform.utils.js +17 -2
- package/dist/common/utils/transform.utils.js.map +1 -1
- package/dist/index.d.ts +5 -0
- package/dist/index.js +14 -1
- package/dist/index.js.map +1 -1
- package/dist/main.js +9 -2
- package/dist/main.js.map +1 -1
- package/dist/migrations/1000000000007-AddVirtualDevicesSupport.d.ts +6 -0
- package/dist/migrations/1000000000007-AddVirtualDevicesSupport.js +26 -0
- package/dist/migrations/1000000000007-AddVirtualDevicesSupport.js.map +1 -0
- package/dist/migrations/1000000000008-AddMcpClients.d.ts +6 -0
- package/dist/migrations/1000000000008-AddMcpClients.js +41 -0
- package/dist/migrations/1000000000008-AddMcpClients.js.map +1 -0
- package/dist/migrations/1000000000009-AddDeviceHiddenBy.d.ts +6 -0
- package/dist/migrations/1000000000009-AddDeviceHiddenBy.js +19 -0
- package/dist/migrations/1000000000009-AddDeviceHiddenBy.js.map +1 -0
- package/dist/migrations/1000000000010-AddEnergyClaimToProjections.d.ts +7 -0
- package/dist/migrations/1000000000010-AddEnergyClaimToProjections.js +59 -0
- package/dist/migrations/1000000000010-AddEnergyClaimToProjections.js.map +1 -0
- package/dist/migrations/1000000000010-AddMcpOAuthFoundation.d.ts +6 -0
- package/dist/migrations/1000000000010-AddMcpOAuthFoundation.js +124 -0
- package/dist/migrations/1000000000010-AddMcpOAuthFoundation.js.map +1 -0
- package/dist/migrations/1000000000011-AddMcpOAuthProviderArtifacts.d.ts +6 -0
- package/dist/migrations/1000000000011-AddMcpOAuthProviderArtifacts.js +33 -0
- package/dist/migrations/1000000000011-AddMcpOAuthProviderArtifacts.js.map +1 -0
- package/dist/migrations/1000000000012-LinkMcpOAuthProviderGrants.d.ts +6 -0
- package/dist/migrations/1000000000012-LinkMcpOAuthProviderGrants.js +18 -0
- package/dist/migrations/1000000000012-LinkMcpOAuthProviderGrants.js.map +1 -0
- package/dist/migrations/1000000000013-AddMcpOAuthProviderManagementIds.d.ts +8 -0
- package/dist/migrations/1000000000013-AddMcpOAuthProviderManagementIds.js +80 -0
- package/dist/migrations/1000000000013-AddMcpOAuthProviderManagementIds.js.map +1 -0
- package/dist/migrations/1000000000014-AddMcpOAuthProviderRefreshFamilyRevocations.d.ts +6 -0
- package/dist/migrations/1000000000014-AddMcpOAuthProviderRefreshFamilyRevocations.js +18 -0
- package/dist/migrations/1000000000014-AddMcpOAuthProviderRefreshFamilyRevocations.js.map +1 -0
- package/dist/migrations/1000000000015-AddMcpOAuthProviderRefreshFamilyLineage.d.ts +6 -0
- package/dist/migrations/1000000000015-AddMcpOAuthProviderRefreshFamilyLineage.js +26 -0
- package/dist/migrations/1000000000015-AddMcpOAuthProviderRefreshFamilyLineage.js.map +1 -0
- package/dist/migrations/1000000000016-AddMcpOAuthApproverAuthorities.d.ts +6 -0
- package/dist/migrations/1000000000016-AddMcpOAuthApproverAuthorities.js +20 -0
- package/dist/migrations/1000000000016-AddMcpOAuthApproverAuthorities.js.map +1 -0
- package/dist/migrations/1000000000017-AddMcpOAuthAuthorizationSnapshots.d.ts +6 -0
- package/dist/migrations/1000000000017-AddMcpOAuthAuthorizationSnapshots.js +69 -0
- package/dist/migrations/1000000000017-AddMcpOAuthAuthorizationSnapshots.js.map +1 -0
- package/dist/migrations/1000000000018-AddWledHardwareIdentity.d.ts +6 -0
- package/dist/migrations/1000000000018-AddWledHardwareIdentity.js +23 -0
- package/dist/migrations/1000000000018-AddWledHardwareIdentity.js.map +1 -0
- package/dist/migrations/1000000000019-EnforceUniqueWledHardwareIdentity.d.ts +6 -0
- package/dist/migrations/1000000000019-EnforceUniqueWledHardwareIdentity.js +31 -0
- package/dist/migrations/1000000000019-EnforceUniqueWledHardwareIdentity.js.map +1 -0
- package/dist/migrations/1000000000020-AddHomeEntitySearchIndex.d.ts +7 -0
- package/dist/migrations/1000000000020-AddHomeEntitySearchIndex.js +106 -0
- package/dist/migrations/1000000000020-AddHomeEntitySearchIndex.js.map +1 -0
- package/dist/migrations/1000000000021-AddHomeyCapabilityIdentity.d.ts +6 -0
- package/dist/migrations/1000000000021-AddHomeyCapabilityIdentity.js +22 -0
- package/dist/migrations/1000000000021-AddHomeyCapabilityIdentity.js.map +1 -0
- package/dist/migrations/1000000000022-AddHomeyAdoptionLocks.d.ts +6 -0
- package/dist/migrations/1000000000022-AddHomeyAdoptionLocks.js +20 -0
- package/dist/migrations/1000000000022-AddHomeyAdoptionLocks.js.map +1 -0
- package/dist/migrations/1000000000023-AddPropertyValueLocks.d.ts +6 -0
- package/dist/migrations/1000000000023-AddPropertyValueLocks.js +20 -0
- package/dist/migrations/1000000000023-AddPropertyValueLocks.js.map +1 -0
- package/dist/migrations/1000000000024-MigrateHomeyDiscriminators.d.ts +6 -0
- package/dist/migrations/1000000000024-MigrateHomeyDiscriminators.js +26 -0
- package/dist/migrations/1000000000024-MigrateHomeyDiscriminators.js.map +1 -0
- package/dist/migrations/1000000000025-AddNotifications.d.ts +6 -0
- package/dist/migrations/1000000000025-AddNotifications.js +44 -0
- package/dist/migrations/1000000000025-AddNotifications.js.map +1 -0
- package/dist/modules/api/api.constants.d.ts +2 -0
- package/dist/modules/api/api.constants.js +3 -1
- package/dist/modules/api/api.constants.js.map +1 -1
- package/dist/modules/api/api.module.d.ts +8 -1
- package/dist/modules/api/api.module.js +40 -2
- package/dist/modules/api/api.module.js.map +1 -1
- package/dist/modules/api/api.openapi.d.ts +2 -1
- package/dist/modules/api/api.openapi.js +3 -0
- package/dist/modules/api/api.openapi.js.map +1 -1
- package/dist/modules/api/interceptors/location-replace.interceptor.js +2 -2
- package/dist/modules/api/interceptors/location-replace.interceptor.js.map +1 -1
- package/dist/modules/api/models/bulk.model.d.ts +8 -0
- package/dist/modules/api/models/bulk.model.js +65 -0
- package/dist/modules/api/models/bulk.model.js.map +1 -0
- package/dist/modules/api/services/client-address.service.d.ts +29 -0
- package/dist/modules/api/services/client-address.service.js +146 -0
- package/dist/modules/api/services/client-address.service.js.map +1 -0
- package/dist/modules/api/services/trusted-proxy-registry.service.d.ts +10 -0
- package/dist/modules/api/services/trusted-proxy-registry.service.js +40 -0
- package/dist/modules/api/services/trusted-proxy-registry.service.js.map +1 -0
- package/dist/modules/api/utils/bulk.utils.d.ts +10 -0
- package/dist/modules/api/utils/bulk.utils.js +74 -0
- package/dist/modules/api/utils/bulk.utils.js.map +1 -0
- package/dist/modules/api/utils/ip-match.utils.d.ts +3 -0
- package/dist/modules/api/utils/ip-match.utils.js +115 -0
- package/dist/modules/api/utils/ip-match.utils.js.map +1 -0
- package/dist/modules/auth/auth.constants.d.ts +2 -1
- package/dist/modules/auth/auth.constants.js +1 -0
- package/dist/modules/auth/auth.constants.js.map +1 -1
- package/dist/modules/auth/auth.module.js +3 -1
- package/dist/modules/auth/auth.module.js.map +1 -1
- package/dist/modules/auth/auth.openapi.d.ts +2 -1
- package/dist/modules/auth/auth.openapi.js +4 -0
- package/dist/modules/auth/auth.openapi.js.map +1 -1
- package/dist/modules/auth/commands/reset-password.command.d.ts +3 -1
- package/dist/modules/auth/commands/reset-password.command.js +30 -14
- package/dist/modules/auth/commands/reset-password.command.js.map +1 -1
- package/dist/modules/auth/controllers/auth.controller.d.ts +5 -2
- package/dist/modules/auth/controllers/auth.controller.js +10 -5
- package/dist/modules/auth/controllers/auth.controller.js.map +1 -1
- package/dist/modules/auth/controllers/tokens.controller.js +7 -0
- package/dist/modules/auth/controllers/tokens.controller.js.map +1 -1
- package/dist/modules/auth/guards/auth.guard.d.ts +11 -1
- package/dist/modules/auth/guards/auth.guard.js +76 -7
- package/dist/modules/auth/guards/auth.guard.js.map +1 -1
- package/dist/modules/auth/guards/display-aware-throttler.guard.d.ts +4 -1
- package/dist/modules/auth/guards/display-aware-throttler.guard.js +8 -2
- package/dist/modules/auth/guards/display-aware-throttler.guard.js.map +1 -1
- package/dist/modules/auth/services/auth.service.d.ts +11 -2
- package/dist/modules/auth/services/auth.service.js +60 -9
- package/dist/modules/auth/services/auth.service.js.map +1 -1
- package/dist/modules/auth/services/tokens.service.d.ts +12 -2
- package/dist/modules/auth/services/tokens.service.js +25 -3
- package/dist/modules/auth/services/tokens.service.js.map +1 -1
- package/dist/modules/buddy/buddy.constants.d.ts +8 -0
- package/dist/modules/buddy/buddy.constants.js +10 -1
- package/dist/modules/buddy/buddy.constants.js.map +1 -1
- package/dist/modules/buddy/buddy.module.d.ts +7 -1
- package/dist/modules/buddy/buddy.module.js +20 -2
- package/dist/modules/buddy/buddy.module.js.map +1 -1
- package/dist/modules/buddy/buddy.openapi.d.ts +2 -1
- package/dist/modules/buddy/buddy.openapi.js +2 -0
- package/dist/modules/buddy/buddy.openapi.js.map +1 -1
- package/dist/modules/buddy/models/context-plan.model.d.ts +47 -0
- package/dist/modules/{extensions/services/managed-plugin-service.interface.js → buddy/models/context-plan.model.js} +1 -1
- package/dist/modules/buddy/models/context-plan.model.js.map +1 -0
- package/dist/modules/buddy/platforms/anthropic-sdk.utils.d.ts +3 -2
- package/dist/modules/buddy/platforms/anthropic-sdk.utils.js +55 -12
- package/dist/modules/buddy/platforms/anthropic-sdk.utils.js.map +1 -1
- package/dist/modules/buddy/platforms/llm-conversation-bounds.utils.d.ts +20 -0
- package/dist/modules/buddy/platforms/llm-conversation-bounds.utils.js +155 -0
- package/dist/modules/buddy/platforms/llm-conversation-bounds.utils.js.map +1 -0
- package/dist/modules/buddy/platforms/llm-conversation.utils.d.ts +8 -0
- package/dist/modules/buddy/platforms/llm-conversation.utils.js +90 -0
- package/dist/modules/buddy/platforms/llm-conversation.utils.js.map +1 -0
- package/dist/modules/buddy/platforms/llm-provider.platform.d.ts +115 -1
- package/dist/modules/buddy/platforms/openai-sdk.utils.d.ts +3 -2
- package/dist/modules/buddy/platforms/openai-sdk.utils.js +48 -14
- package/dist/modules/buddy/platforms/openai-sdk.utils.js.map +1 -1
- package/dist/modules/buddy/services/buddy-context-planner.service.d.ts +4 -0
- package/dist/modules/buddy/services/buddy-context-planner.service.js +21 -0
- package/dist/modules/buddy/services/buddy-context-planner.service.js.map +1 -0
- package/dist/modules/buddy/services/buddy-conversation.service.d.ts +7 -1
- package/dist/modules/buddy/services/buddy-conversation.service.js +251 -42
- package/dist/modules/buddy/services/buddy-conversation.service.js.map +1 -1
- package/dist/modules/buddy/services/buddy-tool-selection.service.d.ts +16 -0
- package/dist/modules/buddy/services/buddy-tool-selection.service.js +711 -0
- package/dist/modules/buddy/services/buddy-tool-selection.service.js.map +1 -0
- package/dist/modules/buddy/services/context-planner/buddy-context-action-policy.d.ts +22 -0
- package/dist/modules/buddy/services/context-planner/buddy-context-action-policy.js +451 -0
- package/dist/modules/buddy/services/context-planner/buddy-context-action-policy.js.map +1 -0
- package/dist/modules/buddy/services/context-planner/buddy-context-language.d.ts +51 -0
- package/dist/modules/buddy/services/context-planner/buddy-context-language.js +559 -0
- package/dist/modules/buddy/services/context-planner/buddy-context-language.js.map +1 -0
- package/dist/modules/buddy/services/context-planner/buddy-context-message-analysis.d.ts +42 -0
- package/dist/modules/buddy/services/context-planner/buddy-context-message-analysis.js +673 -0
- package/dist/modules/buddy/services/context-planner/buddy-context-message-analysis.js.map +1 -0
- package/dist/modules/buddy/services/context-planner/buddy-context-plan-policy.d.ts +11 -0
- package/dist/modules/buddy/services/context-planner/buddy-context-plan-policy.js +39 -0
- package/dist/modules/buddy/services/context-planner/buddy-context-plan-policy.js.map +1 -0
- package/dist/modules/buddy/services/context-planner/buddy-context-planner-grammar.d.ts +128 -0
- package/dist/modules/buddy/services/context-planner/buddy-context-planner-grammar.js +220 -0
- package/dist/modules/buddy/services/context-planner/buddy-context-planner-grammar.js.map +1 -0
- package/dist/modules/buddy/services/context-planner/buddy-context-planning-pipeline.d.ts +2 -0
- package/dist/modules/buddy/services/context-planner/buddy-context-planning-pipeline.js +304 -0
- package/dist/modules/buddy/services/context-planner/buddy-context-planning-pipeline.js.map +1 -0
- package/dist/modules/buddy/services/context-planner/buddy-context-query-builder.d.ts +12 -0
- package/dist/modules/buddy/services/context-planner/buddy-context-query-builder.js +35 -0
- package/dist/modules/buddy/services/context-planner/buddy-context-query-builder.js.map +1 -0
- package/dist/modules/buddy/services/context-planner/buddy-context-retrieval-planner.d.ts +31 -0
- package/dist/modules/buddy/services/context-planner/buddy-context-retrieval-planner.js +97 -0
- package/dist/modules/buddy/services/context-planner/buddy-context-retrieval-planner.js.map +1 -0
- package/dist/modules/buddy/services/context-planner/buddy-context-scope-resolver.d.ts +8 -0
- package/dist/modules/buddy/services/context-planner/buddy-context-scope-resolver.js +186 -0
- package/dist/modules/buddy/services/context-planner/buddy-context-scope-resolver.js.map +1 -0
- package/dist/modules/buddy/services/heartbeat.service.d.ts +17 -4
- package/dist/modules/buddy/services/heartbeat.service.js +85 -15
- package/dist/modules/buddy/services/heartbeat.service.js.map +1 -1
- package/dist/modules/buddy/services/home-context-tool-provider.service.d.ts +165 -0
- package/dist/modules/buddy/services/home-context-tool-provider.service.js +257 -0
- package/dist/modules/buddy/services/home-context-tool-provider.service.js.map +1 -0
- package/dist/modules/buddy/services/llm-provider.service.d.ts +4 -3
- package/dist/modules/buddy/services/llm-provider.service.js +20 -1
- package/dist/modules/buddy/services/llm-provider.service.js.map +1 -1
- package/dist/modules/buddy/services/module-reset.service.d.ts +3 -1
- package/dist/modules/buddy/services/module-reset.service.js +6 -2
- package/dist/modules/buddy/services/module-reset.service.js.map +1 -1
- package/dist/modules/buddy/testing/buddy-context-evaluation.fixtures.d.ts +13 -0
- package/dist/modules/buddy/testing/buddy-context-evaluation.fixtures.js +119 -0
- package/dist/modules/buddy/testing/buddy-context-evaluation.fixtures.js.map +1 -0
- package/dist/modules/buddy/testing/buddy-context-evaluation.matrix.d.ts +36 -0
- package/dist/modules/buddy/testing/buddy-context-evaluation.matrix.js +230 -0
- package/dist/modules/buddy/testing/buddy-context-evaluation.matrix.js.map +1 -0
- package/dist/modules/buddy/testing/llm-request-measurement.helper.d.ts +33 -0
- package/dist/modules/buddy/testing/llm-request-measurement.helper.js +144 -0
- package/dist/modules/buddy/testing/llm-request-measurement.helper.js.map +1 -0
- package/dist/modules/config/config.module.js +18 -2
- package/dist/modules/config/config.module.js.map +1 -1
- package/dist/modules/config/controllers/config.controller.d.ts +3 -1
- package/dist/modules/config/controllers/config.controller.js +43 -18
- package/dist/modules/config/controllers/config.controller.js.map +1 -1
- package/dist/modules/config/interfaces/config-secret.interface.d.ts +5 -0
- package/dist/modules/config/interfaces/config-secret.interface.js +3 -0
- package/dist/modules/config/interfaces/config-secret.interface.js.map +1 -0
- package/dist/modules/config/services/config-secrets.service.d.ts +18 -0
- package/dist/modules/config/services/config-secrets.service.js +167 -0
- package/dist/modules/config/services/config-secrets.service.js.map +1 -0
- package/dist/modules/config/services/config.service.d.ts +19 -3
- package/dist/modules/config/services/config.service.js +105 -39
- package/dist/modules/config/services/config.service.js.map +1 -1
- package/dist/modules/config/services/module-config-mutation-registry.service.d.ts +8 -0
- package/dist/modules/config/services/module-config-mutation-registry.service.js +35 -0
- package/dist/modules/config/services/module-config-mutation-registry.service.js.map +1 -0
- package/dist/modules/config/services/modules-type-mapper.service.d.ts +2 -0
- package/dist/modules/config/services/modules-type-mapper.service.js.map +1 -1
- package/dist/modules/config/services/plugin-config-mutation-registry.service.d.ts +9 -0
- package/dist/modules/config/services/plugin-config-mutation-registry.service.js +50 -0
- package/dist/modules/config/services/plugin-config-mutation-registry.service.js.map +1 -0
- package/dist/modules/config/services/plugin-config-validator.service.d.ts +1 -0
- package/dist/modules/config/services/plugin-config-validator.service.js +4 -4
- package/dist/modules/config/services/plugin-config-validator.service.js.map +1 -1
- package/dist/modules/config/services/plugins-type-mapper.service.d.ts +2 -0
- package/dist/modules/config/services/plugins-type-mapper.service.js.map +1 -1
- package/dist/modules/dashboard/controllers/pages.controller.d.ts +6 -2
- package/dist/modules/dashboard/controllers/pages.controller.js +29 -2
- package/dist/modules/dashboard/controllers/pages.controller.js.map +1 -1
- package/dist/modules/dashboard/dashboard.module.js +2 -0
- package/dist/modules/dashboard/dashboard.module.js.map +1 -1
- package/dist/modules/dashboard/dashboard.openapi.d.ts +2 -2
- package/dist/modules/dashboard/dashboard.openapi.js +5 -0
- package/dist/modules/dashboard/dashboard.openapi.js.map +1 -1
- package/dist/modules/dashboard/dto/bulk-pages.dto.d.ts +7 -0
- package/dist/modules/dashboard/dto/bulk-pages.dto.js +53 -0
- package/dist/modules/dashboard/dto/bulk-pages.dto.js.map +1 -0
- package/dist/modules/dashboard/models/dashboard-response.model.d.ts +4 -0
- package/dist/modules/dashboard/models/dashboard-response.model.js +16 -1
- package/dist/modules/dashboard/models/dashboard-response.model.js.map +1 -1
- package/dist/modules/dashboard/services/pages-bulk.service.d.ts +8 -0
- package/dist/modules/dashboard/services/pages-bulk.service.js +35 -0
- package/dist/modules/dashboard/services/pages-bulk.service.js.map +1 -0
- package/dist/modules/devices/controllers/channels.properties.controller.js +9 -2
- package/dist/modules/devices/controllers/channels.properties.controller.js.map +1 -1
- package/dist/modules/devices/controllers/devices.channels.properties.controller.js +9 -2
- package/dist/modules/devices/controllers/devices.channels.properties.controller.js.map +1 -1
- package/dist/modules/devices/controllers/devices.controller.d.ts +9 -3
- package/dist/modules/devices/controllers/devices.controller.js +86 -8
- package/dist/modules/devices/controllers/devices.controller.js.map +1 -1
- package/dist/modules/devices/devices.constants.d.ts +10 -0
- package/dist/modules/devices/devices.constants.js +13 -1
- package/dist/modules/devices/devices.constants.js.map +1 -1
- package/dist/modules/devices/devices.module.js +20 -0
- package/dist/modules/devices/devices.module.js.map +1 -1
- package/dist/modules/devices/devices.openapi.d.ts +3 -2
- package/dist/modules/devices/devices.openapi.js +5 -0
- package/dist/modules/devices/devices.openapi.js.map +1 -1
- package/dist/modules/devices/dto/bulk-devices.dto.d.ts +14 -0
- package/dist/modules/devices/dto/bulk-devices.dto.js +99 -0
- package/dist/modules/devices/dto/bulk-devices.dto.js.map +1 -0
- package/dist/modules/devices/dto/create-device.dto.d.ts +3 -1
- package/dist/modules/devices/dto/create-device.dto.js +25 -0
- package/dist/modules/devices/dto/create-device.dto.js.map +1 -1
- package/dist/modules/devices/dto/list-devices-query.dto.d.ts +4 -0
- package/dist/modules/devices/dto/list-devices-query.dto.js +31 -0
- package/dist/modules/devices/dto/list-devices-query.dto.js.map +1 -0
- package/dist/modules/devices/dto/update-device.dto.d.ts +3 -1
- package/dist/modules/devices/dto/update-device.dto.js +25 -0
- package/dist/modules/devices/dto/update-device.dto.js.map +1 -1
- package/dist/modules/devices/entities/devices.entity.d.ts +3 -1
- package/dist/modules/devices/entities/devices.entity.js +30 -0
- package/dist/modules/devices/entities/devices.entity.js.map +1 -1
- package/dist/modules/devices/entities/property-value-lock.entity.d.ts +5 -0
- package/dist/modules/devices/entities/property-value-lock.entity.js +32 -0
- package/dist/modules/devices/entities/property-value-lock.entity.js.map +1 -0
- package/dist/modules/devices/models/devices-response.model.d.ts +4 -0
- package/dist/modules/devices/models/devices-response.model.js +16 -1
- package/dist/modules/devices/models/devices-response.model.js.map +1 -1
- package/dist/modules/devices/platforms/device.platform.d.ts +3 -0
- package/dist/modules/devices/services/channels-type-mapper.service.d.ts +1 -0
- package/dist/modules/devices/services/channels-type-mapper.service.js.map +1 -1
- package/dist/modules/devices/services/channels.properties-type-mapper.service.d.ts +2 -0
- package/dist/modules/devices/services/channels.properties-type-mapper.service.js.map +1 -1
- package/dist/modules/devices/services/channels.properties.service.d.ts +86 -2
- package/dist/modules/devices/services/channels.properties.service.js +377 -41
- package/dist/modules/devices/services/channels.properties.service.js.map +1 -1
- package/dist/modules/devices/services/channels.service.d.ts +14 -1
- package/dist/modules/devices/services/channels.service.js +125 -25
- package/dist/modules/devices/services/channels.service.js.map +1 -1
- package/dist/modules/devices/services/device-connection-state.service.d.ts +14 -5
- package/dist/modules/devices/services/device-connection-state.service.js +101 -20
- package/dist/modules/devices/services/device-connection-state.service.js.map +1 -1
- package/dist/modules/devices/services/device-connectivity.service.d.ts +5 -0
- package/dist/modules/devices/services/device-connectivity.service.js +9 -5
- package/dist/modules/devices/services/device-connectivity.service.js.map +1 -1
- package/dist/modules/devices/services/device-control-tool.service.d.ts +5 -13
- package/dist/modules/devices/services/device-control-tool.service.js +71 -115
- package/dist/modules/devices/services/device-control-tool.service.js.map +1 -1
- package/dist/modules/devices/services/device-structure-lock.service.d.ts +5 -0
- package/dist/modules/devices/services/device-structure-lock.service.js +30 -0
- package/dist/modules/devices/services/device-structure-lock.service.js.map +1 -0
- package/dist/modules/devices/services/device-zones.service.d.ts +4 -1
- package/dist/modules/devices/services/device-zones.service.js +63 -25
- package/dist/modules/devices/services/device-zones.service.js.map +1 -1
- package/dist/modules/devices/services/devices-bulk.service.d.ts +12 -0
- package/dist/modules/devices/services/devices-bulk.service.js +74 -0
- package/dist/modules/devices/services/devices-bulk.service.js.map +1 -0
- package/dist/modules/devices/services/devices-type-mapper.service.d.ts +1 -0
- package/dist/modules/devices/services/devices-type-mapper.service.js.map +1 -1
- package/dist/modules/devices/services/devices.service.d.ts +58 -2
- package/dist/modules/devices/services/devices.service.js +359 -20
- package/dist/modules/devices/services/devices.service.js.map +1 -1
- package/dist/modules/devices/services/platform.registry.service.d.ts +7 -1
- package/dist/modules/devices/services/platform.registry.service.js +19 -0
- package/dist/modules/devices/services/platform.registry.service.js.map +1 -1
- package/dist/modules/devices/services/property-command.service.d.ts +23 -1
- package/dist/modules/devices/services/property-command.service.js +124 -50
- package/dist/modules/devices/services/property-command.service.js.map +1 -1
- package/dist/modules/devices/services/property-timeseries.service.d.ts +4 -1
- package/dist/modules/devices/services/property-timeseries.service.js +25 -13
- package/dist/modules/devices/services/property-timeseries.service.js.map +1 -1
- package/dist/modules/devices/services/property-value-lock.service.d.ts +20 -0
- package/dist/modules/devices/services/property-value-lock.service.js +147 -0
- package/dist/modules/devices/services/property-value-lock.service.js.map +1 -0
- package/dist/modules/devices/services/property-value-source.registry.service.d.ts +13 -0
- package/dist/modules/devices/services/property-value-source.registry.service.js +42 -0
- package/dist/modules/devices/services/property-value-source.registry.service.js.map +1 -0
- package/dist/modules/devices/services/property-value.service.d.ts +86 -3
- package/dist/modules/devices/services/property-value.service.js +527 -76
- package/dist/modules/devices/services/property-value.service.js.map +1 -1
- package/dist/modules/devices/subscribers/channel-property-entity.subscriber.d.ts +0 -1
- package/dist/modules/devices/subscribers/channel-property-entity.subscriber.js +2 -19
- package/dist/modules/devices/subscribers/channel-property-entity.subscriber.js.map +1 -1
- package/dist/modules/devices/utils/property-command-value.utils.d.ts +13 -0
- package/dist/modules/devices/utils/property-command-value.utils.js +147 -0
- package/dist/modules/devices/utils/property-command-value.utils.js.map +1 -0
- package/dist/modules/devices/utils/property-metadata.utils.d.ts +2 -0
- package/dist/modules/devices/utils/property-metadata.utils.js +22 -0
- package/dist/modules/devices/utils/property-metadata.utils.js.map +1 -0
- package/dist/modules/devices/utils/schema.utils.js +25 -151
- package/dist/modules/devices/utils/schema.utils.js.map +1 -1
- package/dist/modules/devices/utils/unique-constraint.utils.d.ts +1 -0
- package/dist/modules/devices/utils/unique-constraint.utils.js +27 -0
- package/dist/modules/devices/utils/unique-constraint.utils.js.map +1 -0
- package/dist/modules/devices/validators/channel-exists-constraint.validator.js +1 -1
- package/dist/modules/devices/validators/channel-exists-constraint.validator.js.map +1 -1
- package/dist/modules/devices/validators/device-exists-constraint.validator.js +1 -1
- package/dist/modules/devices/validators/device-exists-constraint.validator.js.map +1 -1
- package/dist/modules/devices/validators/device-not-hidden-constraint.validator.d.ts +9 -0
- package/dist/modules/devices/validators/device-not-hidden-constraint.validator.js +47 -0
- package/dist/modules/devices/validators/device-not-hidden-constraint.validator.js.map +1 -0
- package/dist/modules/displays/controllers/displays.controller.d.ts +6 -2
- package/dist/modules/displays/controllers/displays.controller.js +30 -1
- package/dist/modules/displays/controllers/displays.controller.js.map +1 -1
- package/dist/modules/displays/controllers/registration.controller.d.ts +6 -4
- package/dist/modules/displays/controllers/registration.controller.js +8 -5
- package/dist/modules/displays/controllers/registration.controller.js.map +1 -1
- package/dist/modules/displays/displays.module.js +5 -0
- package/dist/modules/displays/displays.module.js.map +1 -1
- package/dist/modules/displays/displays.openapi.d.ts +4 -2
- package/dist/modules/displays/displays.openapi.js +5 -0
- package/dist/modules/displays/displays.openapi.js.map +1 -1
- package/dist/modules/displays/dto/bulk-displays.dto.d.ts +7 -0
- package/dist/modules/displays/dto/bulk-displays.dto.js +53 -0
- package/dist/modules/displays/dto/bulk-displays.dto.js.map +1 -0
- package/dist/modules/displays/guards/registration.guard.d.ts +4 -1
- package/dist/modules/displays/guards/registration.guard.js +18 -5
- package/dist/modules/displays/guards/registration.guard.js.map +1 -1
- package/dist/modules/displays/models/displays-response.model.d.ts +4 -0
- package/dist/modules/displays/models/displays-response.model.js +16 -1
- package/dist/modules/displays/models/displays-response.model.js.map +1 -1
- package/dist/modules/displays/services/displays-bulk.service.d.ts +8 -0
- package/dist/modules/displays/services/displays-bulk.service.js +39 -0
- package/dist/modules/displays/services/displays-bulk.service.js.map +1 -0
- package/dist/modules/displays/utils/ip.utils.d.ts +0 -2
- package/dist/modules/displays/utils/ip.utils.js +0 -25
- package/dist/modules/displays/utils/ip.utils.js.map +1 -1
- package/dist/modules/energy/energy.module.js +6 -2
- package/dist/modules/energy/energy.module.js.map +1 -1
- package/dist/modules/energy/energy.openapi.d.ts +3 -1
- package/dist/modules/energy/energy.openapi.js +4 -0
- package/dist/modules/energy/energy.openapi.js.map +1 -1
- package/dist/modules/energy/listeners/energy-ingestion.listener.d.ts +8 -1
- package/dist/modules/energy/listeners/energy-ingestion.listener.js +72 -28
- package/dist/modules/energy/listeners/energy-ingestion.listener.js.map +1 -1
- package/dist/modules/energy/services/energy-claim.registry.service.d.ts +16 -0
- package/dist/modules/energy/services/energy-claim.registry.service.js +41 -0
- package/dist/modules/energy/services/energy-claim.registry.service.js.map +1 -0
- package/dist/modules/energy/services/energy-data.service.d.ts +2 -0
- package/dist/modules/energy/services/energy-data.service.js +22 -6
- package/dist/modules/energy/services/energy-data.service.js.map +1 -1
- package/dist/modules/energy/utils/energy-source-type.utils.d.ts +8 -0
- package/dist/modules/energy/utils/energy-source-type.utils.js +30 -0
- package/dist/modules/energy/utils/energy-source-type.utils.js.map +1 -0
- package/dist/modules/extensions/commands/services.command.d.ts +9 -9
- package/dist/modules/extensions/commands/services.command.js +73 -60
- package/dist/modules/extensions/commands/services.command.js.map +1 -1
- package/dist/modules/extensions/controllers/extensions.controller.d.ts +7 -3
- package/dist/modules/extensions/controllers/extensions.controller.js +31 -5
- package/dist/modules/extensions/controllers/extensions.controller.js.map +1 -1
- package/dist/modules/extensions/controllers/services.controller.d.ts +8 -7
- package/dist/modules/extensions/controllers/services.controller.js +79 -59
- package/dist/modules/extensions/controllers/services.controller.js.map +1 -1
- package/dist/modules/extensions/dto/bulk-extensions.dto.d.ts +8 -0
- package/dist/modules/extensions/dto/bulk-extensions.dto.js +63 -0
- package/dist/modules/extensions/dto/bulk-extensions.dto.js.map +1 -0
- package/dist/modules/extensions/dto/update-config.dto.js +1 -1
- package/dist/modules/extensions/dto/update-config.dto.js.map +1 -1
- package/dist/modules/extensions/extensions.constants.js +2 -2
- package/dist/modules/extensions/extensions.constants.js.map +1 -1
- package/dist/modules/extensions/extensions.exceptions.d.ts +3 -0
- package/dist/modules/extensions/extensions.exceptions.js +7 -1
- package/dist/modules/extensions/extensions.exceptions.js.map +1 -1
- package/dist/modules/extensions/extensions.module.js +13 -11
- package/dist/modules/extensions/extensions.module.js.map +1 -1
- package/dist/modules/extensions/extensions.openapi.d.ts +3 -2
- package/dist/modules/extensions/extensions.openapi.js +5 -0
- package/dist/modules/extensions/extensions.openapi.js.map +1 -1
- package/dist/modules/extensions/models/extensions-response.model.d.ts +4 -0
- package/dist/modules/extensions/models/extensions-response.model.js +16 -1
- package/dist/modules/extensions/models/extensions-response.model.js.map +1 -1
- package/dist/modules/extensions/models/service-status.model.d.ts +5 -2
- package/dist/modules/extensions/models/service-status.model.js +36 -6
- package/dist/modules/extensions/models/service-status.model.js.map +1 -1
- package/dist/modules/extensions/providers/extensions-stats.provider.d.ts +3 -3
- package/dist/modules/extensions/providers/extensions-stats.provider.js +6 -6
- package/dist/modules/extensions/providers/extensions-stats.provider.js.map +1 -1
- package/dist/modules/extensions/services/{base-managed-plugin.service.d.ts → base-managed-extension.service.d.ts} +3 -3
- package/dist/modules/extensions/services/{base-managed-plugin.service.js → base-managed-extension.service.js} +4 -4
- package/dist/modules/extensions/services/base-managed-extension.service.js.map +1 -0
- package/dist/modules/extensions/services/extensions-bulk.service.d.ts +8 -0
- package/dist/modules/extensions/services/extensions-bulk.service.js +41 -0
- package/dist/modules/extensions/services/extensions-bulk.service.js.map +1 -0
- package/dist/modules/extensions/services/extensions.service.d.ts +1 -1
- package/dist/modules/extensions/services/extensions.service.js +14 -5
- package/dist/modules/extensions/services/extensions.service.js.map +1 -1
- package/dist/modules/extensions/services/{managed-plugin-service.interface.d.ts → managed-extension-service.interface.d.ts} +16 -5
- package/dist/modules/extensions/services/managed-extension-service.interface.js +3 -0
- package/dist/modules/extensions/services/managed-extension-service.interface.js.map +1 -0
- package/dist/modules/extensions/services/managed-service-manager.service.d.ts +57 -0
- package/dist/modules/extensions/services/{plugin-service-manager.service.js → managed-service-manager.service.js} +260 -73
- package/dist/modules/extensions/services/managed-service-manager.service.js.map +1 -0
- package/dist/modules/home-context/home-context-pagination.errors.d.ts +5 -0
- package/dist/modules/home-context/home-context-pagination.errors.js +13 -0
- package/dist/modules/home-context/home-context-pagination.errors.js.map +1 -0
- package/dist/modules/home-context/home-context.constants.d.ts +66 -0
- package/dist/modules/home-context/home-context.constants.js +81 -0
- package/dist/modules/home-context/home-context.constants.js.map +1 -0
- package/dist/modules/home-context/home-context.errors.d.ts +5 -0
- package/dist/modules/home-context/home-context.errors.js +13 -0
- package/dist/modules/home-context/home-context.errors.js.map +1 -0
- package/dist/modules/home-context/home-context.module.d.ts +2 -0
- package/dist/modules/home-context/home-context.module.js +44 -0
- package/dist/modules/home-context/home-context.module.js.map +1 -0
- package/dist/modules/home-context/home-current-state.errors.d.ts +5 -0
- package/dist/modules/home-context/home-current-state.errors.js +13 -0
- package/dist/modules/home-context/home-current-state.errors.js.map +1 -0
- package/dist/modules/home-context/home-search.errors.d.ts +11 -0
- package/dist/modules/home-context/home-search.errors.js +25 -0
- package/dist/modules/home-context/home-search.errors.js.map +1 -0
- package/dist/modules/home-context/home-state.errors.d.ts +24 -0
- package/dist/modules/home-context/home-state.errors.js +44 -0
- package/dist/modules/home-context/home-state.errors.js.map +1 -0
- package/dist/modules/home-context/models/home-context-query.model.d.ts +10 -0
- package/dist/modules/home-context/models/home-context-query.model.js +3 -0
- package/dist/modules/home-context/models/home-context-query.model.js.map +1 -0
- package/dist/modules/home-context/models/home-context-result.model.d.ts +124 -0
- package/dist/modules/home-context/models/home-context-result.model.js +3 -0
- package/dist/modules/home-context/models/home-context-result.model.js.map +1 -0
- package/dist/modules/home-context/models/home-current-state-query.model.d.ts +33 -0
- package/dist/modules/home-context/models/home-current-state-query.model.js +3 -0
- package/dist/modules/home-context/models/home-current-state-query.model.js.map +1 -0
- package/dist/modules/home-context/models/home-current-state-result.model.d.ts +70 -0
- package/dist/modules/home-context/models/home-current-state-result.model.js +3 -0
- package/dist/modules/home-context/models/home-current-state-result.model.js.map +1 -0
- package/dist/modules/home-context/models/home-search-query.model.d.ts +11 -0
- package/dist/modules/home-context/models/home-search-query.model.js +3 -0
- package/dist/modules/home-context/models/home-search-query.model.js.map +1 -0
- package/dist/modules/home-context/models/home-search-result.model.d.ts +71 -0
- package/dist/modules/home-context/models/home-search-result.model.js +3 -0
- package/dist/modules/home-context/models/home-search-result.model.js.map +1 -0
- package/dist/modules/home-context/models/home-state-query.model.d.ts +26 -0
- package/dist/modules/home-context/models/home-state-query.model.js +3 -0
- package/dist/modules/home-context/models/home-state-query.model.js.map +1 -0
- package/dist/modules/home-context/models/home-state-result.model.d.ts +48 -0
- package/dist/modules/home-context/models/home-state-result.model.js +3 -0
- package/dist/modules/home-context/models/home-state-result.model.js.map +1 -0
- package/dist/modules/home-context/models/home-target-query.model.d.ts +9 -0
- package/dist/modules/home-context/models/home-target-query.model.js +3 -0
- package/dist/modules/home-context/models/home-target-query.model.js.map +1 -0
- package/dist/modules/home-context/models/home-target-result.model.d.ts +43 -0
- package/dist/modules/home-context/models/home-target-result.model.js +3 -0
- package/dist/modules/home-context/models/home-target-result.model.js.map +1 -0
- package/dist/modules/home-context/schemas/home-context-input.schemas.d.ts +9 -0
- package/dist/modules/home-context/schemas/home-context-input.schemas.js +22 -0
- package/dist/modules/home-context/schemas/home-context-input.schemas.js.map +1 -0
- package/dist/modules/home-context/schemas/home-context-output.schemas.d.ts +125 -0
- package/dist/modules/home-context/schemas/home-context-output.schemas.js +147 -0
- package/dist/modules/home-context/schemas/home-context-output.schemas.js.map +1 -0
- package/dist/modules/home-context/schemas/home-current-state-input.schemas.d.ts +150 -0
- package/dist/modules/home-context/schemas/home-current-state-input.schemas.js +59 -0
- package/dist/modules/home-context/schemas/home-current-state-input.schemas.js.map +1 -0
- package/dist/modules/home-context/schemas/home-current-state-output.schemas.d.ts +275 -0
- package/dist/modules/home-context/schemas/home-current-state-output.schemas.js +139 -0
- package/dist/modules/home-context/schemas/home-current-state-output.schemas.js.map +1 -0
- package/dist/modules/home-context/schemas/home-search-input.schemas.d.ts +20 -0
- package/dist/modules/home-context/schemas/home-search-input.schemas.js +29 -0
- package/dist/modules/home-context/schemas/home-search-input.schemas.js.map +1 -0
- package/dist/modules/home-context/schemas/home-search-output.schemas.d.ts +112 -0
- package/dist/modules/home-context/schemas/home-search-output.schemas.js +84 -0
- package/dist/modules/home-context/schemas/home-search-output.schemas.js.map +1 -0
- package/dist/modules/home-context/schemas/home-state-input.schemas.d.ts +30 -0
- package/dist/modules/home-context/schemas/home-state-input.schemas.js +37 -0
- package/dist/modules/home-context/schemas/home-state-input.schemas.js.map +1 -0
- package/dist/modules/home-context/schemas/home-state-output.schemas.d.ts +116 -0
- package/dist/modules/home-context/schemas/home-state-output.schemas.js +129 -0
- package/dist/modules/home-context/schemas/home-state-output.schemas.js.map +1 -0
- package/dist/modules/home-context/schemas/home-target-input.schemas.d.ts +9 -0
- package/dist/modules/home-context/schemas/home-target-input.schemas.js +15 -0
- package/dist/modules/home-context/schemas/home-target-input.schemas.js.map +1 -0
- package/dist/modules/home-context/schemas/home-target-output.schemas.d.ts +40 -0
- package/dist/modules/home-context/schemas/home-target-output.schemas.js +61 -0
- package/dist/modules/home-context/schemas/home-target-output.schemas.js.map +1 -0
- package/dist/modules/home-context/services/home-context-query.service.d.ts +31 -0
- package/dist/modules/home-context/services/home-context-query.service.js +264 -0
- package/dist/modules/home-context/services/home-context-query.service.js.map +1 -0
- package/dist/modules/home-context/services/home-current-state-query.service.d.ts +17 -0
- package/dist/modules/home-context/services/home-current-state-query.service.js +256 -0
- package/dist/modules/home-context/services/home-current-state-query.service.js.map +1 -0
- package/dist/modules/home-context/services/home-search-query.service.d.ts +30 -0
- package/dist/modules/home-context/services/home-search-query.service.js +443 -0
- package/dist/modules/home-context/services/home-search-query.service.js.map +1 -0
- package/dist/modules/home-context/services/home-state-query.service.d.ts +35 -0
- package/dist/modules/home-context/services/home-state-query.service.js +263 -0
- package/dist/modules/home-context/services/home-state-query.service.js.map +1 -0
- package/dist/modules/home-context/services/home-target-query.service.d.ts +21 -0
- package/dist/modules/home-context/services/home-target-query.service.js +149 -0
- package/dist/modules/home-context/services/home-target-query.service.js.map +1 -0
- package/dist/modules/mcp/controllers/mcp-clients.controller.d.ts +17 -0
- package/dist/modules/mcp/controllers/mcp-clients.controller.js +201 -0
- package/dist/modules/mcp/controllers/mcp-clients.controller.js.map +1 -0
- package/dist/modules/mcp/controllers/mcp-oauth-clients.controller.d.ts +17 -0
- package/dist/modules/mcp/controllers/mcp-oauth-clients.controller.js +162 -0
- package/dist/modules/mcp/controllers/mcp-oauth-clients.controller.js.map +1 -0
- package/dist/modules/mcp/controllers/mcp-oauth-interactions.controller.d.ts +15 -0
- package/dist/modules/mcp/controllers/mcp-oauth-interactions.controller.js +136 -0
- package/dist/modules/mcp/controllers/mcp-oauth-interactions.controller.js.map +1 -0
- package/dist/modules/mcp/controllers/mcp-oauth-management.controller.d.ts +20 -0
- package/dist/modules/mcp/controllers/mcp-oauth-management.controller.js +271 -0
- package/dist/modules/mcp/controllers/mcp-oauth-management.controller.js.map +1 -0
- package/dist/modules/mcp/controllers/mcp.controller.d.ts +17 -0
- package/dist/modules/mcp/controllers/mcp.controller.js +87 -0
- package/dist/modules/mcp/controllers/mcp.controller.js.map +1 -0
- package/dist/modules/mcp/decorators/mcp-endpoint.decorator.d.ts +1 -0
- package/dist/modules/mcp/decorators/mcp-endpoint.decorator.js +8 -0
- package/dist/modules/mcp/decorators/mcp-endpoint.decorator.js.map +1 -0
- package/dist/modules/mcp/dto/mcp-client.dto.d.ts +25 -0
- package/dist/modules/mcp/dto/mcp-client.dto.js +185 -0
- package/dist/modules/mcp/dto/mcp-client.dto.js.map +1 -0
- package/dist/modules/mcp/dto/mcp-oauth-client.dto.d.ts +18 -0
- package/dist/modules/mcp/dto/mcp-oauth-client.dto.js +135 -0
- package/dist/modules/mcp/dto/mcp-oauth-client.dto.js.map +1 -0
- package/dist/modules/mcp/dto/mcp-oauth-grant.dto.d.ts +7 -0
- package/dist/modules/mcp/dto/mcp-oauth-grant.dto.js +51 -0
- package/dist/modules/mcp/dto/mcp-oauth-grant.dto.js.map +1 -0
- package/dist/modules/mcp/dto/mcp-oauth-interaction.dto.d.ts +8 -0
- package/dist/modules/mcp/dto/mcp-oauth-interaction.dto.js +68 -0
- package/dist/modules/mcp/dto/mcp-oauth-interaction.dto.js.map +1 -0
- package/dist/modules/mcp/dto/update-config.dto.d.ts +9 -0
- package/dist/modules/mcp/dto/update-config.dto.js +102 -0
- package/dist/modules/mcp/dto/update-config.dto.js.map +1 -0
- package/dist/modules/mcp/entities/mcp-client.entity.d.ts +17 -0
- package/dist/modules/mcp/entities/mcp-client.entity.js +154 -0
- package/dist/modules/mcp/entities/mcp-client.entity.js.map +1 -0
- package/dist/modules/mcp/entities/mcp-installation.entity.d.ts +5 -0
- package/dist/modules/mcp/entities/mcp-installation.entity.js +32 -0
- package/dist/modules/mcp/entities/mcp-installation.entity.js.map +1 -0
- package/dist/modules/mcp/entities/mcp-oauth.entity.d.ts +143 -0
- package/dist/modules/mcp/entities/mcp-oauth.entity.js +602 -0
- package/dist/modules/mcp/entities/mcp-oauth.entity.js.map +1 -0
- package/dist/modules/mcp/guards/mcp-client.guard.d.ts +14 -0
- package/dist/modules/mcp/guards/mcp-client.guard.js +73 -0
- package/dist/modules/mcp/guards/mcp-client.guard.js.map +1 -0
- package/dist/modules/mcp/guards/mcp-throttle.guard.d.ts +26 -0
- package/dist/modules/mcp/guards/mcp-throttle.guard.js +161 -0
- package/dist/modules/mcp/guards/mcp-throttle.guard.js.map +1 -0
- package/dist/modules/mcp/listeners/mcp-config.listener.d.ts +22 -0
- package/dist/modules/mcp/listeners/mcp-config.listener.js +104 -0
- package/dist/modules/mcp/listeners/mcp-config.listener.js.map +1 -0
- package/dist/modules/mcp/mcp.constants.d.ts +68 -0
- package/dist/modules/mcp/mcp.constants.js +77 -0
- package/dist/modules/mcp/mcp.constants.js.map +1 -0
- package/dist/modules/mcp/mcp.exceptions.d.ts +4 -0
- package/dist/modules/mcp/mcp.exceptions.js +11 -0
- package/dist/modules/mcp/mcp.exceptions.js.map +1 -0
- package/dist/modules/mcp/mcp.module.d.ts +23 -0
- package/dist/modules/mcp/mcp.module.js +272 -0
- package/dist/modules/mcp/mcp.module.js.map +1 -0
- package/dist/modules/mcp/mcp.openapi.d.ts +13 -0
- package/dist/modules/mcp/mcp.openapi.js +60 -0
- package/dist/modules/mcp/mcp.openapi.js.map +1 -0
- package/dist/modules/mcp/models/config.model.d.ts +10 -0
- package/dist/modules/mcp/models/config.model.js +106 -0
- package/dist/modules/mcp/models/config.model.js.map +1 -0
- package/dist/modules/mcp/models/mcp-client-response.model.d.ts +12 -0
- package/dist/modules/mcp/models/mcp-client-response.model.js +51 -0
- package/dist/modules/mcp/models/mcp-client-response.model.js.map +1 -0
- package/dist/modules/mcp/models/mcp-client.model.d.ts +5 -0
- package/dist/modules/mcp/models/mcp-client.model.js +35 -0
- package/dist/modules/mcp/models/mcp-client.model.js.map +1 -0
- package/dist/modules/mcp/models/mcp-oauth-client-response.model.d.ts +8 -0
- package/dist/modules/mcp/models/mcp-oauth-client-response.model.js +39 -0
- package/dist/modules/mcp/models/mcp-oauth-client-response.model.js.map +1 -0
- package/dist/modules/mcp/models/mcp-oauth-client.model.d.ts +13 -0
- package/dist/modules/mcp/models/mcp-oauth-client.model.js +85 -0
- package/dist/modules/mcp/models/mcp-oauth-client.model.js.map +1 -0
- package/dist/modules/mcp/models/mcp-oauth-interaction-response.model.d.ts +8 -0
- package/dist/modules/mcp/models/mcp-oauth-interaction-response.model.js +39 -0
- package/dist/modules/mcp/models/mcp-oauth-interaction-response.model.js.map +1 -0
- package/dist/modules/mcp/models/mcp-oauth-interaction.model.d.ts +23 -0
- package/dist/modules/mcp/models/mcp-oauth-interaction.model.js +111 -0
- package/dist/modules/mcp/models/mcp-oauth-interaction.model.js.map +1 -0
- package/dist/modules/mcp/models/mcp-oauth-management-response.model.d.ts +23 -0
- package/dist/modules/mcp/models/mcp-oauth-management-response.model.js +94 -0
- package/dist/modules/mcp/models/mcp-oauth-management-response.model.js.map +1 -0
- package/dist/modules/mcp/models/mcp-oauth-management.model.d.ts +35 -0
- package/dist/modules/mcp/models/mcp-oauth-management.model.js +189 -0
- package/dist/modules/mcp/models/mcp-oauth-management.model.js.map +1 -0
- package/dist/modules/mcp/oauth/mcp-oauth-metadata.d.ts +15 -0
- package/dist/modules/mcp/oauth/mcp-oauth-metadata.js +18 -0
- package/dist/modules/mcp/oauth/mcp-oauth-metadata.js.map +1 -0
- package/dist/modules/mcp/oauth/mcp-oauth-provider.adapter.d.ts +21 -0
- package/dist/modules/mcp/oauth/mcp-oauth-provider.adapter.js +297 -0
- package/dist/modules/mcp/oauth/mcp-oauth-provider.adapter.js.map +1 -0
- package/dist/modules/mcp/oauth/mcp-oauth-provider.factory.d.ts +49 -0
- package/dist/modules/mcp/oauth/mcp-oauth-provider.factory.js +324 -0
- package/dist/modules/mcp/oauth/mcp-oauth-provider.factory.js.map +1 -0
- package/dist/modules/mcp/oauth/mcp-oauth-provider.loader.d.ts +4 -0
- package/dist/modules/mcp/oauth/mcp-oauth-provider.loader.js +7 -0
- package/dist/modules/mcp/oauth/mcp-oauth-provider.loader.js.map +1 -0
- package/dist/modules/mcp/oauth/mcp-oauth-redaction.d.ts +1 -0
- package/dist/modules/mcp/oauth/mcp-oauth-redaction.js +17 -0
- package/dist/modules/mcp/oauth/mcp-oauth-redaction.js.map +1 -0
- package/dist/modules/mcp/oauth/mcp-oauth-scope.utils.d.ts +3 -0
- package/dist/modules/mcp/oauth/mcp-oauth-scope.utils.js +29 -0
- package/dist/modules/mcp/oauth/mcp-oauth-scope.utils.js.map +1 -0
- package/dist/modules/mcp/oauth/mcp-oauth.types.d.ts +31 -0
- package/dist/modules/mcp/oauth/mcp-oauth.types.js +3 -0
- package/dist/modules/mcp/oauth/mcp-oauth.types.js.map +1 -0
- package/dist/modules/mcp/providers/mcp-stats.provider.d.ts +19 -0
- package/dist/modules/mcp/providers/mcp-stats.provider.js +38 -0
- package/dist/modules/mcp/providers/mcp-stats.provider.js.map +1 -0
- package/dist/modules/mcp/services/mcp-audit.service.d.ts +74 -0
- package/dist/modules/mcp/services/mcp-audit.service.js +161 -0
- package/dist/modules/mcp/services/mcp-audit.service.js.map +1 -0
- package/dist/modules/mcp/services/mcp-client.service.d.ts +34 -0
- package/dist/modules/mcp/services/mcp-client.service.js +241 -0
- package/dist/modules/mcp/services/mcp-client.service.js.map +1 -0
- package/dist/modules/mcp/services/mcp-context.service.d.ts +32 -0
- package/dist/modules/mcp/services/mcp-context.service.js +136 -0
- package/dist/modules/mcp/services/mcp-context.service.js.map +1 -0
- package/dist/modules/mcp/services/mcp-installation.service.d.ts +9 -0
- package/dist/modules/mcp/services/mcp-installation.service.js +55 -0
- package/dist/modules/mcp/services/mcp-installation.service.js.map +1 -0
- package/dist/modules/mcp/services/mcp-oauth-approver-authority.service.d.ts +20 -0
- package/dist/modules/mcp/services/mcp-oauth-approver-authority.service.js +128 -0
- package/dist/modules/mcp/services/mcp-oauth-approver-authority.service.js.map +1 -0
- package/dist/modules/mcp/services/mcp-oauth-artifact.service.d.ts +69 -0
- package/dist/modules/mcp/services/mcp-oauth-artifact.service.js +200 -0
- package/dist/modules/mcp/services/mcp-oauth-artifact.service.js.map +1 -0
- package/dist/modules/mcp/services/mcp-oauth-bootstrap.service.d.ts +22 -0
- package/dist/modules/mcp/services/mcp-oauth-bootstrap.service.js +116 -0
- package/dist/modules/mcp/services/mcp-oauth-bootstrap.service.js.map +1 -0
- package/dist/modules/mcp/services/mcp-oauth-client.service.d.ts +20 -0
- package/dist/modules/mcp/services/mcp-oauth-client.service.js +107 -0
- package/dist/modules/mcp/services/mcp-oauth-client.service.js.map +1 -0
- package/dist/modules/mcp/services/mcp-oauth-endpoint-rate-limit.service.d.ts +15 -0
- package/dist/modules/mcp/services/mcp-oauth-endpoint-rate-limit.service.js +52 -0
- package/dist/modules/mcp/services/mcp-oauth-endpoint-rate-limit.service.js.map +1 -0
- package/dist/modules/mcp/services/mcp-oauth-global-invalidation.service.d.ts +12 -0
- package/dist/modules/mcp/services/mcp-oauth-global-invalidation.service.js +82 -0
- package/dist/modules/mcp/services/mcp-oauth-global-invalidation.service.js.map +1 -0
- package/dist/modules/mcp/services/mcp-oauth-interaction.service.d.ts +36 -0
- package/dist/modules/mcp/services/mcp-oauth-interaction.service.js +312 -0
- package/dist/modules/mcp/services/mcp-oauth-interaction.service.js.map +1 -0
- package/dist/modules/mcp/services/mcp-oauth-lifecycle.service.d.ts +18 -0
- package/dist/modules/mcp/services/mcp-oauth-lifecycle.service.js +88 -0
- package/dist/modules/mcp/services/mcp-oauth-lifecycle.service.js.map +1 -0
- package/dist/modules/mcp/services/mcp-oauth-management.service.d.ts +45 -0
- package/dist/modules/mcp/services/mcp-oauth-management.service.js +381 -0
- package/dist/modules/mcp/services/mcp-oauth-management.service.js.map +1 -0
- package/dist/modules/mcp/services/mcp-oauth-module-config-mutation.service.d.ts +28 -0
- package/dist/modules/mcp/services/mcp-oauth-module-config-mutation.service.js +253 -0
- package/dist/modules/mcp/services/mcp-oauth-module-config-mutation.service.js.map +1 -0
- package/dist/modules/mcp/services/mcp-oauth-provider-material.service.d.ts +21 -0
- package/dist/modules/mcp/services/mcp-oauth-provider-material.service.js +130 -0
- package/dist/modules/mcp/services/mcp-oauth-provider-material.service.js.map +1 -0
- package/dist/modules/mcp/services/mcp-oauth-proxy-policy.service.d.ts +11 -0
- package/dist/modules/mcp/services/mcp-oauth-proxy-policy.service.js +53 -0
- package/dist/modules/mcp/services/mcp-oauth-proxy-policy.service.js.map +1 -0
- package/dist/modules/mcp/services/mcp-oauth-public-url.service.d.ts +7 -0
- package/dist/modules/mcp/services/mcp-oauth-public-url.service.js +47 -0
- package/dist/modules/mcp/services/mcp-oauth-public-url.service.js.map +1 -0
- package/dist/modules/mcp/services/mcp-oauth-readiness-registration.service.d.ts +25 -0
- package/dist/modules/mcp/services/mcp-oauth-readiness-registration.service.js +69 -0
- package/dist/modules/mcp/services/mcp-oauth-readiness-registration.service.js.map +1 -0
- package/dist/modules/mcp/services/mcp-oauth-readiness.service.d.ts +32 -0
- package/dist/modules/mcp/services/mcp-oauth-readiness.service.js +71 -0
- package/dist/modules/mcp/services/mcp-oauth-readiness.service.js.map +1 -0
- package/dist/modules/mcp/services/mcp-oauth-refresh-token.service.d.ts +13 -0
- package/dist/modules/mcp/services/mcp-oauth-refresh-token.service.js +91 -0
- package/dist/modules/mcp/services/mcp-oauth-refresh-token.service.js.map +1 -0
- package/dist/modules/mcp/services/mcp-oauth-resource-server.service.d.ts +40 -0
- package/dist/modules/mcp/services/mcp-oauth-resource-server.service.js +233 -0
- package/dist/modules/mcp/services/mcp-oauth-resource-server.service.js.map +1 -0
- package/dist/modules/mcp/services/mcp-oauth-route-gate.service.d.ts +12 -0
- package/dist/modules/mcp/services/mcp-oauth-route-gate.service.js +50 -0
- package/dist/modules/mcp/services/mcp-oauth-route-gate.service.js.map +1 -0
- package/dist/modules/mcp/services/mcp-oauth-runtime.service.d.ts +15 -0
- package/dist/modules/mcp/services/mcp-oauth-runtime.service.js +70 -0
- package/dist/modules/mcp/services/mcp-oauth-runtime.service.js.map +1 -0
- package/dist/modules/mcp/services/mcp-oauth-switch-off.service.d.ts +18 -0
- package/dist/modules/mcp/services/mcp-oauth-switch-off.service.js +74 -0
- package/dist/modules/mcp/services/mcp-oauth-switch-off.service.js.map +1 -0
- package/dist/modules/mcp/services/mcp-policy.service.d.ts +51 -0
- package/dist/modules/mcp/services/mcp-policy.service.js +162 -0
- package/dist/modules/mcp/services/mcp-policy.service.js.map +1 -0
- package/dist/modules/mcp/services/mcp-server.service.d.ts +50 -0
- package/dist/modules/mcp/services/mcp-server.service.js +513 -0
- package/dist/modules/mcp/services/mcp-server.service.js.map +1 -0
- package/dist/modules/mcp/services/mcp-subscription-registry.service.d.ts +76 -0
- package/dist/modules/mcp/services/mcp-subscription-registry.service.js +287 -0
- package/dist/modules/mcp/services/mcp-subscription-registry.service.js.map +1 -0
- package/dist/modules/mcp/tools/mcp-read-tool.service.d.ts +23 -0
- package/dist/modules/mcp/tools/mcp-read-tool.service.js +361 -0
- package/dist/modules/mcp/tools/mcp-read-tool.service.js.map +1 -0
- package/dist/modules/mcp/tools/mcp-target-discovery-tool.service.d.ts +35 -0
- package/dist/modules/mcp/tools/mcp-target-discovery-tool.service.js +374 -0
- package/dist/modules/mcp/tools/mcp-target-discovery-tool.service.js.map +1 -0
- package/dist/modules/mcp/validators/is-mcp-oauth-public-base-url.validator.d.ts +6 -0
- package/dist/modules/mcp/validators/is-mcp-oauth-public-base-url.validator.js +46 -0
- package/dist/modules/mcp/validators/is-mcp-oauth-public-base-url.validator.js.map +1 -0
- package/dist/modules/mcp/validators/is-mcp-oauth-redirect-uri.validator.d.ts +7 -0
- package/dist/modules/mcp/validators/is-mcp-oauth-redirect-uri.validator.js +65 -0
- package/dist/modules/mcp/validators/is-mcp-oauth-redirect-uri.validator.js.map +1 -0
- package/dist/modules/mcp/validators/is-mcp-origin.validator.d.ts +5 -0
- package/dist/modules/mcp/validators/is-mcp-origin.validator.js +35 -0
- package/dist/modules/mcp/validators/is-mcp-origin.validator.js.map +1 -0
- package/dist/modules/mdns/mdns.openapi.d.ts +1 -1
- package/dist/modules/mdns/services/mdns.service.d.ts +21 -4
- package/dist/modules/mdns/services/mdns.service.js +151 -69
- package/dist/modules/mdns/services/mdns.service.js.map +1 -1
- package/dist/modules/notifications/controllers/notifications.controller.d.ts +19 -0
- package/dist/modules/notifications/controllers/notifications.controller.js +312 -0
- package/dist/modules/notifications/controllers/notifications.controller.js.map +1 -0
- package/dist/modules/notifications/dto/bulk-remove-notifications.dto.d.ts +6 -0
- package/dist/modules/notifications/dto/bulk-remove-notifications.dto.js +56 -0
- package/dist/modules/notifications/dto/bulk-remove-notifications.dto.js.map +1 -0
- package/dist/modules/notifications/dto/bulk-update-notifications.dto.d.ts +8 -0
- package/dist/modules/notifications/dto/bulk-update-notifications.dto.js +78 -0
- package/dist/modules/notifications/dto/bulk-update-notifications.dto.js.map +1 -0
- package/dist/modules/notifications/dto/update-config.dto.d.ts +7 -0
- package/dist/modules/notifications/dto/update-config.dto.js +79 -0
- package/dist/modules/notifications/dto/update-config.dto.js.map +1 -0
- package/dist/modules/notifications/dto/update-notification.dto.d.ts +7 -0
- package/dist/modules/notifications/dto/update-notification.dto.js +58 -0
- package/dist/modules/notifications/dto/update-notification.dto.js.map +1 -0
- package/dist/modules/notifications/entities/notifications.entity.d.ts +19 -0
- package/dist/modules/notifications/entities/notifications.entity.js +209 -0
- package/dist/modules/notifications/entities/notifications.entity.js.map +1 -0
- package/dist/modules/notifications/models/config.model.d.ts +7 -0
- package/dist/modules/notifications/models/config.model.js +81 -0
- package/dist/modules/notifications/models/config.model.js.map +1 -0
- package/dist/modules/notifications/models/notification-action.model.d.ts +36 -0
- package/dist/modules/notifications/models/notification-action.model.js +132 -0
- package/dist/modules/notifications/models/notification-action.model.js.map +1 -0
- package/dist/modules/notifications/models/notifications-response.model.d.ts +13 -0
- package/dist/modules/notifications/models/notifications-response.model.js +69 -0
- package/dist/modules/notifications/models/notifications-response.model.js.map +1 -0
- package/dist/modules/notifications/notifications.constants.d.ts +43 -0
- package/dist/modules/notifications/notifications.constants.js +57 -0
- package/dist/modules/notifications/notifications.constants.js.map +1 -0
- package/dist/modules/notifications/notifications.exceptions.d.ts +6 -0
- package/dist/modules/notifications/notifications.exceptions.js +18 -0
- package/dist/modules/notifications/notifications.exceptions.js.map +1 -0
- package/dist/modules/notifications/notifications.module.d.ts +11 -0
- package/dist/modules/notifications/notifications.module.js +112 -0
- package/dist/modules/notifications/notifications.module.js.map +1 -0
- package/dist/modules/notifications/notifications.openapi.d.ts +6 -0
- package/dist/modules/notifications/notifications.openapi.js +18 -0
- package/dist/modules/notifications/notifications.openapi.js.map +1 -0
- package/dist/modules/notifications/notifications.utils.d.ts +1 -0
- package/dist/modules/notifications/notifications.utils.js +28 -0
- package/dist/modules/notifications/notifications.utils.js.map +1 -0
- package/dist/modules/notifications/platforms/notification-channel.platform.d.ts +31 -0
- package/dist/modules/notifications/platforms/notification-channel.platform.js +108 -0
- package/dist/modules/notifications/platforms/notification-channel.platform.js.map +1 -0
- package/dist/modules/notifications/services/notification-channel-registry.service.d.ts +8 -0
- package/dist/modules/notifications/services/notification-channel-registry.service.js +36 -0
- package/dist/modules/notifications/services/notification-channel-registry.service.js.map +1 -0
- package/dist/modules/notifications/services/notification-dispatcher.service.d.ts +28 -0
- package/dist/modules/notifications/services/notification-dispatcher.service.js +173 -0
- package/dist/modules/notifications/services/notification-dispatcher.service.js.map +1 -0
- package/dist/modules/notifications/services/notification-input.validator.d.ts +29 -0
- package/dist/modules/notifications/services/notification-input.validator.js +148 -0
- package/dist/modules/notifications/services/notification-input.validator.js.map +1 -0
- package/dist/modules/notifications/services/notifications-retention.service.d.ts +19 -0
- package/dist/modules/notifications/services/notifications-retention.service.js +151 -0
- package/dist/modules/notifications/services/notifications-retention.service.js.map +1 -0
- package/dist/modules/notifications/services/notifications.service.d.ts +67 -0
- package/dist/modules/notifications/services/notifications.service.js +348 -0
- package/dist/modules/notifications/services/notifications.service.js.map +1 -0
- package/dist/modules/platform/services/platform.service.d.ts +7 -0
- package/dist/modules/platform/services/platform.service.js +53 -1
- package/dist/modules/platform/services/platform.service.js.map +1 -1
- package/dist/modules/remote-access/controllers/remote-access.controller.d.ts +20 -0
- package/dist/modules/remote-access/controllers/remote-access.controller.js +160 -0
- package/dist/modules/remote-access/controllers/remote-access.controller.js.map +1 -0
- package/dist/modules/remote-access/dto/update-config.dto.d.ts +8 -0
- package/dist/modules/remote-access/dto/update-config.dto.js +104 -0
- package/dist/modules/remote-access/dto/update-config.dto.js.map +1 -0
- package/dist/modules/remote-access/models/config.model.d.ts +9 -0
- package/dist/modules/remote-access/models/config.model.js +113 -0
- package/dist/modules/remote-access/models/config.model.js.map +1 -0
- package/dist/modules/remote-access/models/provider.model.d.ts +38 -0
- package/dist/modules/remote-access/models/provider.model.js +311 -0
- package/dist/modules/remote-access/models/provider.model.js.map +1 -0
- package/dist/modules/remote-access/models/status.model.d.ts +12 -0
- package/dist/modules/remote-access/models/status.model.js +83 -0
- package/dist/modules/remote-access/models/status.model.js.map +1 -0
- package/dist/modules/remote-access/models/urls.model.d.ts +11 -0
- package/dist/modules/remote-access/models/urls.model.js +84 -0
- package/dist/modules/remote-access/models/urls.model.js.map +1 -0
- package/dist/modules/remote-access/platforms/remote-access-provider.platform.d.ts +38 -0
- package/dist/modules/remote-access/platforms/remote-access-provider.platform.js +3 -0
- package/dist/modules/remote-access/platforms/remote-access-provider.platform.js.map +1 -0
- package/dist/modules/remote-access/remote-access.constants.d.ts +11 -0
- package/dist/modules/remote-access/remote-access.constants.js +16 -0
- package/dist/modules/remote-access/remote-access.constants.js.map +1 -0
- package/dist/modules/remote-access/remote-access.exceptions.d.ts +12 -0
- package/dist/modules/remote-access/remote-access.exceptions.js +32 -0
- package/dist/modules/remote-access/remote-access.exceptions.js.map +1 -0
- package/dist/modules/remote-access/remote-access.module.d.ts +11 -0
- package/dist/modules/remote-access/remote-access.module.js +108 -0
- package/dist/modules/remote-access/remote-access.module.js.map +1 -0
- package/dist/modules/remote-access/remote-access.openapi.d.ts +6 -0
- package/dist/modules/remote-access/remote-access.openapi.js +23 -0
- package/dist/modules/remote-access/remote-access.openapi.js.map +1 -0
- package/dist/modules/remote-access/services/remote-access-posture.service.d.ts +12 -0
- package/dist/modules/remote-access/services/remote-access-posture.service.js +56 -0
- package/dist/modules/remote-access/services/remote-access-posture.service.js.map +1 -0
- package/dist/modules/remote-access/services/remote-access-provider-registry.service.d.ts +7 -0
- package/dist/modules/remote-access/services/remote-access-provider-registry.service.js +33 -0
- package/dist/modules/remote-access/services/remote-access-provider-registry.service.js.map +1 -0
- package/dist/modules/remote-access/services/remote-access-proxy-contribution.service.d.ts +29 -0
- package/dist/modules/remote-access/services/remote-access-proxy-contribution.service.js +137 -0
- package/dist/modules/remote-access/services/remote-access-proxy-contribution.service.js.map +1 -0
- package/dist/modules/remote-access/services/remote-access-status.service.d.ts +18 -0
- package/dist/modules/remote-access/services/remote-access-status.service.js +121 -0
- package/dist/modules/remote-access/services/remote-access-status.service.js.map +1 -0
- package/dist/modules/remote-access/services/remote-access-url.service.d.ts +41 -0
- package/dist/modules/remote-access/services/remote-access-url.service.js +201 -0
- package/dist/modules/remote-access/services/remote-access-url.service.js.map +1 -0
- package/dist/modules/remote-access/validators/is-remote-access-url.validator.d.ts +6 -0
- package/dist/modules/remote-access/validators/is-remote-access-url.validator.js +46 -0
- package/dist/modules/remote-access/validators/is-remote-access-url.validator.js.map +1 -0
- package/dist/modules/remote-access/validators/is-trusted-proxy-entry.validator.d.ts +5 -0
- package/dist/modules/remote-access/validators/is-trusted-proxy-entry.validator.js +26 -0
- package/dist/modules/remote-access/validators/is-trusted-proxy-entry.validator.js.map +1 -0
- package/dist/modules/scenes/controllers/scenes.controller.d.ts +7 -2
- package/dist/modules/scenes/controllers/scenes.controller.js +52 -2
- package/dist/modules/scenes/controllers/scenes.controller.js.map +1 -1
- package/dist/modules/scenes/dto/bulk-scenes.dto.d.ts +14 -0
- package/dist/modules/scenes/dto/bulk-scenes.dto.js +99 -0
- package/dist/modules/scenes/dto/bulk-scenes.dto.js.map +1 -0
- package/dist/modules/scenes/models/scenes-response.model.d.ts +4 -0
- package/dist/modules/scenes/models/scenes-response.model.js +16 -1
- package/dist/modules/scenes/models/scenes-response.model.js.map +1 -1
- package/dist/modules/scenes/scenes.module.js +3 -0
- package/dist/modules/scenes/scenes.module.js.map +1 -1
- package/dist/modules/scenes/scenes.openapi.d.ts +4 -2
- package/dist/modules/scenes/scenes.openapi.js +5 -0
- package/dist/modules/scenes/scenes.openapi.js.map +1 -1
- package/dist/modules/scenes/services/scene-executor.service.d.ts +4 -1
- package/dist/modules/scenes/services/scene-executor.service.js +28 -3
- package/dist/modules/scenes/services/scene-executor.service.js.map +1 -1
- package/dist/modules/scenes/services/scene-tool.service.d.ts +2 -3
- package/dist/modules/scenes/services/scene-tool.service.js +84 -25
- package/dist/modules/scenes/services/scene-tool.service.js.map +1 -1
- package/dist/modules/scenes/services/scenes-bulk.service.d.ts +9 -0
- package/dist/modules/scenes/services/scenes-bulk.service.js +42 -0
- package/dist/modules/scenes/services/scenes-bulk.service.js.map +1 -0
- package/dist/modules/scenes/services/scenes.service.d.ts +35 -0
- package/dist/modules/scenes/services/scenes.service.js +117 -0
- package/dist/modules/scenes/services/scenes.service.js.map +1 -1
- package/dist/modules/scenes/validators/scene-exists-constraint.validator.js +1 -1
- package/dist/modules/scenes/validators/scene-exists-constraint.validator.js.map +1 -1
- package/dist/modules/security/listeners/security-state.listener.d.ts +1 -0
- package/dist/modules/security/listeners/security-state.listener.js +9 -1
- package/dist/modules/security/listeners/security-state.listener.js.map +1 -1
- package/dist/modules/security/providers/security-sensors.provider.d.ts +12 -1
- package/dist/modules/security/providers/security-sensors.provider.js +132 -12
- package/dist/modules/security/providers/security-sensors.provider.js.map +1 -1
- package/dist/modules/security/security.openapi.d.ts +2 -1
- package/dist/modules/security/security.openapi.js +4 -0
- package/dist/modules/security/security.openapi.js.map +1 -1
- package/dist/modules/security/services/security-aggregator.service.d.ts +12 -2
- package/dist/modules/security/services/security-aggregator.service.js +33 -2
- package/dist/modules/security/services/security-aggregator.service.js.map +1 -1
- package/dist/modules/security/services/security-events.service.d.ts +7 -1
- package/dist/modules/security/services/security-events.service.js +38 -2
- package/dist/modules/security/services/security-events.service.js.map +1 -1
- package/dist/modules/security/services/security.service.d.ts +4 -1
- package/dist/modules/security/services/security.service.js +8 -0
- package/dist/modules/security/services/security.service.js.map +1 -1
- package/dist/modules/spaces/controllers/spaces.controller.d.ts +6 -2
- package/dist/modules/spaces/controllers/spaces.controller.js +43 -4
- package/dist/modules/spaces/controllers/spaces.controller.js.map +1 -1
- package/dist/modules/spaces/dto/bulk-assign.dto.js +1 -0
- package/dist/modules/spaces/dto/bulk-assign.dto.js.map +1 -1
- package/dist/modules/spaces/dto/bulk-spaces.dto.d.ts +7 -0
- package/dist/modules/spaces/dto/bulk-spaces.dto.js +53 -0
- package/dist/modules/spaces/dto/bulk-spaces.dto.js.map +1 -0
- package/dist/modules/spaces/dto/update-config.dto.js +1 -1
- package/dist/modules/spaces/models/config.model.js +1 -1
- package/dist/modules/spaces/models/spaces-response.model.d.ts +4 -0
- package/dist/modules/spaces/models/spaces-response.model.js +16 -1
- package/dist/modules/spaces/models/spaces-response.model.js.map +1 -1
- package/dist/modules/spaces/services/spaces-bulk.service.d.ts +8 -0
- package/dist/modules/spaces/services/spaces-bulk.service.js +35 -0
- package/dist/modules/spaces/services/spaces-bulk.service.js.map +1 -0
- package/dist/modules/spaces/services/spaces.service.d.ts +51 -1
- package/dist/modules/spaces/services/spaces.service.js +326 -19
- package/dist/modules/spaces/services/spaces.service.js.map +1 -1
- package/dist/modules/spaces/spaces.module.js +3 -0
- package/dist/modules/spaces/spaces.module.js.map +1 -1
- package/dist/modules/spaces/spaces.openapi.d.ts +4 -2
- package/dist/modules/spaces/spaces.openapi.js +5 -0
- package/dist/modules/spaces/spaces.openapi.js.map +1 -1
- package/dist/modules/storage/interfaces/storage-plugin.interface.d.ts +1 -0
- package/dist/modules/storage/models/config.model.js +2 -0
- package/dist/modules/storage/models/config.model.js.map +1 -1
- package/dist/modules/storage/services/storage-fallback-monitor.service.d.ts +14 -0
- package/dist/modules/storage/services/storage-fallback-monitor.service.js +110 -0
- package/dist/modules/storage/services/storage-fallback-monitor.service.js.map +1 -0
- package/dist/modules/storage/services/storage.service.d.ts +15 -0
- package/dist/modules/storage/services/storage.service.js +112 -0
- package/dist/modules/storage/services/storage.service.js.map +1 -1
- package/dist/modules/storage/storage.module.js +2 -1
- package/dist/modules/storage/storage.module.js.map +1 -1
- package/dist/modules/storage/storage.types.d.ts +1 -0
- package/dist/modules/swagger/decorators/api-documentation.decorator.d.ts +1 -0
- package/dist/modules/swagger/decorators/api-documentation.decorator.js +19 -1
- package/dist/modules/swagger/decorators/api-documentation.decorator.js.map +1 -1
- package/dist/modules/system/models/config.model.js +1 -0
- package/dist/modules/system/models/config.model.js.map +1 -1
- package/dist/modules/system/privileged-worker.module.d.ts +2 -0
- package/dist/modules/system/privileged-worker.module.js +24 -0
- package/dist/modules/system/privileged-worker.module.js.map +1 -0
- package/dist/modules/system/services/privileged-worker.service.d.ts +35 -0
- package/dist/modules/system/services/privileged-worker.service.js +200 -0
- package/dist/modules/system/services/privileged-worker.service.js.map +1 -0
- package/dist/modules/system/services/system-command.service.d.ts +3 -3
- package/dist/modules/system/services/system-command.service.js +5 -5
- package/dist/modules/system/services/system-command.service.js.map +1 -1
- package/dist/modules/system/services/system-throttle-monitor.service.d.ts +11 -0
- package/dist/modules/system/services/system-throttle-monitor.service.js +107 -0
- package/dist/modules/system/services/system-throttle-monitor.service.js.map +1 -0
- package/dist/modules/system/services/update-executor.service.d.ts +10 -5
- package/dist/modules/system/services/update-executor.service.js +131 -175
- package/dist/modules/system/services/update-executor.service.js.map +1 -1
- package/dist/modules/system/services/update.service.d.ts +6 -1
- package/dist/modules/system/services/update.service.js +37 -4
- package/dist/modules/system/services/update.service.js.map +1 -1
- package/dist/modules/system/system.exceptions.d.ts +3 -0
- package/dist/modules/system/system.exceptions.js +8 -1
- package/dist/modules/system/system.exceptions.js.map +1 -1
- package/dist/modules/system/system.module.js +2 -0
- package/dist/modules/system/system.module.js.map +1 -1
- package/dist/modules/tools/platforms/tool-provider.platform.d.ts +48 -1
- package/dist/modules/tools/platforms/tool-provider.platform.js +39 -0
- package/dist/modules/tools/platforms/tool-provider.platform.js.map +1 -1
- package/dist/modules/tools/services/base-tool-provider.service.d.ts +3 -3
- package/dist/modules/tools/services/base-tool-provider.service.js +43 -10
- package/dist/modules/tools/services/base-tool-provider.service.js.map +1 -1
- package/dist/modules/tools/services/short-id-mapping.service.d.ts +24 -0
- package/dist/modules/tools/services/short-id-mapping.service.js +119 -1
- package/dist/modules/tools/services/short-id-mapping.service.js.map +1 -1
- package/dist/modules/tools/services/tool-provider-registry.service.d.ts +7 -3
- package/dist/modules/tools/services/tool-provider-registry.service.js +125 -15
- package/dist/modules/tools/services/tool-provider-registry.service.js.map +1 -1
- package/dist/modules/tools/tools.constants.d.ts +3 -0
- package/dist/modules/tools/tools.constants.js +4 -1
- package/dist/modules/tools/tools.constants.js.map +1 -1
- package/dist/modules/users/controllers/users.controller.d.ts +6 -2
- package/dist/modules/users/controllers/users.controller.js +33 -2
- package/dist/modules/users/controllers/users.controller.js.map +1 -1
- package/dist/modules/users/dto/bulk-users.dto.d.ts +7 -0
- package/dist/modules/users/dto/bulk-users.dto.js +53 -0
- package/dist/modules/users/dto/bulk-users.dto.js.map +1 -0
- package/dist/modules/users/models/users-response.model.d.ts +4 -0
- package/dist/modules/users/models/users-response.model.js +16 -1
- package/dist/modules/users/models/users-response.model.js.map +1 -1
- package/dist/modules/users/services/user-lifecycle-mutation-registry.service.d.ts +28 -0
- package/dist/modules/users/services/user-lifecycle-mutation-registry.service.js +79 -0
- package/dist/modules/users/services/user-lifecycle-mutation-registry.service.js.map +1 -0
- package/dist/modules/users/services/users-bulk.service.d.ts +8 -0
- package/dist/modules/users/services/users-bulk.service.js +44 -0
- package/dist/modules/users/services/users-bulk.service.js.map +1 -0
- package/dist/modules/users/services/users.service.d.ts +3 -1
- package/dist/modules/users/services/users.service.js +12 -5
- package/dist/modules/users/services/users.service.js.map +1 -1
- package/dist/modules/users/users.exceptions.d.ts +3 -0
- package/dist/modules/users/users.exceptions.js +8 -1
- package/dist/modules/users/users.exceptions.js.map +1 -1
- package/dist/modules/users/users.module.js +5 -1
- package/dist/modules/users/users.module.js.map +1 -1
- package/dist/modules/users/users.openapi.d.ts +3 -2
- package/dist/modules/users/users.openapi.js +5 -0
- package/dist/modules/users/users.openapi.js.map +1 -1
- package/dist/modules/users/validators/user-exists-constraint.validator.js +1 -1
- package/dist/modules/users/validators/user-exists-constraint.validator.js.map +1 -1
- package/dist/modules/weather/controllers/locations.controller.d.ts +6 -2
- package/dist/modules/weather/controllers/locations.controller.js +39 -3
- package/dist/modules/weather/controllers/locations.controller.js.map +1 -1
- package/dist/modules/weather/dto/bulk-locations.dto.d.ts +7 -0
- package/dist/modules/weather/dto/bulk-locations.dto.js +53 -0
- package/dist/modules/weather/dto/bulk-locations.dto.js.map +1 -0
- package/dist/modules/weather/models/locations-response.model.d.ts +4 -0
- package/dist/modules/weather/models/locations-response.model.js +16 -1
- package/dist/modules/weather/models/locations-response.model.js.map +1 -1
- package/dist/modules/weather/services/locations-bulk.service.d.ts +8 -0
- package/dist/modules/weather/services/locations-bulk.service.js +35 -0
- package/dist/modules/weather/services/locations-bulk.service.js.map +1 -0
- package/dist/modules/weather/services/weather.service.d.ts +13 -3
- package/dist/modules/weather/services/weather.service.js +57 -4
- package/dist/modules/weather/services/weather.service.js.map +1 -1
- package/dist/modules/weather/weather.module.d.ts +5 -1
- package/dist/modules/weather/weather.module.js +9 -1
- package/dist/modules/weather/weather.module.js.map +1 -1
- package/dist/modules/weather/weather.openapi.d.ts +4 -2
- package/dist/modules/weather/weather.openapi.js +5 -0
- package/dist/modules/weather/weather.openapi.js.map +1 -1
- package/dist/modules/websocket/gateway/websocket.gateway.d.ts +4 -1
- package/dist/modules/websocket/gateway/websocket.gateway.js +24 -7
- package/dist/modules/websocket/gateway/websocket.gateway.js.map +1 -1
- package/dist/modules/websocket/services/ws-auth.service.js +7 -0
- package/dist/modules/websocket/services/ws-auth.service.js.map +1 -1
- package/dist/modules/websocket/websocket.constants.d.ts +1 -0
- package/dist/modules/websocket/websocket.constants.js +2 -1
- package/dist/modules/websocket/websocket.constants.js.map +1 -1
- package/dist/modules/websocket/websocket.module.js +2 -0
- package/dist/modules/websocket/websocket.module.js.map +1 -1
- package/dist/plugins/buddy-claude/buddy-claude.plugin.js +7 -0
- package/dist/plugins/buddy-claude/buddy-claude.plugin.js.map +1 -1
- package/dist/plugins/buddy-claude/dto/update-config.dto.js +2 -3
- package/dist/plugins/buddy-claude/dto/update-config.dto.js.map +1 -1
- package/dist/plugins/buddy-claude/models/config.model.d.ts +1 -0
- package/dist/plugins/buddy-claude/models/config.model.js +12 -1
- package/dist/plugins/buddy-claude/models/config.model.js.map +1 -1
- package/dist/plugins/buddy-claude/platforms/claude.provider.d.ts +3 -2
- package/dist/plugins/buddy-claude/platforms/claude.provider.js +3 -0
- package/dist/plugins/buddy-claude/platforms/claude.provider.js.map +1 -1
- package/dist/plugins/buddy-claude-setup-token/buddy-claude-setup-token.plugin.js +7 -0
- package/dist/plugins/buddy-claude-setup-token/buddy-claude-setup-token.plugin.js.map +1 -1
- package/dist/plugins/buddy-claude-setup-token/dto/update-config.dto.js +2 -1
- package/dist/plugins/buddy-claude-setup-token/dto/update-config.dto.js.map +1 -1
- package/dist/plugins/buddy-claude-setup-token/models/config.model.d.ts +1 -0
- package/dist/plugins/buddy-claude-setup-token/models/config.model.js +12 -1
- package/dist/plugins/buddy-claude-setup-token/models/config.model.js.map +1 -1
- package/dist/plugins/buddy-claude-setup-token/platforms/claude-setup-token.provider.d.ts +3 -2
- package/dist/plugins/buddy-claude-setup-token/platforms/claude-setup-token.provider.js +3 -0
- package/dist/plugins/buddy-claude-setup-token/platforms/claude-setup-token.provider.js.map +1 -1
- package/dist/plugins/buddy-discord/buddy-discord.plugin.d.ts +3 -3
- package/dist/plugins/buddy-discord/buddy-discord.plugin.js +12 -5
- package/dist/plugins/buddy-discord/buddy-discord.plugin.js.map +1 -1
- package/dist/plugins/buddy-discord/dto/update-config.dto.js +2 -1
- package/dist/plugins/buddy-discord/dto/update-config.dto.js.map +1 -1
- package/dist/plugins/buddy-discord/models/config.model.d.ts +1 -0
- package/dist/plugins/buddy-discord/models/config.model.js +12 -1
- package/dist/plugins/buddy-discord/models/config.model.js.map +1 -1
- package/dist/plugins/buddy-discord/platforms/discord-bot.provider.d.ts +7 -3
- package/dist/plugins/buddy-discord/platforms/discord-bot.provider.js +4 -1
- package/dist/plugins/buddy-discord/platforms/discord-bot.provider.js.map +1 -1
- package/dist/plugins/buddy-elevenlabs/buddy-elevenlabs.plugin.js +7 -0
- package/dist/plugins/buddy-elevenlabs/buddy-elevenlabs.plugin.js.map +1 -1
- package/dist/plugins/buddy-elevenlabs/dto/update-config.dto.js +2 -3
- package/dist/plugins/buddy-elevenlabs/dto/update-config.dto.js.map +1 -1
- package/dist/plugins/buddy-elevenlabs/models/config.model.d.ts +1 -0
- package/dist/plugins/buddy-elevenlabs/models/config.model.js +12 -1
- package/dist/plugins/buddy-elevenlabs/models/config.model.js.map +1 -1
- package/dist/plugins/buddy-ollama/platforms/ollama.provider.d.ts +5 -3
- package/dist/plugins/buddy-ollama/platforms/ollama.provider.js +55 -24
- package/dist/plugins/buddy-ollama/platforms/ollama.provider.js.map +1 -1
- package/dist/plugins/buddy-openai/buddy-openai.plugin.js +7 -0
- package/dist/plugins/buddy-openai/buddy-openai.plugin.js.map +1 -1
- package/dist/plugins/buddy-openai/dto/update-config.dto.js +2 -3
- package/dist/plugins/buddy-openai/dto/update-config.dto.js.map +1 -1
- package/dist/plugins/buddy-openai/models/config.model.d.ts +1 -0
- package/dist/plugins/buddy-openai/models/config.model.js +12 -1
- package/dist/plugins/buddy-openai/models/config.model.js.map +1 -1
- package/dist/plugins/buddy-openai/platforms/openai.provider.d.ts +3 -2
- package/dist/plugins/buddy-openai/platforms/openai.provider.js +3 -0
- package/dist/plugins/buddy-openai/platforms/openai.provider.js.map +1 -1
- package/dist/plugins/buddy-openai-codex/buddy-openai-codex.plugin.js +17 -0
- package/dist/plugins/buddy-openai-codex/buddy-openai-codex.plugin.js.map +1 -1
- package/dist/plugins/buddy-openai-codex/dto/update-config.dto.js +4 -3
- package/dist/plugins/buddy-openai-codex/dto/update-config.dto.js.map +1 -1
- package/dist/plugins/buddy-openai-codex/models/config.model.d.ts +3 -0
- package/dist/plugins/buddy-openai-codex/models/config.model.js +36 -3
- package/dist/plugins/buddy-openai-codex/models/config.model.js.map +1 -1
- package/dist/plugins/buddy-openai-codex/platforms/openai-codex.provider.d.ts +5 -3
- package/dist/plugins/buddy-openai-codex/platforms/openai-codex.provider.js +429 -48
- package/dist/plugins/buddy-openai-codex/platforms/openai-codex.provider.js.map +1 -1
- package/dist/plugins/buddy-telegram/buddy-telegram.plugin.d.ts +3 -3
- package/dist/plugins/buddy-telegram/buddy-telegram.plugin.js +12 -5
- package/dist/plugins/buddy-telegram/buddy-telegram.plugin.js.map +1 -1
- package/dist/plugins/buddy-telegram/dto/update-config.dto.js +2 -1
- package/dist/plugins/buddy-telegram/dto/update-config.dto.js.map +1 -1
- package/dist/plugins/buddy-telegram/models/config.model.d.ts +1 -0
- package/dist/plugins/buddy-telegram/models/config.model.js +12 -1
- package/dist/plugins/buddy-telegram/models/config.model.js.map +1 -1
- package/dist/plugins/buddy-telegram/platforms/telegram-bot.provider.d.ts +7 -3
- package/dist/plugins/buddy-telegram/platforms/telegram-bot.provider.js +4 -1
- package/dist/plugins/buddy-telegram/platforms/telegram-bot.provider.js.map +1 -1
- package/dist/plugins/buddy-voiceai/buddy-voiceai.plugin.js +7 -0
- package/dist/plugins/buddy-voiceai/buddy-voiceai.plugin.js.map +1 -1
- package/dist/plugins/buddy-voiceai/dto/update-config.dto.js +2 -3
- package/dist/plugins/buddy-voiceai/dto/update-config.dto.js.map +1 -1
- package/dist/plugins/buddy-voiceai/models/config.model.d.ts +1 -0
- package/dist/plugins/buddy-voiceai/models/config.model.js +12 -1
- package/dist/plugins/buddy-voiceai/models/config.model.js.map +1 -1
- package/dist/plugins/buddy-whatsapp/buddy-whatsapp.plugin.d.ts +3 -3
- package/dist/plugins/buddy-whatsapp/buddy-whatsapp.plugin.js +5 -5
- package/dist/plugins/buddy-whatsapp/buddy-whatsapp.plugin.js.map +1 -1
- package/dist/plugins/buddy-whatsapp/platforms/whatsapp-bot.provider.d.ts +10 -6
- package/dist/plugins/buddy-whatsapp/platforms/whatsapp-bot.provider.js +9 -6
- package/dist/plugins/buddy-whatsapp/platforms/whatsapp-bot.provider.js.map +1 -1
- package/dist/plugins/data-sources-device-channel/dto/create-data-source.dto.js +2 -0
- package/dist/plugins/data-sources-device-channel/dto/create-data-source.dto.js.map +1 -1
- package/dist/plugins/data-sources-device-channel/dto/update-data-source.dto.js +2 -0
- package/dist/plugins/data-sources-device-channel/dto/update-data-source.dto.js.map +1 -1
- package/dist/plugins/data-sources-device-channel/validators/device-channel-exists-constraint.validator.js +1 -1
- package/dist/plugins/data-sources-device-channel/validators/device-channel-exists-constraint.validator.js.map +1 -1
- package/dist/plugins/devices-home-assistant/controllers/home-assistant-discovery.controller.d.ts +4 -2
- package/dist/plugins/devices-home-assistant/controllers/home-assistant-discovery.controller.js +17 -5
- package/dist/plugins/devices-home-assistant/controllers/home-assistant-discovery.controller.js.map +1 -1
- package/dist/plugins/devices-home-assistant/controllers/home-assistant-wizard.controller.d.ts +12 -0
- package/dist/plugins/devices-home-assistant/controllers/home-assistant-wizard.controller.js +147 -0
- package/dist/plugins/devices-home-assistant/controllers/home-assistant-wizard.controller.js.map +1 -0
- package/dist/plugins/devices-home-assistant/devices-home-assistant.openapi.d.ts +4 -2
- package/dist/plugins/devices-home-assistant/devices-home-assistant.openapi.js +10 -0
- package/dist/plugins/devices-home-assistant/devices-home-assistant.openapi.js.map +1 -1
- package/dist/plugins/devices-home-assistant/devices-home-assistant.plugin.d.ts +5 -3
- package/dist/plugins/devices-home-assistant/devices-home-assistant.plugin.js +19 -5
- package/dist/plugins/devices-home-assistant/devices-home-assistant.plugin.js.map +1 -1
- package/dist/plugins/devices-home-assistant/dto/wizard-adopt.dto.d.ts +6 -0
- package/dist/plugins/devices-home-assistant/dto/wizard-adopt.dto.js +49 -0
- package/dist/plugins/devices-home-assistant/dto/wizard-adopt.dto.js.map +1 -0
- package/dist/plugins/devices-home-assistant/models/config.model.d.ts +1 -0
- package/dist/plugins/devices-home-assistant/models/config.model.js +12 -1
- package/dist/plugins/devices-home-assistant/models/config.model.js.map +1 -1
- package/dist/plugins/devices-home-assistant/models/helper-mapping-preview.model.d.ts +1 -0
- package/dist/plugins/devices-home-assistant/models/helper-mapping-preview.model.js +12 -0
- package/dist/plugins/devices-home-assistant/models/helper-mapping-preview.model.js.map +1 -1
- package/dist/plugins/devices-home-assistant/models/wizard.model.d.ts +39 -0
- package/dist/plugins/devices-home-assistant/models/wizard.model.js +221 -0
- package/dist/plugins/devices-home-assistant/models/wizard.model.js.map +1 -0
- package/dist/plugins/devices-home-assistant/services/device-adoption.service.d.ts +2 -1
- package/dist/plugins/devices-home-assistant/services/device-adoption.service.js +5 -4
- package/dist/plugins/devices-home-assistant/services/device-adoption.service.js.map +1 -1
- package/dist/plugins/devices-home-assistant/services/ha-mdns-discoverer.service.d.ts +15 -7
- package/dist/plugins/devices-home-assistant/services/ha-mdns-discoverer.service.js +69 -56
- package/dist/plugins/devices-home-assistant/services/ha-mdns-discoverer.service.js.map +1 -1
- package/dist/plugins/devices-home-assistant/services/helper-adoption.service.d.ts +7 -2
- package/dist/plugins/devices-home-assistant/services/helper-adoption.service.js +33 -7
- package/dist/plugins/devices-home-assistant/services/helper-adoption.service.js.map +1 -1
- package/dist/plugins/devices-home-assistant/services/helper-mapping-preview.service.d.ts +9 -0
- package/dist/plugins/devices-home-assistant/services/helper-mapping-preview.service.js +23 -0
- package/dist/plugins/devices-home-assistant/services/helper-mapping-preview.service.js.map +1 -1
- package/dist/plugins/devices-home-assistant/services/home-assistant.http.service.d.ts +6 -1
- package/dist/plugins/devices-home-assistant/services/home-assistant.http.service.js +76 -11
- package/dist/plugins/devices-home-assistant/services/home-assistant.http.service.js.map +1 -1
- package/dist/plugins/devices-home-assistant/services/home-assistant.ws.service.d.ts +18 -5
- package/dist/plugins/devices-home-assistant/services/home-assistant.ws.service.js +94 -7
- package/dist/plugins/devices-home-assistant/services/home-assistant.ws.service.js.map +1 -1
- package/dist/plugins/devices-home-assistant/services/mapping-preview.service.d.ts +10 -0
- package/dist/plugins/devices-home-assistant/services/mapping-preview.service.js +28 -0
- package/dist/plugins/devices-home-assistant/services/mapping-preview.service.js.map +1 -1
- package/dist/plugins/devices-home-assistant/services/wizard.service.d.ts +34 -0
- package/dist/plugins/devices-home-assistant/services/wizard.service.js +372 -0
- package/dist/plugins/devices-home-assistant/services/wizard.service.js.map +1 -0
- package/dist/plugins/devices-home-assistant/utils/helper-structure.utils.d.ts +3 -0
- package/dist/plugins/devices-home-assistant/utils/helper-structure.utils.js +44 -0
- package/dist/plugins/devices-home-assistant/utils/helper-structure.utils.js.map +1 -0
- package/dist/plugins/devices-homey/connectors/homey-connector.factory.d.ts +9 -0
- package/dist/plugins/devices-homey/connectors/homey-connector.factory.js +3 -0
- package/dist/plugins/devices-homey/connectors/homey-connector.factory.js.map +1 -0
- package/dist/plugins/devices-homey/connectors/homey-connector.interface.d.ts +14 -0
- package/dist/plugins/devices-homey/connectors/homey-connector.interface.js +3 -0
- package/dist/plugins/devices-homey/connectors/homey-connector.interface.js.map +1 -0
- package/dist/plugins/devices-homey/connectors/homey-connector.types.d.ts +3 -0
- package/dist/plugins/devices-homey/connectors/homey-connector.types.js +3 -0
- package/dist/plugins/devices-homey/connectors/homey-connector.types.js.map +1 -0
- package/dist/plugins/devices-homey/connectors/homey-local-connector.factory.d.ts +8 -0
- package/dist/plugins/devices-homey/connectors/homey-local-connector.factory.js +36 -0
- package/dist/plugins/devices-homey/connectors/homey-local-connector.factory.js.map +1 -0
- package/dist/plugins/devices-homey/connectors/homey-local.connector.d.ts +36 -0
- package/dist/plugins/devices-homey/connectors/homey-local.connector.js +266 -0
- package/dist/plugins/devices-homey/connectors/homey-local.connector.js.map +1 -0
- package/dist/plugins/devices-homey/connectors/homey-local.error-mapper.d.ts +3 -0
- package/dist/plugins/devices-homey/connectors/homey-local.error-mapper.js +63 -0
- package/dist/plugins/devices-homey/connectors/homey-local.error-mapper.js.map +1 -0
- package/dist/plugins/devices-homey/connectors/homey-local.transformer.d.ts +10 -0
- package/dist/plugins/devices-homey/connectors/homey-local.transformer.js +264 -0
- package/dist/plugins/devices-homey/connectors/homey-local.transformer.js.map +1 -0
- package/dist/plugins/devices-homey/connectors/homey-local.transport.d.ts +6 -0
- package/dist/plugins/devices-homey/connectors/homey-local.transport.js +3 -0
- package/dist/plugins/devices-homey/connectors/homey-local.transport.js.map +1 -0
- package/dist/plugins/devices-homey/connectors/homey-sdk.client.d.ts +59 -0
- package/dist/plugins/devices-homey/connectors/homey-sdk.client.js +25 -0
- package/dist/plugins/devices-homey/connectors/homey-sdk.client.js.map +1 -0
- package/dist/plugins/devices-homey/connectors/homey-sdk.transport.d.ts +45 -0
- package/dist/plugins/devices-homey/connectors/homey-sdk.transport.js +384 -0
- package/dist/plugins/devices-homey/connectors/homey-sdk.transport.js.map +1 -0
- package/dist/plugins/devices-homey/connectors/homey-transport.interface.d.ts +18 -0
- package/dist/plugins/devices-homey/connectors/homey-transport.interface.js +3 -0
- package/dist/plugins/devices-homey/connectors/homey-transport.interface.js.map +1 -0
- package/dist/plugins/devices-homey/controllers/homey-adoption.controller.d.ts +9 -0
- package/dist/plugins/devices-homey/controllers/homey-adoption.controller.js +86 -0
- package/dist/plugins/devices-homey/controllers/homey-adoption.controller.js.map +1 -0
- package/dist/plugins/devices-homey/controllers/homey-devices.controller.d.ts +9 -0
- package/dist/plugins/devices-homey/controllers/homey-devices.controller.js +104 -0
- package/dist/plugins/devices-homey/controllers/homey-devices.controller.js.map +1 -0
- package/dist/plugins/devices-homey/controllers/homey-mapping-preview.controller.d.ts +8 -0
- package/dist/plugins/devices-homey/controllers/homey-mapping-preview.controller.js +74 -0
- package/dist/plugins/devices-homey/controllers/homey-mapping-preview.controller.js.map +1 -0
- package/dist/plugins/devices-homey/controllers/homey-status.controller.d.ts +7 -0
- package/dist/plugins/devices-homey/controllers/homey-status.controller.js +52 -0
- package/dist/plugins/devices-homey/controllers/homey-status.controller.js.map +1 -0
- package/dist/plugins/devices-homey/controllers/homey-test-connection.controller.d.ts +8 -0
- package/dist/plugins/devices-homey/controllers/homey-test-connection.controller.js +60 -0
- package/dist/plugins/devices-homey/controllers/homey-test-connection.controller.js.map +1 -0
- package/dist/plugins/devices-homey/devices-homey.constants.d.ts +29 -0
- package/dist/plugins/devices-homey/devices-homey.constants.js +34 -0
- package/dist/plugins/devices-homey/devices-homey.constants.js.map +1 -0
- package/dist/plugins/devices-homey/devices-homey.openapi.d.ts +17 -0
- package/dist/plugins/devices-homey/devices-homey.openapi.js +67 -0
- package/dist/plugins/devices-homey/devices-homey.openapi.js.map +1 -0
- package/dist/plugins/devices-homey/devices-homey.plugin.d.ts +30 -0
- package/dist/plugins/devices-homey/devices-homey.plugin.js +288 -0
- package/dist/plugins/devices-homey/devices-homey.plugin.js.map +1 -0
- package/dist/plugins/devices-homey/dto/adoption.dto.d.ts +9 -0
- package/dist/plugins/devices-homey/dto/adoption.dto.js +79 -0
- package/dist/plugins/devices-homey/dto/adoption.dto.js.map +1 -0
- package/dist/plugins/devices-homey/dto/create-channel-property.dto.d.ts +3 -0
- package/dist/plugins/devices-homey/dto/create-channel-property.dto.js +18 -0
- package/dist/plugins/devices-homey/dto/create-channel-property.dto.js.map +1 -0
- package/dist/plugins/devices-homey/dto/create-channel.dto.d.ts +7 -0
- package/dist/plugins/devices-homey/dto/create-channel.dto.js +45 -0
- package/dist/plugins/devices-homey/dto/create-channel.dto.js.map +1 -0
- package/dist/plugins/devices-homey/dto/create-device-channel-property.dto.d.ts +7 -0
- package/dist/plugins/devices-homey/dto/create-device-channel-property.dto.js +59 -0
- package/dist/plugins/devices-homey/dto/create-device-channel-property.dto.js.map +1 -0
- package/dist/plugins/devices-homey/dto/create-device-channel.dto.d.ts +7 -0
- package/dist/plugins/devices-homey/dto/create-device-channel.dto.js +45 -0
- package/dist/plugins/devices-homey/dto/create-device-channel.dto.js.map +1 -0
- package/dist/plugins/devices-homey/dto/create-device.dto.d.ts +7 -0
- package/dist/plugins/devices-homey/dto/create-device.dto.js +45 -0
- package/dist/plugins/devices-homey/dto/create-device.dto.js.map +1 -0
- package/dist/plugins/devices-homey/dto/list-homey-devices.dto.d.ts +24 -0
- package/dist/plugins/devices-homey/dto/list-homey-devices.dto.js +89 -0
- package/dist/plugins/devices-homey/dto/list-homey-devices.dto.js.map +1 -0
- package/dist/plugins/devices-homey/dto/mapping-preview.dto.d.ts +5 -0
- package/dist/plugins/devices-homey/dto/mapping-preview.dto.js +46 -0
- package/dist/plugins/devices-homey/dto/mapping-preview.dto.js.map +1 -0
- package/dist/plugins/devices-homey/dto/test-connection.dto.d.ts +18 -0
- package/dist/plugins/devices-homey/dto/test-connection.dto.js +146 -0
- package/dist/plugins/devices-homey/dto/test-connection.dto.js.map +1 -0
- package/dist/plugins/devices-homey/dto/update-channel-property.dto.d.ts +9 -0
- package/dist/plugins/devices-homey/dto/update-channel-property.dto.js +77 -0
- package/dist/plugins/devices-homey/dto/update-channel-property.dto.js.map +1 -0
- package/dist/plugins/devices-homey/dto/update-channel.dto.d.ts +7 -0
- package/dist/plugins/devices-homey/dto/update-channel.dto.js +51 -0
- package/dist/plugins/devices-homey/dto/update-channel.dto.js.map +1 -0
- package/dist/plugins/devices-homey/dto/update-config.dto.d.ts +9 -0
- package/dist/plugins/devices-homey/dto/update-config.dto.js +103 -0
- package/dist/plugins/devices-homey/dto/update-config.dto.js.map +1 -0
- package/dist/plugins/devices-homey/dto/update-device.dto.d.ts +5 -0
- package/dist/plugins/devices-homey/dto/update-device.dto.js +35 -0
- package/dist/plugins/devices-homey/dto/update-device.dto.js.map +1 -0
- package/dist/plugins/devices-homey/entities/devices-homey.entity.d.ts +15 -0
- package/dist/plugins/devices-homey/entities/devices-homey.entity.js +121 -0
- package/dist/plugins/devices-homey/entities/devices-homey.entity.js.map +1 -0
- package/dist/plugins/devices-homey/entities/homey-adoption-lock.entity.d.ts +5 -0
- package/dist/plugins/devices-homey/entities/homey-adoption-lock.entity.js +32 -0
- package/dist/plugins/devices-homey/entities/homey-adoption-lock.entity.js.map +1 -0
- package/dist/plugins/devices-homey/errors/homey-connector.error.d.ts +25 -0
- package/dist/plugins/devices-homey/errors/homey-connector.error.js +39 -0
- package/dist/plugins/devices-homey/errors/homey-connector.error.js.map +1 -0
- package/dist/plugins/devices-homey/errors/homey-inventory.error.d.ts +6 -0
- package/dist/plugins/devices-homey/errors/homey-inventory.error.js +18 -0
- package/dist/plugins/devices-homey/errors/homey-inventory.error.js.map +1 -0
- package/dist/plugins/devices-homey/errors/homey-mapping-preview.error.d.ts +6 -0
- package/dist/plugins/devices-homey/errors/homey-mapping-preview.error.js +18 -0
- package/dist/plugins/devices-homey/errors/homey-mapping-preview.error.js.map +1 -0
- package/dist/plugins/devices-homey/index.d.ts +26 -0
- package/dist/plugins/devices-homey/index.js +43 -0
- package/dist/plugins/devices-homey/index.js.map +1 -0
- package/dist/plugins/devices-homey/mappings/definitions/channels.yaml +214 -0
- package/dist/plugins/devices-homey/mappings/definitions/devices.yaml +75 -0
- package/dist/plugins/devices-homey/mappings/definitions/properties.yaml +551 -0
- package/dist/plugins/devices-homey/mappings/device-support.d.ts +8 -0
- package/dist/plugins/devices-homey/mappings/device-support.js +50 -0
- package/dist/plugins/devices-homey/mappings/device-support.js.map +1 -0
- package/dist/plugins/devices-homey/mappings/homey-mapping.error.d.ts +11 -0
- package/dist/plugins/devices-homey/mappings/homey-mapping.error.js +23 -0
- package/dist/plugins/devices-homey/mappings/homey-mapping.error.js.map +1 -0
- package/dist/plugins/devices-homey/mappings/index.d.ts +6 -0
- package/dist/plugins/devices-homey/mappings/index.js +23 -0
- package/dist/plugins/devices-homey/mappings/index.js.map +1 -0
- package/dist/plugins/devices-homey/mappings/mapping-loader.service.d.ts +43 -0
- package/dist/plugins/devices-homey/mappings/mapping-loader.service.js +453 -0
- package/dist/plugins/devices-homey/mappings/mapping-loader.service.js.map +1 -0
- package/dist/plugins/devices-homey/mappings/mapping-transformer.service.d.ts +17 -0
- package/dist/plugins/devices-homey/mappings/mapping-transformer.service.js +156 -0
- package/dist/plugins/devices-homey/mappings/mapping-transformer.service.js.map +1 -0
- package/dist/plugins/devices-homey/mappings/mapping.constants.d.ts +12 -0
- package/dist/plugins/devices-homey/mappings/mapping.constants.js +16 -0
- package/dist/plugins/devices-homey/mappings/mapping.constants.js.map +1 -0
- package/dist/plugins/devices-homey/mappings/mapping.types.d.ts +202 -0
- package/dist/plugins/devices-homey/mappings/mapping.types.js +3 -0
- package/dist/plugins/devices-homey/mappings/mapping.types.js.map +1 -0
- package/dist/plugins/devices-homey/mappings/property-mapping-storage.service.d.ts +10 -0
- package/dist/plugins/devices-homey/mappings/property-mapping-storage.service.js +38 -0
- package/dist/plugins/devices-homey/mappings/property-mapping-storage.service.js.map +1 -0
- package/dist/plugins/devices-homey/mappings/schema/mapping-schema.json +302 -0
- package/dist/plugins/devices-homey/models/adoption.model.d.ts +30 -0
- package/dist/plugins/devices-homey/models/adoption.model.js +122 -0
- package/dist/plugins/devices-homey/models/adoption.model.js.map +1 -0
- package/dist/plugins/devices-homey/models/config.model.d.ts +9 -0
- package/dist/plugins/devices-homey/models/config.model.js +107 -0
- package/dist/plugins/devices-homey/models/config.model.js.map +1 -0
- package/dist/plugins/devices-homey/models/homey-capability.model.d.ts +31 -0
- package/dist/plugins/devices-homey/models/homey-capability.model.js +24 -0
- package/dist/plugins/devices-homey/models/homey-capability.model.js.map +1 -0
- package/dist/plugins/devices-homey/models/homey-device.model.d.ts +23 -0
- package/dist/plugins/devices-homey/models/homey-device.model.js +3 -0
- package/dist/plugins/devices-homey/models/homey-device.model.js.map +1 -0
- package/dist/plugins/devices-homey/models/homey-event.model.d.ts +54 -0
- package/dist/plugins/devices-homey/models/homey-event.model.js +15 -0
- package/dist/plugins/devices-homey/models/homey-event.model.js.map +1 -0
- package/dist/plugins/devices-homey/models/homey-system-info.model.d.ts +7 -0
- package/dist/plugins/devices-homey/models/homey-system-info.model.js +3 -0
- package/dist/plugins/devices-homey/models/homey-system-info.model.js.map +1 -0
- package/dist/plugins/devices-homey/models/homey-zone.model.d.ts +7 -0
- package/dist/plugins/devices-homey/models/homey-zone.model.js +3 -0
- package/dist/plugins/devices-homey/models/homey-zone.model.js.map +1 -0
- package/dist/plugins/devices-homey/models/inventory.model.d.ts +50 -0
- package/dist/plugins/devices-homey/models/inventory.model.js +236 -0
- package/dist/plugins/devices-homey/models/inventory.model.js.map +1 -0
- package/dist/plugins/devices-homey/models/mapping-preview.model.d.ts +123 -0
- package/dist/plugins/devices-homey/models/mapping-preview.model.js +576 -0
- package/dist/plugins/devices-homey/models/mapping-preview.model.js.map +1 -0
- package/dist/plugins/devices-homey/models/status.model.d.ts +32 -0
- package/dist/plugins/devices-homey/models/status.model.js +242 -0
- package/dist/plugins/devices-homey/models/status.model.js.map +1 -0
- package/dist/plugins/devices-homey/models/test-connection.model.d.ts +15 -0
- package/dist/plugins/devices-homey/models/test-connection.model.js +88 -0
- package/dist/plugins/devices-homey/models/test-connection.model.js.map +1 -0
- package/dist/plugins/devices-homey/platforms/homey-command-value.d.ts +7 -0
- package/dist/plugins/devices-homey/platforms/homey-command-value.js +65 -0
- package/dist/plugins/devices-homey/platforms/homey-command-value.js.map +1 -0
- package/dist/plugins/devices-homey/platforms/homey-device.platform.d.ts +41 -0
- package/dist/plugins/devices-homey/platforms/homey-device.platform.js +427 -0
- package/dist/plugins/devices-homey/platforms/homey-device.platform.js.map +1 -0
- package/dist/plugins/devices-homey/services/homey-adoption-lock.service.d.ts +20 -0
- package/dist/plugins/devices-homey/services/homey-adoption-lock.service.js +147 -0
- package/dist/plugins/devices-homey/services/homey-adoption-lock.service.js.map +1 -0
- package/dist/plugins/devices-homey/services/homey-config-validator.service.d.ts +11 -0
- package/dist/plugins/devices-homey/services/homey-config-validator.service.js +76 -0
- package/dist/plugins/devices-homey/services/homey-config-validator.service.js.map +1 -0
- package/dist/plugins/devices-homey/services/homey-connection-test.service.d.ts +14 -0
- package/dist/plugins/devices-homey/services/homey-connection-test.service.js +134 -0
- package/dist/plugins/devices-homey/services/homey-connection-test.service.js.map +1 -0
- package/dist/plugins/devices-homey/services/homey-device-adoption.service.d.ts +52 -0
- package/dist/plugins/devices-homey/services/homey-device-adoption.service.js +711 -0
- package/dist/plugins/devices-homey/services/homey-device-adoption.service.js.map +1 -0
- package/dist/plugins/devices-homey/services/homey-device-inventory.service.d.ts +20 -0
- package/dist/plugins/devices-homey/services/homey-device-inventory.service.js +159 -0
- package/dist/plugins/devices-homey/services/homey-device-inventory.service.js.map +1 -0
- package/dist/plugins/devices-homey/services/homey-failure-log-limiter.d.ts +9 -0
- package/dist/plugins/devices-homey/services/homey-failure-log-limiter.js +23 -0
- package/dist/plugins/devices-homey/services/homey-failure-log-limiter.js.map +1 -0
- package/dist/plugins/devices-homey/services/homey-mapping-preview.service.d.ts +53 -0
- package/dist/plugins/devices-homey/services/homey-mapping-preview.service.js +999 -0
- package/dist/plugins/devices-homey/services/homey-mapping-preview.service.js.map +1 -0
- package/dist/plugins/devices-homey/services/homey-reconnect-backoff.d.ts +1 -0
- package/dist/plugins/devices-homey/services/homey-reconnect-backoff.js +16 -0
- package/dist/plugins/devices-homey/services/homey-reconnect-backoff.js.map +1 -0
- package/dist/plugins/devices-homey/services/homey-synchronizer.service.d.ts +90 -0
- package/dist/plugins/devices-homey/services/homey-synchronizer.service.js +628 -0
- package/dist/plugins/devices-homey/services/homey-synchronizer.service.js.map +1 -0
- package/dist/plugins/devices-homey/services/homey.service.d.ts +129 -0
- package/dist/plugins/devices-homey/services/homey.service.js +1216 -0
- package/dist/plugins/devices-homey/services/homey.service.js.map +1 -0
- package/dist/plugins/devices-homey/validators/homey-url.validator.d.ts +4 -0
- package/dist/plugins/devices-homey/validators/homey-url.validator.js +27 -0
- package/dist/plugins/devices-homey/validators/homey-url.validator.js.map +1 -0
- package/dist/plugins/devices-reterminal/devices-reterminal.plugin.d.ts +3 -3
- package/dist/plugins/devices-reterminal/devices-reterminal.plugin.js +5 -5
- package/dist/plugins/devices-reterminal/devices-reterminal.plugin.js.map +1 -1
- package/dist/plugins/devices-reterminal/services/reterminal.service.d.ts +7 -3
- package/dist/plugins/devices-reterminal/services/reterminal.service.js +4 -1
- package/dist/plugins/devices-reterminal/services/reterminal.service.js.map +1 -1
- package/dist/plugins/devices-shelly-ng/controllers/shelly-ng-devices.controller.d.ts +6 -2
- package/dist/plugins/devices-shelly-ng/controllers/shelly-ng-devices.controller.js +31 -2
- package/dist/plugins/devices-shelly-ng/controllers/shelly-ng-devices.controller.js.map +1 -1
- package/dist/plugins/devices-shelly-ng/delegates/shelly-device.delegate.d.ts +2 -2
- package/dist/plugins/devices-shelly-ng/delegates/shelly-device.delegate.js.map +1 -1
- package/dist/plugins/devices-shelly-ng/devices-shelly-ng.constants.d.ts +22 -2
- package/dist/plugins/devices-shelly-ng/devices-shelly-ng.constants.js +61 -1
- package/dist/plugins/devices-shelly-ng/devices-shelly-ng.constants.js.map +1 -1
- package/dist/plugins/devices-shelly-ng/devices-shelly-ng.openapi.d.ts +4 -3
- package/dist/plugins/devices-shelly-ng/devices-shelly-ng.openapi.js +5 -0
- package/dist/plugins/devices-shelly-ng/devices-shelly-ng.openapi.js.map +1 -1
- package/dist/plugins/devices-shelly-ng/devices-shelly-ng.plugin.d.ts +3 -3
- package/dist/plugins/devices-shelly-ng/devices-shelly-ng.plugin.js +7 -5
- package/dist/plugins/devices-shelly-ng/devices-shelly-ng.plugin.js.map +1 -1
- package/dist/plugins/devices-shelly-ng/dto/adopt-devices.dto.d.ts +15 -0
- package/dist/plugins/devices-shelly-ng/dto/adopt-devices.dto.js +113 -0
- package/dist/plugins/devices-shelly-ng/dto/adopt-devices.dto.js.map +1 -0
- package/dist/plugins/devices-shelly-ng/mappings/definitions/sensors.yaml +1 -1
- package/dist/plugins/devices-shelly-ng/mappings/definitions/switches.yaml +23 -2
- package/dist/plugins/devices-shelly-ng/models/shelly-ng-response.model.d.ts +4 -1
- package/dist/plugins/devices-shelly-ng/models/shelly-ng-response.model.js +16 -1
- package/dist/plugins/devices-shelly-ng/models/shelly-ng-response.model.js.map +1 -1
- package/dist/plugins/devices-shelly-ng/models/shelly-ng.model.d.ts +7 -0
- package/dist/plugins/devices-shelly-ng/models/shelly-ng.model.js +57 -1
- package/dist/plugins/devices-shelly-ng/models/shelly-ng.model.js.map +1 -1
- package/dist/plugins/devices-shelly-ng/services/device-manager.service.d.ts +1 -0
- package/dist/plugins/devices-shelly-ng/services/device-manager.service.js +208 -0
- package/dist/plugins/devices-shelly-ng/services/device-manager.service.js.map +1 -1
- package/dist/plugins/devices-shelly-ng/services/shelly-ng-adoption.service.d.ts +19 -0
- package/dist/plugins/devices-shelly-ng/services/shelly-ng-adoption.service.js +114 -0
- package/dist/plugins/devices-shelly-ng/services/shelly-ng-adoption.service.js.map +1 -0
- package/dist/plugins/devices-shelly-ng/services/shelly-ng.service.d.ts +11 -7
- package/dist/plugins/devices-shelly-ng/services/shelly-ng.service.js +15 -8
- package/dist/plugins/devices-shelly-ng/services/shelly-ng.service.js.map +1 -1
- package/dist/plugins/devices-shelly-ng/services/shelly-rpc-client.service.d.ts +87 -0
- package/dist/plugins/devices-shelly-ng/services/shelly-rpc-client.service.js +18 -0
- package/dist/plugins/devices-shelly-ng/services/shelly-rpc-client.service.js.map +1 -1
- package/dist/plugins/devices-shelly-ng/services/shelly-ws-server.service.d.ts +1 -0
- package/dist/plugins/devices-shelly-ng/services/shelly-ws-server.service.js +3 -0
- package/dist/plugins/devices-shelly-ng/services/shelly-ws-server.service.js.map +1 -1
- package/dist/plugins/devices-shelly-v1/controllers/shelly-v1-devices.controller.d.ts +6 -2
- package/dist/plugins/devices-shelly-v1/controllers/shelly-v1-devices.controller.js +29 -2
- package/dist/plugins/devices-shelly-v1/controllers/shelly-v1-devices.controller.js.map +1 -1
- package/dist/plugins/devices-shelly-v1/devices-shelly-v1.openapi.d.ts +5 -4
- package/dist/plugins/devices-shelly-v1/devices-shelly-v1.openapi.js +5 -0
- package/dist/plugins/devices-shelly-v1/devices-shelly-v1.openapi.js.map +1 -1
- package/dist/plugins/devices-shelly-v1/devices-shelly-v1.plugin.d.ts +3 -3
- package/dist/plugins/devices-shelly-v1/devices-shelly-v1.plugin.js +7 -5
- package/dist/plugins/devices-shelly-v1/devices-shelly-v1.plugin.js.map +1 -1
- package/dist/plugins/devices-shelly-v1/dto/adopt-devices.dto.d.ts +15 -0
- package/dist/plugins/devices-shelly-v1/dto/adopt-devices.dto.js +113 -0
- package/dist/plugins/devices-shelly-v1/dto/adopt-devices.dto.js.map +1 -0
- package/dist/plugins/devices-shelly-v1/models/shelly-v1-response.model.d.ts +4 -1
- package/dist/plugins/devices-shelly-v1/models/shelly-v1-response.model.js +16 -1
- package/dist/plugins/devices-shelly-v1/models/shelly-v1-response.model.js.map +1 -1
- package/dist/plugins/devices-shelly-v1/models/shelly-v1.model.d.ts +7 -0
- package/dist/plugins/devices-shelly-v1/models/shelly-v1.model.js +57 -1
- package/dist/plugins/devices-shelly-v1/models/shelly-v1.model.js.map +1 -1
- package/dist/plugins/devices-shelly-v1/services/shellies-adapter.service.d.ts +1 -0
- package/dist/plugins/devices-shelly-v1/services/shellies-adapter.service.js +3 -0
- package/dist/plugins/devices-shelly-v1/services/shellies-adapter.service.js.map +1 -1
- package/dist/plugins/devices-shelly-v1/services/shelly-v1-adoption.service.d.ts +19 -0
- package/dist/plugins/devices-shelly-v1/services/shelly-v1-adoption.service.js +114 -0
- package/dist/plugins/devices-shelly-v1/services/shelly-v1-adoption.service.js.map +1 -0
- package/dist/plugins/devices-shelly-v1/services/shelly-v1.service.d.ts +8 -4
- package/dist/plugins/devices-shelly-v1/services/shelly-v1.service.js +6 -3
- package/dist/plugins/devices-shelly-v1/services/shelly-v1.service.js.map +1 -1
- package/dist/plugins/devices-virtual/controllers/virtual-devices.controller.d.ts +15 -0
- package/dist/plugins/devices-virtual/controllers/virtual-devices.controller.js +170 -0
- package/dist/plugins/devices-virtual/controllers/virtual-devices.controller.js.map +1 -0
- package/dist/plugins/devices-virtual/devices-virtual.constants.d.ts +8 -0
- package/dist/plugins/devices-virtual/devices-virtual.constants.js +19 -0
- package/dist/plugins/devices-virtual/devices-virtual.constants.js.map +1 -0
- package/dist/plugins/devices-virtual/devices-virtual.exceptions.d.ts +33 -0
- package/dist/plugins/devices-virtual/devices-virtual.exceptions.js +81 -0
- package/dist/plugins/devices-virtual/devices-virtual.exceptions.js.map +1 -0
- package/dist/plugins/devices-virtual/devices-virtual.openapi.d.ts +13 -0
- package/dist/plugins/devices-virtual/devices-virtual.openapi.js +37 -0
- package/dist/plugins/devices-virtual/devices-virtual.openapi.js.map +1 -0
- package/dist/plugins/devices-virtual/devices-virtual.plugin.d.ts +34 -0
- package/dist/plugins/devices-virtual/devices-virtual.plugin.js +317 -0
- package/dist/plugins/devices-virtual/devices-virtual.plugin.js.map +1 -0
- package/dist/plugins/devices-virtual/dto/compatibility-request.dto.d.ts +13 -0
- package/dist/plugins/devices-virtual/dto/compatibility-request.dto.js +109 -0
- package/dist/plugins/devices-virtual/dto/compatibility-request.dto.js.map +1 -0
- package/dist/plugins/devices-virtual/dto/create-channel-property.dto.d.ts +10 -0
- package/dist/plugins/devices-virtual/dto/create-channel-property.dto.js +91 -0
- package/dist/plugins/devices-virtual/dto/create-channel-property.dto.js.map +1 -0
- package/dist/plugins/devices-virtual/dto/create-channel.dto.d.ts +8 -0
- package/dist/plugins/devices-virtual/dto/create-channel.dto.js +65 -0
- package/dist/plugins/devices-virtual/dto/create-channel.dto.js.map +1 -0
- package/dist/plugins/devices-virtual/dto/create-device-channel.dto.d.ts +7 -0
- package/dist/plugins/devices-virtual/dto/create-device-channel.dto.js +50 -0
- package/dist/plugins/devices-virtual/dto/create-device-channel.dto.js.map +1 -0
- package/dist/plugins/devices-virtual/dto/create-device.dto.d.ts +9 -0
- package/dist/plugins/devices-virtual/dto/create-device.dto.js +64 -0
- package/dist/plugins/devices-virtual/dto/create-device.dto.js.map +1 -0
- package/dist/plugins/devices-virtual/dto/update-channel-property.dto.d.ts +10 -0
- package/dist/plugins/devices-virtual/dto/update-channel-property.dto.js +91 -0
- package/dist/plugins/devices-virtual/dto/update-channel-property.dto.js.map +1 -0
- package/dist/plugins/devices-virtual/dto/update-channel.dto.d.ts +5 -0
- package/dist/plugins/devices-virtual/dto/update-channel.dto.js +35 -0
- package/dist/plugins/devices-virtual/dto/update-channel.dto.js.map +1 -0
- package/dist/plugins/devices-virtual/dto/update-config.dto.d.ts +5 -0
- package/dist/plugins/devices-virtual/dto/update-config.dto.js +33 -0
- package/dist/plugins/devices-virtual/dto/update-config.dto.js.map +1 -0
- package/dist/plugins/devices-virtual/dto/update-device.dto.d.ts +7 -0
- package/dist/plugins/devices-virtual/dto/update-device.dto.js +55 -0
- package/dist/plugins/devices-virtual/dto/update-device.dto.js.map +1 -0
- package/dist/plugins/devices-virtual/entities/devices-virtual.entity.d.ts +25 -0
- package/dist/plugins/devices-virtual/entities/devices-virtual.entity.js +153 -0
- package/dist/plugins/devices-virtual/entities/devices-virtual.entity.js.map +1 -0
- package/dist/plugins/devices-virtual/listeners/virtual-device-information.listener.d.ts +20 -0
- package/dist/plugins/devices-virtual/listeners/virtual-device-information.listener.js +191 -0
- package/dist/plugins/devices-virtual/listeners/virtual-device-information.listener.js.map +1 -0
- package/dist/plugins/devices-virtual/listeners/virtual-index-maintenance.listener.d.ts +55 -0
- package/dist/plugins/devices-virtual/listeners/virtual-index-maintenance.listener.js +542 -0
- package/dist/plugins/devices-virtual/listeners/virtual-index-maintenance.listener.js.map +1 -0
- package/dist/plugins/devices-virtual/listeners/virtual-projection.listener.d.ts +10 -0
- package/dist/plugins/devices-virtual/listeners/virtual-projection.listener.js +50 -0
- package/dist/plugins/devices-virtual/listeners/virtual-projection.listener.js.map +1 -0
- package/dist/plugins/devices-virtual/listeners/virtual-status.listener.d.ts +20 -0
- package/dist/plugins/devices-virtual/listeners/virtual-status.listener.js +89 -0
- package/dist/plugins/devices-virtual/listeners/virtual-status.listener.js.map +1 -0
- package/dist/plugins/devices-virtual/models/compatibility-response.model.d.ts +12 -0
- package/dist/plugins/devices-virtual/models/compatibility-response.model.js +95 -0
- package/dist/plugins/devices-virtual/models/compatibility-response.model.js.map +1 -0
- package/dist/plugins/devices-virtual/models/config.model.d.ts +5 -0
- package/dist/plugins/devices-virtual/models/config.model.js +47 -0
- package/dist/plugins/devices-virtual/models/config.model.js.map +1 -0
- package/dist/plugins/devices-virtual/models/virtual-response.model.d.ts +5 -0
- package/dist/plugins/devices-virtual/models/virtual-response.model.js +32 -0
- package/dist/plugins/devices-virtual/models/virtual-response.model.js.map +1 -0
- package/dist/plugins/devices-virtual/platforms/virtual-device.platform.d.ts +17 -0
- package/dist/plugins/devices-virtual/platforms/virtual-device.platform.js +121 -0
- package/dist/plugins/devices-virtual/platforms/virtual-device.platform.js.map +1 -0
- package/dist/plugins/devices-virtual/services/virtual-devices.service.d.ts +52 -0
- package/dist/plugins/devices-virtual/services/virtual-devices.service.js +424 -0
- package/dist/plugins/devices-virtual/services/virtual-devices.service.js.map +1 -0
- package/dist/plugins/devices-virtual/services/virtual-energy-claim.service.d.ts +7 -0
- package/dist/plugins/devices-virtual/services/virtual-energy-claim.service.js +43 -0
- package/dist/plugins/devices-virtual/services/virtual-energy-claim.service.js.map +1 -0
- package/dist/plugins/devices-virtual/services/virtual-property-index.service.d.ts +38 -0
- package/dist/plugins/devices-virtual/services/virtual-property-index.service.js +203 -0
- package/dist/plugins/devices-virtual/services/virtual-property-index.service.js.map +1 -0
- package/dist/plugins/devices-virtual/services/virtual-value-source.service.d.ts +6 -0
- package/dist/plugins/devices-virtual/services/virtual-value-source.service.js +31 -0
- package/dist/plugins/devices-virtual/services/virtual-value-source.service.js.map +1 -0
- package/dist/plugins/devices-virtual/validators/category-allowed-constraint.validator.d.ts +10 -0
- package/dist/plugins/devices-virtual/validators/category-allowed-constraint.validator.js +56 -0
- package/dist/plugins/devices-virtual/validators/category-allowed-constraint.validator.js.map +1 -0
- package/dist/plugins/devices-virtual/validators/device-is-virtual-constraint.validator.d.ts +9 -0
- package/dist/plugins/devices-virtual/validators/device-is-virtual-constraint.validator.js +56 -0
- package/dist/plugins/devices-virtual/validators/device-is-virtual-constraint.validator.js.map +1 -0
- package/dist/plugins/devices-virtual/validators/owned-property-has-no-source-constraint.validator.d.ts +6 -0
- package/dist/plugins/devices-virtual/validators/owned-property-has-no-source-constraint.validator.js +38 -0
- package/dist/plugins/devices-virtual/validators/owned-property-has-no-source-constraint.validator.js.map +1 -0
- package/dist/plugins/devices-virtual/validators/owned-property-not-writable-constraint.validator.d.ts +7 -0
- package/dist/plugins/devices-virtual/validators/owned-property-not-writable-constraint.validator.js +38 -0
- package/dist/plugins/devices-virtual/validators/owned-property-not-writable-constraint.validator.js.map +1 -0
- package/dist/plugins/devices-virtual/validators/source-not-virtual-constraint.validator.d.ts +9 -0
- package/dist/plugins/devices-virtual/validators/source-not-virtual-constraint.validator.js +56 -0
- package/dist/plugins/devices-virtual/validators/source-not-virtual-constraint.validator.js.map +1 -0
- package/dist/plugins/devices-wled/controllers/wled-discovery.controller.d.ts +6 -3
- package/dist/plugins/devices-wled/controllers/wled-discovery.controller.js +78 -20
- package/dist/plugins/devices-wled/controllers/wled-discovery.controller.js.map +1 -1
- package/dist/plugins/devices-wled/devices-wled.exceptions.d.ts +3 -0
- package/dist/plugins/devices-wled/devices-wled.exceptions.js +7 -1
- package/dist/plugins/devices-wled/devices-wled.exceptions.js.map +1 -1
- package/dist/plugins/devices-wled/devices-wled.openapi.d.ts +3 -2
- package/dist/plugins/devices-wled/devices-wled.openapi.js +11 -1
- package/dist/plugins/devices-wled/devices-wled.openapi.js.map +1 -1
- package/dist/plugins/devices-wled/devices-wled.plugin.d.ts +3 -3
- package/dist/plugins/devices-wled/devices-wled.plugin.js +10 -6
- package/dist/plugins/devices-wled/devices-wled.plugin.js.map +1 -1
- package/dist/plugins/devices-wled/dto/wled-adoption.dto.d.ts +19 -0
- package/dist/plugins/devices-wled/dto/wled-adoption.dto.js +108 -0
- package/dist/plugins/devices-wled/dto/wled-adoption.dto.js.map +1 -0
- package/dist/plugins/devices-wled/entities/devices-wled.entity.d.ts +1 -0
- package/dist/plugins/devices-wled/entities/devices-wled.entity.js +14 -0
- package/dist/plugins/devices-wled/entities/devices-wled.entity.js.map +1 -1
- package/dist/plugins/devices-wled/models/config.model.js +2 -2
- package/dist/plugins/devices-wled/models/config.model.js.map +1 -1
- package/dist/plugins/devices-wled/models/wled-discovery.model.d.ts +22 -3
- package/dist/plugins/devices-wled/models/wled-discovery.model.js +104 -29
- package/dist/plugins/devices-wled/models/wled-discovery.model.js.map +1 -1
- package/dist/plugins/devices-wled/services/adoption-snapshot.service.d.ts +16 -0
- package/dist/plugins/devices-wled/services/adoption-snapshot.service.js +109 -0
- package/dist/plugins/devices-wled/services/adoption-snapshot.service.js.map +1 -0
- package/dist/plugins/devices-wled/services/device-mapper.service.d.ts +5 -2
- package/dist/plugins/devices-wled/services/device-mapper.service.js +49 -19
- package/dist/plugins/devices-wled/services/device-mapper.service.js.map +1 -1
- package/dist/plugins/devices-wled/services/hardware-identity.service.d.ts +9 -0
- package/dist/plugins/devices-wled/services/hardware-identity.service.js +50 -0
- package/dist/plugins/devices-wled/services/hardware-identity.service.js.map +1 -0
- package/dist/plugins/devices-wled/services/wled-client-adapter.service.d.ts +4 -2
- package/dist/plugins/devices-wled/services/wled-client-adapter.service.js +43 -24
- package/dist/plugins/devices-wled/services/wled-client-adapter.service.js.map +1 -1
- package/dist/plugins/devices-wled/services/wled-mdns-discoverer.service.d.ts +2 -0
- package/dist/plugins/devices-wled/services/wled-mdns-discoverer.service.js +6 -0
- package/dist/plugins/devices-wled/services/wled-mdns-discoverer.service.js.map +1 -1
- package/dist/plugins/devices-wled/services/wled.service.d.ts +40 -7
- package/dist/plugins/devices-wled/services/wled.service.js +759 -26
- package/dist/plugins/devices-wled/services/wled.service.js.map +1 -1
- package/dist/plugins/devices-zigbee2mqtt/devices-zigbee2mqtt.plugin.d.ts +3 -3
- package/dist/plugins/devices-zigbee2mqtt/devices-zigbee2mqtt.plugin.js +15 -5
- package/dist/plugins/devices-zigbee2mqtt/devices-zigbee2mqtt.plugin.js.map +1 -1
- package/dist/plugins/devices-zigbee2mqtt/models/config.model.d.ts +2 -0
- package/dist/plugins/devices-zigbee2mqtt/models/config.model.js +24 -2
- package/dist/plugins/devices-zigbee2mqtt/models/config.model.js.map +1 -1
- package/dist/plugins/devices-zigbee2mqtt/services/zigbee2mqtt.service.d.ts +11 -7
- package/dist/plugins/devices-zigbee2mqtt/services/zigbee2mqtt.service.js +11 -8
- package/dist/plugins/devices-zigbee2mqtt/services/zigbee2mqtt.service.js.map +1 -1
- package/dist/plugins/influx-v1/dto/update-config.dto.d.ts +1 -1
- package/dist/plugins/influx-v1/dto/update-config.dto.js +1 -0
- package/dist/plugins/influx-v1/dto/update-config.dto.js.map +1 -1
- package/dist/plugins/influx-v1/influx-v1.plugin.d.ts +3 -3
- package/dist/plugins/influx-v1/influx-v1.plugin.js +11 -5
- package/dist/plugins/influx-v1/influx-v1.plugin.js.map +1 -1
- package/dist/plugins/influx-v1/models/config.model.d.ts +1 -0
- package/dist/plugins/influx-v1/models/config.model.js +12 -1
- package/dist/plugins/influx-v1/models/config.model.js.map +1 -1
- package/dist/plugins/influx-v1/services/influx-v1-managed.service.d.ts +7 -4
- package/dist/plugins/influx-v1/services/influx-v1-managed.service.js +3 -3
- package/dist/plugins/influx-v1/services/influx-v1-managed.service.js.map +1 -1
- package/dist/plugins/influx-v1/services/influx-v1.storage.d.ts +1 -0
- package/dist/plugins/influx-v1/services/influx-v1.storage.js +15 -0
- package/dist/plugins/influx-v1/services/influx-v1.storage.js.map +1 -1
- package/dist/plugins/influx-v2/dto/update-config.dto.d.ts +1 -1
- package/dist/plugins/influx-v2/dto/update-config.dto.js +1 -0
- package/dist/plugins/influx-v2/dto/update-config.dto.js.map +1 -1
- package/dist/plugins/influx-v2/influx-v2.plugin.d.ts +3 -3
- package/dist/plugins/influx-v2/influx-v2.plugin.js +11 -5
- package/dist/plugins/influx-v2/influx-v2.plugin.js.map +1 -1
- package/dist/plugins/influx-v2/models/config.model.d.ts +1 -0
- package/dist/plugins/influx-v2/models/config.model.js +12 -1
- package/dist/plugins/influx-v2/models/config.model.js.map +1 -1
- package/dist/plugins/influx-v2/services/influx-v2-managed.service.d.ts +7 -4
- package/dist/plugins/influx-v2/services/influx-v2-managed.service.js +3 -3
- package/dist/plugins/influx-v2/services/influx-v2-managed.service.js.map +1 -1
- package/dist/plugins/influx-v2/services/influx-v2.storage.d.ts +4 -1
- package/dist/plugins/influx-v2/services/influx-v2.storage.js +159 -2
- package/dist/plugins/influx-v2/services/influx-v2.storage.js.map +1 -1
- package/dist/plugins/logger-rotating-file/logger-rotating-file.plugin.d.ts +3 -3
- package/dist/plugins/logger-rotating-file/logger-rotating-file.plugin.js +5 -5
- package/dist/plugins/logger-rotating-file/logger-rotating-file.plugin.js.map +1 -1
- package/dist/plugins/logger-rotating-file/services/file-logger.service.d.ts +7 -3
- package/dist/plugins/logger-rotating-file/services/file-logger.service.js +12 -1
- package/dist/plugins/logger-rotating-file/services/file-logger.service.js.map +1 -1
- package/dist/plugins/memory-storage/memory-storage.plugin.d.ts +3 -3
- package/dist/plugins/memory-storage/memory-storage.plugin.js +5 -5
- package/dist/plugins/memory-storage/memory-storage.plugin.js.map +1 -1
- package/dist/plugins/memory-storage/services/in-memory-timeseries.store.d.ts +1 -1
- package/dist/plugins/memory-storage/services/in-memory-timeseries.store.js +5 -3
- package/dist/plugins/memory-storage/services/in-memory-timeseries.store.js.map +1 -1
- package/dist/plugins/memory-storage/services/influxql-parser.js +21 -1
- package/dist/plugins/memory-storage/services/influxql-parser.js.map +1 -1
- package/dist/plugins/memory-storage/services/memory-storage-managed.service.d.ts +6 -3
- package/dist/plugins/memory-storage/services/memory-storage-managed.service.js +3 -3
- package/dist/plugins/memory-storage/services/memory-storage-managed.service.js.map +1 -1
- package/dist/plugins/notifications-discord/dto/update-config.dto.d.ts +10 -0
- package/dist/plugins/notifications-discord/dto/update-config.dto.js +90 -0
- package/dist/plugins/notifications-discord/dto/update-config.dto.js.map +1 -0
- package/dist/plugins/notifications-discord/models/config.model.d.ts +10 -0
- package/dist/plugins/notifications-discord/models/config.model.js +99 -0
- package/dist/plugins/notifications-discord/models/config.model.js.map +1 -0
- package/dist/plugins/notifications-discord/notifications-discord.constants.d.ts +4 -0
- package/dist/plugins/notifications-discord/notifications-discord.constants.js +8 -0
- package/dist/plugins/notifications-discord/notifications-discord.constants.js.map +1 -0
- package/dist/plugins/notifications-discord/notifications-discord.openapi.d.ts +3 -0
- package/dist/plugins/notifications-discord/notifications-discord.openapi.js +10 -0
- package/dist/plugins/notifications-discord/notifications-discord.openapi.js.map +1 -0
- package/dist/plugins/notifications-discord/notifications-discord.plugin.d.ts +15 -0
- package/dist/plugins/notifications-discord/notifications-discord.plugin.js +113 -0
- package/dist/plugins/notifications-discord/notifications-discord.plugin.js.map +1 -0
- package/dist/plugins/notifications-discord/platforms/discord-channel.platform.d.ts +9 -0
- package/dist/plugins/notifications-discord/platforms/discord-channel.platform.js +67 -0
- package/dist/plugins/notifications-discord/platforms/discord-channel.platform.js.map +1 -0
- package/dist/plugins/notifications-discord/services/discord-actions.service.d.ts +13 -0
- package/dist/plugins/notifications-discord/services/discord-actions.service.js +94 -0
- package/dist/plugins/notifications-discord/services/discord-actions.service.js.map +1 -0
- package/dist/plugins/notifications-discord/validators/discord-webhook-url.validator.d.ts +4 -0
- package/dist/plugins/notifications-discord/validators/discord-webhook-url.validator.js +38 -0
- package/dist/plugins/notifications-discord/validators/discord-webhook-url.validator.js.map +1 -0
- package/dist/plugins/notifications-slack/dto/update-config.dto.d.ts +9 -0
- package/dist/plugins/notifications-slack/dto/update-config.dto.js +79 -0
- package/dist/plugins/notifications-slack/dto/update-config.dto.js.map +1 -0
- package/dist/plugins/notifications-slack/models/config.model.d.ts +9 -0
- package/dist/plugins/notifications-slack/models/config.model.js +87 -0
- package/dist/plugins/notifications-slack/models/config.model.js.map +1 -0
- package/dist/plugins/notifications-slack/notifications-slack.constants.d.ts +4 -0
- package/dist/plugins/notifications-slack/notifications-slack.constants.js +8 -0
- package/dist/plugins/notifications-slack/notifications-slack.constants.js.map +1 -0
- package/dist/plugins/notifications-slack/notifications-slack.openapi.d.ts +3 -0
- package/dist/plugins/notifications-slack/notifications-slack.openapi.js +10 -0
- package/dist/plugins/notifications-slack/notifications-slack.openapi.js.map +1 -0
- package/dist/plugins/notifications-slack/notifications-slack.plugin.d.ts +15 -0
- package/dist/plugins/notifications-slack/notifications-slack.plugin.js +111 -0
- package/dist/plugins/notifications-slack/notifications-slack.plugin.js.map +1 -0
- package/dist/plugins/notifications-slack/platforms/slack-channel.platform.d.ts +9 -0
- package/dist/plugins/notifications-slack/platforms/slack-channel.platform.js +63 -0
- package/dist/plugins/notifications-slack/platforms/slack-channel.platform.js.map +1 -0
- package/dist/plugins/notifications-slack/services/slack-actions.service.d.ts +13 -0
- package/dist/plugins/notifications-slack/services/slack-actions.service.js +94 -0
- package/dist/plugins/notifications-slack/services/slack-actions.service.js.map +1 -0
- package/dist/plugins/notifications-slack/validators/slack-webhook-url.validator.d.ts +4 -0
- package/dist/plugins/notifications-slack/validators/slack-webhook-url.validator.js +37 -0
- package/dist/plugins/notifications-slack/validators/slack-webhook-url.validator.js.map +1 -0
- package/dist/plugins/notifications-telegram/dto/update-config.dto.d.ts +10 -0
- package/dist/plugins/notifications-telegram/dto/update-config.dto.js +88 -0
- package/dist/plugins/notifications-telegram/dto/update-config.dto.js.map +1 -0
- package/dist/plugins/notifications-telegram/models/config.model.d.ts +10 -0
- package/dist/plugins/notifications-telegram/models/config.model.js +98 -0
- package/dist/plugins/notifications-telegram/models/config.model.js.map +1 -0
- package/dist/plugins/notifications-telegram/notifications-telegram.constants.d.ts +4 -0
- package/dist/plugins/notifications-telegram/notifications-telegram.constants.js +8 -0
- package/dist/plugins/notifications-telegram/notifications-telegram.constants.js.map +1 -0
- package/dist/plugins/notifications-telegram/notifications-telegram.openapi.d.ts +3 -0
- package/dist/plugins/notifications-telegram/notifications-telegram.openapi.js +10 -0
- package/dist/plugins/notifications-telegram/notifications-telegram.openapi.js.map +1 -0
- package/dist/plugins/notifications-telegram/notifications-telegram.plugin.d.ts +15 -0
- package/dist/plugins/notifications-telegram/notifications-telegram.plugin.js +113 -0
- package/dist/plugins/notifications-telegram/notifications-telegram.plugin.js.map +1 -0
- package/dist/plugins/notifications-telegram/platforms/telegram-channel.platform.d.ts +12 -0
- package/dist/plugins/notifications-telegram/platforms/telegram-channel.platform.js +87 -0
- package/dist/plugins/notifications-telegram/platforms/telegram-channel.platform.js.map +1 -0
- package/dist/plugins/notifications-telegram/services/telegram-actions.service.d.ts +13 -0
- package/dist/plugins/notifications-telegram/services/telegram-actions.service.js +94 -0
- package/dist/plugins/notifications-telegram/services/telegram-actions.service.js.map +1 -0
- package/dist/plugins/notifications-webhook/dto/update-config.dto.d.ts +10 -0
- package/dist/plugins/notifications-webhook/dto/update-config.dto.js +94 -0
- package/dist/plugins/notifications-webhook/dto/update-config.dto.js.map +1 -0
- package/dist/plugins/notifications-webhook/models/config.model.d.ts +11 -0
- package/dist/plugins/notifications-webhook/models/config.model.js +114 -0
- package/dist/plugins/notifications-webhook/models/config.model.js.map +1 -0
- package/dist/plugins/notifications-webhook/notifications-webhook.constants.d.ts +4 -0
- package/dist/plugins/notifications-webhook/notifications-webhook.constants.js +8 -0
- package/dist/plugins/notifications-webhook/notifications-webhook.constants.js.map +1 -0
- package/dist/plugins/notifications-webhook/notifications-webhook.openapi.d.ts +3 -0
- package/dist/plugins/notifications-webhook/notifications-webhook.openapi.js +10 -0
- package/dist/plugins/notifications-webhook/notifications-webhook.openapi.js.map +1 -0
- package/dist/plugins/notifications-webhook/notifications-webhook.plugin.d.ts +15 -0
- package/dist/plugins/notifications-webhook/notifications-webhook.plugin.js +134 -0
- package/dist/plugins/notifications-webhook/notifications-webhook.plugin.js.map +1 -0
- package/dist/plugins/notifications-webhook/platforms/webhook-channel.platform.d.ts +9 -0
- package/dist/plugins/notifications-webhook/platforms/webhook-channel.platform.js +63 -0
- package/dist/plugins/notifications-webhook/platforms/webhook-channel.platform.js.map +1 -0
- package/dist/plugins/notifications-webhook/services/webhook-actions.service.d.ts +13 -0
- package/dist/plugins/notifications-webhook/services/webhook-actions.service.js +94 -0
- package/dist/plugins/notifications-webhook/services/webhook-actions.service.js.map +1 -0
- package/dist/plugins/notifications-webhook/validators/webhook-headers-require-https.validator.d.ts +6 -0
- package/dist/plugins/notifications-webhook/validators/webhook-headers-require-https.validator.js +40 -0
- package/dist/plugins/notifications-webhook/validators/webhook-headers-require-https.validator.js.map +1 -0
- package/dist/plugins/notifications-webhook/validators/webhook-headers-shape.validator.d.ts +3 -0
- package/dist/plugins/notifications-webhook/validators/webhook-headers-shape.validator.js +24 -0
- package/dist/plugins/notifications-webhook/validators/webhook-headers-shape.validator.js.map +1 -0
- package/dist/plugins/notifications-webhook/validators/webhook-url.validator.d.ts +4 -0
- package/dist/plugins/notifications-webhook/validators/webhook-url.validator.js +27 -0
- package/dist/plugins/notifications-webhook/validators/webhook-url.validator.js.map +1 -0
- package/dist/plugins/pages-device-detail/dto/create-page.dto.js +2 -0
- package/dist/plugins/pages-device-detail/dto/create-page.dto.js.map +1 -1
- package/dist/plugins/pages-device-detail/dto/update-page.dto.js +2 -0
- package/dist/plugins/pages-device-detail/dto/update-page.dto.js.map +1 -1
- package/dist/plugins/remote-access-tailscale/controllers/setup.controller.d.ts +21 -0
- package/dist/plugins/remote-access-tailscale/controllers/setup.controller.js +211 -0
- package/dist/plugins/remote-access-tailscale/controllers/setup.controller.js.map +1 -0
- package/dist/plugins/remote-access-tailscale/controllers/status.controller.d.ts +13 -0
- package/dist/plugins/remote-access-tailscale/controllers/status.controller.js +88 -0
- package/dist/plugins/remote-access-tailscale/controllers/status.controller.js.map +1 -0
- package/dist/plugins/remote-access-tailscale/dto/login.dto.d.ts +3 -0
- package/dist/plugins/remote-access-tailscale/dto/login.dto.js +40 -0
- package/dist/plugins/remote-access-tailscale/dto/login.dto.js.map +1 -0
- package/dist/plugins/remote-access-tailscale/dto/update-config.dto.d.ts +12 -0
- package/dist/plugins/remote-access-tailscale/dto/update-config.dto.js +139 -0
- package/dist/plugins/remote-access-tailscale/dto/update-config.dto.js.map +1 -0
- package/dist/plugins/remote-access-tailscale/models/config.model.d.ts +12 -0
- package/dist/plugins/remote-access-tailscale/models/config.model.js +140 -0
- package/dist/plugins/remote-access-tailscale/models/config.model.js.map +1 -0
- package/dist/plugins/remote-access-tailscale/models/login.model.d.ts +16 -0
- package/dist/plugins/remote-access-tailscale/models/login.model.js +112 -0
- package/dist/plugins/remote-access-tailscale/models/login.model.js.map +1 -0
- package/dist/plugins/remote-access-tailscale/models/status.model.d.ts +25 -0
- package/dist/plugins/remote-access-tailscale/models/status.model.js +219 -0
- package/dist/plugins/remote-access-tailscale/models/status.model.js.map +1 -0
- package/dist/plugins/remote-access-tailscale/remote-access-tailscale.constants.d.ts +20 -0
- package/dist/plugins/remote-access-tailscale/remote-access-tailscale.constants.js +24 -0
- package/dist/plugins/remote-access-tailscale/remote-access-tailscale.constants.js.map +1 -0
- package/dist/plugins/remote-access-tailscale/remote-access-tailscale.openapi.d.ts +6 -0
- package/dist/plugins/remote-access-tailscale/remote-access-tailscale.openapi.js +21 -0
- package/dist/plugins/remote-access-tailscale/remote-access-tailscale.openapi.js.map +1 -0
- package/dist/plugins/remote-access-tailscale/remote-access-tailscale.plugin.d.ts +21 -0
- package/dist/plugins/remote-access-tailscale/remote-access-tailscale.plugin.js +132 -0
- package/dist/plugins/remote-access-tailscale/remote-access-tailscale.plugin.js.map +1 -0
- package/dist/plugins/remote-access-tailscale/scripts/tailscale-setup.sh +175 -0
- package/dist/plugins/remote-access-tailscale/services/tailscale-cli.service.d.ts +75 -0
- package/dist/plugins/remote-access-tailscale/services/tailscale-cli.service.js +206 -0
- package/dist/plugins/remote-access-tailscale/services/tailscale-cli.service.js.map +1 -0
- package/dist/plugins/remote-access-tailscale/services/tailscale-login.service.d.ts +43 -0
- package/dist/plugins/remote-access-tailscale/services/tailscale-login.service.js +344 -0
- package/dist/plugins/remote-access-tailscale/services/tailscale-login.service.js.map +1 -0
- package/dist/plugins/remote-access-tailscale/services/tailscale-node-managed.service.d.ts +65 -0
- package/dist/plugins/remote-access-tailscale/services/tailscale-node-managed.service.js +471 -0
- package/dist/plugins/remote-access-tailscale/services/tailscale-node-managed.service.js.map +1 -0
- package/dist/plugins/remote-access-tailscale/services/tailscale-provider.service.d.ts +10 -0
- package/dist/plugins/remote-access-tailscale/services/tailscale-provider.service.js +37 -0
- package/dist/plugins/remote-access-tailscale/services/tailscale-provider.service.js.map +1 -0
- package/dist/plugins/remote-access-tailscale/services/tailscale-serve.service.d.ts +21 -0
- package/dist/plugins/remote-access-tailscale/services/tailscale-serve.service.js +140 -0
- package/dist/plugins/remote-access-tailscale/services/tailscale-serve.service.js.map +1 -0
- package/dist/plugins/remote-access-tailscale/services/tailscale-setup.service.d.ts +30 -0
- package/dist/plugins/remote-access-tailscale/services/tailscale-setup.service.js +130 -0
- package/dist/plugins/remote-access-tailscale/services/tailscale-setup.service.js.map +1 -0
- package/dist/plugins/remote-access-tailscale/services/tailscale-status-mapper.service.d.ts +21 -0
- package/dist/plugins/remote-access-tailscale/services/tailscale-status-mapper.service.js +106 -0
- package/dist/plugins/remote-access-tailscale/services/tailscale-status-mapper.service.js.map +1 -0
- package/dist/plugins/scenes-local/dto/create-local-scene-action.dto.js +2 -0
- package/dist/plugins/scenes-local/dto/create-local-scene-action.dto.js.map +1 -1
- package/dist/plugins/scenes-local/dto/update-local-scene-action.dto.js +2 -0
- package/dist/plugins/scenes-local/dto/update-local-scene-action.dto.js.map +1 -1
- package/dist/plugins/scenes-local/platforms/local-scene.platform.d.ts +1 -0
- package/dist/plugins/scenes-local/platforms/local-scene.platform.js +11 -0
- package/dist/plugins/scenes-local/platforms/local-scene.platform.js.map +1 -1
- package/dist/plugins/simulator/controllers/simulator.controller.js +12 -4
- package/dist/plugins/simulator/controllers/simulator.controller.js.map +1 -1
- package/dist/plugins/simulator/models/simulator-response.model.js +1 -0
- package/dist/plugins/simulator/models/simulator-response.model.js.map +1 -1
- package/dist/plugins/simulator/services/simulation.service.d.ts +7 -3
- package/dist/plugins/simulator/services/simulation.service.js +5 -2
- package/dist/plugins/simulator/services/simulation.service.js.map +1 -1
- package/dist/plugins/simulator/simulator.plugin.d.ts +3 -3
- package/dist/plugins/simulator/simulator.plugin.js +5 -5
- package/dist/plugins/simulator/simulator.plugin.js.map +1 -1
- package/dist/plugins/spaces-home-control/services/climate-intent.service.d.ts +3 -0
- package/dist/plugins/spaces-home-control/services/climate-intent.service.js +84 -16
- package/dist/plugins/spaces-home-control/services/climate-intent.service.js.map +1 -1
- package/dist/plugins/spaces-home-control/services/covers-intent.service.d.ts +1 -0
- package/dist/plugins/spaces-home-control/services/covers-intent.service.js +7 -1
- package/dist/plugins/spaces-home-control/services/covers-intent.service.js.map +1 -1
- package/dist/plugins/spaces-home-control/services/lighting-intent.service.d.ts +4 -1
- package/dist/plugins/spaces-home-control/services/lighting-intent.service.js +41 -12
- package/dist/plugins/spaces-home-control/services/lighting-intent.service.js.map +1 -1
- package/dist/plugins/spaces-home-control/services/space-climate-state.service.js +2 -2
- package/dist/plugins/spaces-home-control/services/space-climate-state.service.js.map +1 -1
- package/dist/plugins/spaces-home-control/services/space-intent.service.d.ts +2 -1
- package/dist/plugins/spaces-home-control/services/space-intent.service.js +5 -2
- package/dist/plugins/spaces-home-control/services/space-intent.service.js.map +1 -1
- package/dist/plugins/spaces-home-control/services/space-lighting-tool.service.d.ts +2 -3
- package/dist/plugins/spaces-home-control/services/space-lighting-tool.service.js +99 -40
- package/dist/plugins/spaces-home-control/services/space-lighting-tool.service.js.map +1 -1
- package/dist/plugins/spaces-home-control/services/space-suggestion-heartbeat.service.d.ts +13 -4
- package/dist/plugins/spaces-home-control/services/space-suggestion-heartbeat.service.js +63 -11
- package/dist/plugins/spaces-home-control/services/space-suggestion-heartbeat.service.js.map +1 -1
- package/dist/plugins/spaces-home-control/spaces-home-control.plugin.d.ts +5 -1
- package/dist/plugins/spaces-home-control/spaces-home-control.plugin.js +10 -2
- package/dist/plugins/spaces-home-control/spaces-home-control.plugin.js.map +1 -1
- package/dist/plugins/spaces-home-control/spec/definitions/climate-intents.yaml +94 -0
- package/dist/plugins/spaces-home-control/spec/definitions/covers-modes.yaml +83 -0
- package/dist/plugins/spaces-home-control/spec/definitions/enums.yaml +119 -0
- package/dist/plugins/spaces-home-control/spec/definitions/lighting-intents.yaml +181 -0
- package/dist/plugins/spaces-home-control/spec/definitions/lighting-modes.yaml +119 -0
- package/dist/plugins/spaces-home-control/spec/definitions/suggestions.yaml +47 -0
- package/dist/plugins/tiles-device-preview/dto/create-tile.dto.js +2 -0
- package/dist/plugins/tiles-device-preview/dto/create-tile.dto.js.map +1 -1
- package/dist/plugins/tiles-device-preview/dto/update-tile.dto.js +2 -0
- package/dist/plugins/tiles-device-preview/dto/update-tile.dto.js.map +1 -1
- package/dist/plugins/weather-openweathermap/dto/update-config.dto.js +2 -3
- package/dist/plugins/weather-openweathermap/dto/update-config.dto.js.map +1 -1
- package/dist/plugins/weather-openweathermap/models/config.model.d.ts +1 -0
- package/dist/plugins/weather-openweathermap/models/config.model.js +12 -1
- package/dist/plugins/weather-openweathermap/models/config.model.js.map +1 -1
- package/dist/plugins/weather-openweathermap/weather-openweathermap.plugin.js +7 -0
- package/dist/plugins/weather-openweathermap/weather-openweathermap.plugin.js.map +1 -1
- package/dist/plugins/weather-openweathermap-onecall/dto/update-config.dto.js +2 -3
- package/dist/plugins/weather-openweathermap-onecall/dto/update-config.dto.js.map +1 -1
- package/dist/plugins/weather-openweathermap-onecall/models/config.model.d.ts +1 -0
- package/dist/plugins/weather-openweathermap-onecall/models/config.model.js +12 -1
- package/dist/plugins/weather-openweathermap-onecall/models/config.model.js.map +1 -1
- package/dist/plugins/weather-openweathermap-onecall/weather-openweathermap-onecall.plugin.js +7 -0
- package/dist/plugins/weather-openweathermap-onecall/weather-openweathermap-onecall.plugin.js.map +1 -1
- package/dist/spec/channels.d.ts +2 -2
- package/dist/spec/channels.js +2 -2
- package/dist/spec/channels.js.map +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +32 -3
- package/dist/modules/extensions/services/base-managed-plugin.service.js.map +0 -1
- package/dist/modules/extensions/services/managed-plugin-service.interface.js.map +0 -1
- package/dist/modules/extensions/services/plugin-service-manager.service.d.ts +0 -43
- package/dist/modules/extensions/services/plugin-service-manager.service.js.map +0 -1
- package/dist/modules/websocket/utils/ip.utils.d.ts +0 -2
- package/dist/modules/websocket/utils/ip.utils.js +0 -35
- package/dist/modules/websocket/utils/ip.utils.js.map +0 -1
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ILlmProvider, LlmConversationItem, LlmOptions, LlmResponse } from '../../../modules/buddy/platforms/llm-provider.platform';
|
|
2
2
|
import { ConfigService } from '../../../modules/config/services/config.service';
|
|
3
|
+
import { ToolDefinition } from '../../../modules/tools/platforms/tool-provider.platform';
|
|
4
|
+
export declare function buildOpenAiCodexRequestPayload(model: string, systemPrompt: string, messages: LlmConversationItem[], tools?: ToolDefinition[], maxTokens?: number): Record<string, unknown>;
|
|
3
5
|
export declare class OpenAiCodexProvider implements ILlmProvider {
|
|
4
6
|
private readonly configService;
|
|
5
7
|
private readonly tokenManager;
|
|
@@ -10,8 +12,8 @@ export declare class OpenAiCodexProvider implements ILlmProvider {
|
|
|
10
12
|
getDefaultModel(): string;
|
|
11
13
|
isConfigured(pluginConfig: Record<string, unknown>): boolean;
|
|
12
14
|
supportsTools(): boolean;
|
|
13
|
-
|
|
14
|
-
|
|
15
|
+
supportsNativeToolResults(): boolean;
|
|
16
|
+
sendMessage(systemPrompt: string, messages: LlmConversationItem[], model: string, options?: LlmOptions): Promise<LlmResponse>;
|
|
15
17
|
private collectStreamResponse;
|
|
16
18
|
private getPluginConfig;
|
|
17
19
|
}
|
|
@@ -10,11 +10,311 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.OpenAiCodexProvider = void 0;
|
|
13
|
+
exports.buildOpenAiCodexRequestPayload = buildOpenAiCodexRequestPayload;
|
|
13
14
|
const common_1 = require("@nestjs/common");
|
|
14
15
|
const buddy_constants_1 = require("../../../modules/buddy/buddy.constants");
|
|
16
|
+
const llm_conversation_utils_1 = require("../../../modules/buddy/platforms/llm-conversation.utils");
|
|
15
17
|
const oauth_token_manager_1 = require("../../../modules/buddy/platforms/oauth-token-manager");
|
|
16
18
|
const config_service_1 = require("../../../modules/config/services/config.service");
|
|
17
19
|
const buddy_openai_codex_constants_1 = require("../buddy-openai-codex.constants");
|
|
20
|
+
function buildOpenAiCodexRequestPayload(model, systemPrompt, messages, tools, maxTokens = 1024) {
|
|
21
|
+
(0, llm_conversation_utils_1.validateLlmConversationItems)(messages);
|
|
22
|
+
const input = messages.flatMap((message) => {
|
|
23
|
+
if ((0, llm_conversation_utils_1.isChatMessage)(message)) {
|
|
24
|
+
return [
|
|
25
|
+
{
|
|
26
|
+
role: message.role === buddy_constants_1.MessageRole.USER ? 'user' : 'assistant',
|
|
27
|
+
content: message.content,
|
|
28
|
+
type: 'message',
|
|
29
|
+
},
|
|
30
|
+
];
|
|
31
|
+
}
|
|
32
|
+
if ((0, llm_conversation_utils_1.isLlmAssistantToolCallsItem)(message)) {
|
|
33
|
+
const providerItems = message.providerItems ?? [];
|
|
34
|
+
if (providerItems.length > 0) {
|
|
35
|
+
return serializeOpenAiCodexProviderItems(message.content, message.calls, providerItems);
|
|
36
|
+
}
|
|
37
|
+
return [
|
|
38
|
+
...(message.content.length === 0 ? [] : [{ role: 'assistant', content: message.content, type: 'message' }]),
|
|
39
|
+
...message.calls.map((call) => ({
|
|
40
|
+
type: 'function_call',
|
|
41
|
+
call_id: (0, llm_conversation_utils_1.requireProviderCallId)('OpenAI Codex', call.providerCallId),
|
|
42
|
+
name: call.name,
|
|
43
|
+
arguments: call.rawArguments ?? JSON.stringify(call.arguments),
|
|
44
|
+
})),
|
|
45
|
+
];
|
|
46
|
+
}
|
|
47
|
+
return message.results.map((result) => ({
|
|
48
|
+
type: 'function_call_output',
|
|
49
|
+
call_id: (0, llm_conversation_utils_1.requireProviderCallId)('OpenAI Codex', result.providerCallId),
|
|
50
|
+
output: (0, llm_conversation_utils_1.serializeLlmConversationToolResult)(result),
|
|
51
|
+
}));
|
|
52
|
+
});
|
|
53
|
+
return {
|
|
54
|
+
model,
|
|
55
|
+
instructions: systemPrompt,
|
|
56
|
+
input,
|
|
57
|
+
stream: true,
|
|
58
|
+
store: false,
|
|
59
|
+
include: ['reasoning.encrypted_content'],
|
|
60
|
+
max_output_tokens: maxTokens,
|
|
61
|
+
tools: tools?.map((tool) => ({
|
|
62
|
+
type: 'function',
|
|
63
|
+
name: tool.name,
|
|
64
|
+
description: tool.description,
|
|
65
|
+
parameters: tool.parameters,
|
|
66
|
+
})) ?? [],
|
|
67
|
+
tool_choice: 'auto',
|
|
68
|
+
};
|
|
69
|
+
}
|
|
70
|
+
function serializeOpenAiCodexProviderItems(content, calls, providerItems) {
|
|
71
|
+
const orderedProviderItems = [...providerItems].sort((left, right) => left.outputIndex - right.outputIndex);
|
|
72
|
+
const nativeItems = orderedProviderItems.map(toOpenAiCodexProviderItem);
|
|
73
|
+
const providerMessages = nativeItems.filter((item) => item.type === 'message');
|
|
74
|
+
const providerCalls = nativeItems.filter((item) => item.type === 'function_call');
|
|
75
|
+
const providerContent = providerMessages.map(getOpenAiCodexAssistantMessageText).join('');
|
|
76
|
+
if (providerContent !== content) {
|
|
77
|
+
throw new TypeError('OpenAI Codex provider message state does not match canonical assistant content');
|
|
78
|
+
}
|
|
79
|
+
if (providerCalls.length !== calls.length) {
|
|
80
|
+
throw new TypeError('OpenAI Codex provider state must contain exactly one native item per function call');
|
|
81
|
+
}
|
|
82
|
+
for (const [callIndex, call] of calls.entries()) {
|
|
83
|
+
const providerCall = providerCalls[callIndex];
|
|
84
|
+
const providerCallId = (0, llm_conversation_utils_1.requireProviderCallId)('OpenAI Codex', call.providerCallId);
|
|
85
|
+
let providerArguments;
|
|
86
|
+
try {
|
|
87
|
+
providerArguments = JSON.parse(providerCall.arguments);
|
|
88
|
+
}
|
|
89
|
+
catch {
|
|
90
|
+
throw new TypeError('OpenAI Codex provider function call contains invalid arguments');
|
|
91
|
+
}
|
|
92
|
+
if (providerCall.call_id !== providerCallId ||
|
|
93
|
+
providerCall.name !== call.name ||
|
|
94
|
+
JSON.stringify(providerArguments) !== JSON.stringify(call.arguments)) {
|
|
95
|
+
throw new TypeError(`OpenAI Codex provider function call at index ${callIndex} is ambiguous`);
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
return nativeItems.map((item) => ({ ...item }));
|
|
99
|
+
}
|
|
100
|
+
function toOpenAiCodexProviderItem(providerItem) {
|
|
101
|
+
if (providerItem.provider !== buddy_openai_codex_constants_1.BUDDY_OPENAI_CODEX_PLUGIN_NAME) {
|
|
102
|
+
throw new TypeError(`OpenAI Codex cannot replay provider item for "${providerItem.provider}"`);
|
|
103
|
+
}
|
|
104
|
+
return parseOpenAiCodexProviderOutputItem(providerItem.item);
|
|
105
|
+
}
|
|
106
|
+
function parseOpenAiCodexProviderOutputItem(item) {
|
|
107
|
+
if (item.type === 'reasoning') {
|
|
108
|
+
return parseOpenAiCodexReasoningItem(item);
|
|
109
|
+
}
|
|
110
|
+
if (item.type === 'message') {
|
|
111
|
+
return parseOpenAiCodexAssistantMessageItem(item);
|
|
112
|
+
}
|
|
113
|
+
if (item.type === 'function_call') {
|
|
114
|
+
return parseOpenAiCodexFunctionCallItem(item);
|
|
115
|
+
}
|
|
116
|
+
throw new TypeError('OpenAI Codex provider continuation contains an unsupported output item');
|
|
117
|
+
}
|
|
118
|
+
function parseOpenAiCodexReasoningItem(item) {
|
|
119
|
+
if (item.type !== 'reasoning' ||
|
|
120
|
+
typeof item.id !== 'string' ||
|
|
121
|
+
item.id.length === 0 ||
|
|
122
|
+
typeof item.encrypted_content !== 'string' ||
|
|
123
|
+
item.encrypted_content.length === 0 ||
|
|
124
|
+
!Array.isArray(item.summary)) {
|
|
125
|
+
throw new TypeError('OpenAI Codex reasoning continuation requires complete encrypted content');
|
|
126
|
+
}
|
|
127
|
+
const summary = item.summary.map((part) => {
|
|
128
|
+
if (!isRecord(part) || part.type !== 'summary_text' || typeof part.text !== 'string') {
|
|
129
|
+
throw new TypeError('OpenAI Codex reasoning continuation has an invalid summary');
|
|
130
|
+
}
|
|
131
|
+
return { type: 'summary_text', text: part.text };
|
|
132
|
+
});
|
|
133
|
+
let content;
|
|
134
|
+
if (item.content !== undefined) {
|
|
135
|
+
if (!Array.isArray(item.content)) {
|
|
136
|
+
throw new TypeError('OpenAI Codex reasoning continuation has invalid content');
|
|
137
|
+
}
|
|
138
|
+
content = item.content.map((part) => {
|
|
139
|
+
if (!isRecord(part) || part.type !== 'reasoning_text' || typeof part.text !== 'string') {
|
|
140
|
+
throw new TypeError('OpenAI Codex reasoning continuation has invalid content');
|
|
141
|
+
}
|
|
142
|
+
return { type: 'reasoning_text', text: part.text };
|
|
143
|
+
});
|
|
144
|
+
}
|
|
145
|
+
const allowedStatuses = ['in_progress', 'completed', 'incomplete'];
|
|
146
|
+
const status = allowedStatuses.find((candidate) => candidate === item.status);
|
|
147
|
+
if (item.status !== undefined && status === undefined) {
|
|
148
|
+
throw new TypeError('OpenAI Codex reasoning continuation has an invalid status');
|
|
149
|
+
}
|
|
150
|
+
return {
|
|
151
|
+
type: 'reasoning',
|
|
152
|
+
id: item.id,
|
|
153
|
+
summary,
|
|
154
|
+
...(content === undefined ? {} : { content }),
|
|
155
|
+
encrypted_content: item.encrypted_content,
|
|
156
|
+
...(status === undefined ? {} : { status }),
|
|
157
|
+
};
|
|
158
|
+
}
|
|
159
|
+
function parseOpenAiCodexAssistantMessageItem(item) {
|
|
160
|
+
if (item.type !== 'message' ||
|
|
161
|
+
typeof item.id !== 'string' ||
|
|
162
|
+
item.id.length === 0 ||
|
|
163
|
+
item.role !== 'assistant' ||
|
|
164
|
+
!Array.isArray(item.content)) {
|
|
165
|
+
throw new TypeError('OpenAI Codex assistant message continuation is incomplete');
|
|
166
|
+
}
|
|
167
|
+
const content = item.content.map(parseOpenAiCodexAssistantContentPart);
|
|
168
|
+
const allowedPhases = ['commentary', 'final_answer'];
|
|
169
|
+
const phase = allowedPhases.find((candidate) => candidate === item.phase);
|
|
170
|
+
if (item.phase !== undefined && item.phase !== null && phase === undefined) {
|
|
171
|
+
throw new TypeError('OpenAI Codex assistant message continuation has an invalid phase');
|
|
172
|
+
}
|
|
173
|
+
const status = parseOpenAiCodexOutputStatus(item.status, 'assistant message');
|
|
174
|
+
return {
|
|
175
|
+
type: 'message',
|
|
176
|
+
id: item.id,
|
|
177
|
+
role: 'assistant',
|
|
178
|
+
content,
|
|
179
|
+
...(phase === undefined ? {} : { phase }),
|
|
180
|
+
...(status === undefined ? {} : { status }),
|
|
181
|
+
};
|
|
182
|
+
}
|
|
183
|
+
function parseOpenAiCodexAssistantContentPart(part) {
|
|
184
|
+
if (!isRecord(part)) {
|
|
185
|
+
throw new TypeError('OpenAI Codex assistant message continuation has invalid content');
|
|
186
|
+
}
|
|
187
|
+
if (part.type === 'refusal' && typeof part.refusal === 'string') {
|
|
188
|
+
return { type: 'refusal', refusal: part.refusal };
|
|
189
|
+
}
|
|
190
|
+
if (part.type !== 'output_text' || typeof part.text !== 'string' || !Array.isArray(part.annotations)) {
|
|
191
|
+
throw new TypeError('OpenAI Codex assistant message continuation has invalid content');
|
|
192
|
+
}
|
|
193
|
+
const annotations = part.annotations.map(parseOpenAiCodexAssistantTextAnnotation);
|
|
194
|
+
let logprobs;
|
|
195
|
+
if (part.logprobs !== undefined) {
|
|
196
|
+
if (!Array.isArray(part.logprobs)) {
|
|
197
|
+
throw new TypeError('OpenAI Codex assistant message continuation has invalid log probabilities');
|
|
198
|
+
}
|
|
199
|
+
logprobs = part.logprobs.map(parseOpenAiCodexAssistantLogprob);
|
|
200
|
+
}
|
|
201
|
+
return {
|
|
202
|
+
type: 'output_text',
|
|
203
|
+
text: part.text,
|
|
204
|
+
annotations,
|
|
205
|
+
...(logprobs === undefined ? {} : { logprobs }),
|
|
206
|
+
};
|
|
207
|
+
}
|
|
208
|
+
function parseOpenAiCodexAssistantTextAnnotation(annotation) {
|
|
209
|
+
if (!isRecord(annotation)) {
|
|
210
|
+
throw new TypeError('OpenAI Codex assistant message continuation has an invalid annotation');
|
|
211
|
+
}
|
|
212
|
+
if (annotation.type === 'file_citation' &&
|
|
213
|
+
typeof annotation.file_id === 'string' &&
|
|
214
|
+
typeof annotation.filename === 'string' &&
|
|
215
|
+
isNonnegativeInteger(annotation.index)) {
|
|
216
|
+
return {
|
|
217
|
+
type: 'file_citation',
|
|
218
|
+
file_id: annotation.file_id,
|
|
219
|
+
filename: annotation.filename,
|
|
220
|
+
index: annotation.index,
|
|
221
|
+
};
|
|
222
|
+
}
|
|
223
|
+
if (annotation.type === 'url_citation' &&
|
|
224
|
+
isNonnegativeInteger(annotation.end_index) &&
|
|
225
|
+
isNonnegativeInteger(annotation.start_index) &&
|
|
226
|
+
typeof annotation.title === 'string' &&
|
|
227
|
+
typeof annotation.url === 'string') {
|
|
228
|
+
return {
|
|
229
|
+
type: 'url_citation',
|
|
230
|
+
end_index: annotation.end_index,
|
|
231
|
+
start_index: annotation.start_index,
|
|
232
|
+
title: annotation.title,
|
|
233
|
+
url: annotation.url,
|
|
234
|
+
};
|
|
235
|
+
}
|
|
236
|
+
if (annotation.type === 'container_file_citation' &&
|
|
237
|
+
typeof annotation.container_id === 'string' &&
|
|
238
|
+
isNonnegativeInteger(annotation.end_index) &&
|
|
239
|
+
typeof annotation.file_id === 'string' &&
|
|
240
|
+
typeof annotation.filename === 'string' &&
|
|
241
|
+
isNonnegativeInteger(annotation.start_index)) {
|
|
242
|
+
return {
|
|
243
|
+
type: 'container_file_citation',
|
|
244
|
+
container_id: annotation.container_id,
|
|
245
|
+
end_index: annotation.end_index,
|
|
246
|
+
file_id: annotation.file_id,
|
|
247
|
+
filename: annotation.filename,
|
|
248
|
+
start_index: annotation.start_index,
|
|
249
|
+
};
|
|
250
|
+
}
|
|
251
|
+
if (annotation.type === 'file_path' &&
|
|
252
|
+
typeof annotation.file_id === 'string' &&
|
|
253
|
+
isNonnegativeInteger(annotation.index)) {
|
|
254
|
+
return { type: 'file_path', file_id: annotation.file_id, index: annotation.index };
|
|
255
|
+
}
|
|
256
|
+
throw new TypeError('OpenAI Codex assistant message continuation has an invalid annotation');
|
|
257
|
+
}
|
|
258
|
+
function parseOpenAiCodexAssistantLogprob(logprob) {
|
|
259
|
+
if (!isRecord(logprob) || !Array.isArray(logprob.top_logprobs)) {
|
|
260
|
+
throw new TypeError('OpenAI Codex assistant message continuation has invalid log probabilities');
|
|
261
|
+
}
|
|
262
|
+
return {
|
|
263
|
+
...parseOpenAiCodexAssistantTopLogprob(logprob),
|
|
264
|
+
top_logprobs: logprob.top_logprobs.map(parseOpenAiCodexAssistantTopLogprob),
|
|
265
|
+
};
|
|
266
|
+
}
|
|
267
|
+
function parseOpenAiCodexAssistantTopLogprob(logprob) {
|
|
268
|
+
if (!isRecord(logprob) ||
|
|
269
|
+
typeof logprob.token !== 'string' ||
|
|
270
|
+
!isByteArray(logprob.bytes) ||
|
|
271
|
+
typeof logprob.logprob !== 'number' ||
|
|
272
|
+
!Number.isFinite(logprob.logprob)) {
|
|
273
|
+
throw new TypeError('OpenAI Codex assistant message continuation has invalid log probabilities');
|
|
274
|
+
}
|
|
275
|
+
return { token: logprob.token, bytes: [...logprob.bytes], logprob: logprob.logprob };
|
|
276
|
+
}
|
|
277
|
+
function getOpenAiCodexAssistantMessageText(message) {
|
|
278
|
+
return message.content.map((part) => (part.type === 'output_text' ? part.text : part.refusal)).join('');
|
|
279
|
+
}
|
|
280
|
+
function isByteArray(value) {
|
|
281
|
+
return (Array.isArray(value) &&
|
|
282
|
+
value.every((byte) => typeof byte === 'number' && Number.isInteger(byte) && byte >= 0 && byte <= 255));
|
|
283
|
+
}
|
|
284
|
+
function parseOpenAiCodexFunctionCallItem(item) {
|
|
285
|
+
if (item.type !== 'function_call' ||
|
|
286
|
+
typeof item.call_id !== 'string' ||
|
|
287
|
+
item.call_id.length === 0 ||
|
|
288
|
+
typeof item.name !== 'string' ||
|
|
289
|
+
item.name.length === 0 ||
|
|
290
|
+
typeof item.arguments !== 'string') {
|
|
291
|
+
throw new TypeError('OpenAI Codex function call continuation is incomplete');
|
|
292
|
+
}
|
|
293
|
+
if (item.id !== undefined && (typeof item.id !== 'string' || item.id.length === 0)) {
|
|
294
|
+
throw new TypeError('OpenAI Codex function call continuation has an invalid ID');
|
|
295
|
+
}
|
|
296
|
+
const status = parseOpenAiCodexOutputStatus(item.status, 'function call');
|
|
297
|
+
return {
|
|
298
|
+
type: 'function_call',
|
|
299
|
+
...(item.id === undefined ? {} : { id: item.id }),
|
|
300
|
+
call_id: item.call_id,
|
|
301
|
+
name: item.name,
|
|
302
|
+
arguments: item.arguments,
|
|
303
|
+
...(status === undefined ? {} : { status }),
|
|
304
|
+
};
|
|
305
|
+
}
|
|
306
|
+
function parseOpenAiCodexOutputStatus(value, label) {
|
|
307
|
+
if (value === undefined) {
|
|
308
|
+
return undefined;
|
|
309
|
+
}
|
|
310
|
+
if (value === 'in_progress' || value === 'completed' || value === 'incomplete') {
|
|
311
|
+
return value;
|
|
312
|
+
}
|
|
313
|
+
throw new TypeError(`OpenAI Codex ${label} continuation has an invalid status`);
|
|
314
|
+
}
|
|
315
|
+
function isRecord(value) {
|
|
316
|
+
return typeof value === 'object' && value !== null && !Array.isArray(value);
|
|
317
|
+
}
|
|
18
318
|
let OpenAiCodexProvider = class OpenAiCodexProvider {
|
|
19
319
|
constructor(configService) {
|
|
20
320
|
this.configService = configService;
|
|
@@ -49,17 +349,15 @@ let OpenAiCodexProvider = class OpenAiCodexProvider {
|
|
|
49
349
|
supportsTools() {
|
|
50
350
|
return true;
|
|
51
351
|
}
|
|
352
|
+
supportsNativeToolResults() {
|
|
353
|
+
return true;
|
|
354
|
+
}
|
|
52
355
|
async sendMessage(systemPrompt, messages, model, options) {
|
|
53
356
|
const config = this.getPluginConfig();
|
|
54
357
|
const accessToken = await this.tokenManager.resolveAccessToken(config);
|
|
55
358
|
const resolvedModel = config?.model ?? model;
|
|
56
359
|
const timeout = options?.timeout ?? 30_000;
|
|
57
|
-
const
|
|
58
|
-
role: m.role === buddy_constants_1.MessageRole.USER ? 'user' : 'assistant',
|
|
59
|
-
content: m.content,
|
|
60
|
-
type: 'message',
|
|
61
|
-
}));
|
|
62
|
-
const tools = this.formatTools(options?.tools);
|
|
360
|
+
const requestPayload = buildOpenAiCodexRequestPayload(resolvedModel, systemPrompt, messages, options?.tools, options?.maxTokens ?? 1024);
|
|
63
361
|
const controller = new AbortController();
|
|
64
362
|
const timeoutId = setTimeout(() => controller.abort(), timeout);
|
|
65
363
|
const start = Date.now();
|
|
@@ -70,26 +368,20 @@ let OpenAiCodexProvider = class OpenAiCodexProvider {
|
|
|
70
368
|
Authorization: `Bearer ${accessToken}`,
|
|
71
369
|
'Content-Type': 'application/json',
|
|
72
370
|
},
|
|
73
|
-
body: JSON.stringify(
|
|
74
|
-
model: resolvedModel,
|
|
75
|
-
instructions: systemPrompt,
|
|
76
|
-
input,
|
|
77
|
-
stream: true,
|
|
78
|
-
store: false,
|
|
79
|
-
tools,
|
|
80
|
-
tool_choice: 'auto',
|
|
81
|
-
}),
|
|
371
|
+
body: JSON.stringify(requestPayload),
|
|
82
372
|
signal: controller.signal,
|
|
83
373
|
});
|
|
84
374
|
if (!response.ok) {
|
|
85
375
|
const errorBody = await response.text().catch(() => '');
|
|
86
376
|
throw new Error(`${response.status} ${errorBody || response.statusText}`);
|
|
87
377
|
}
|
|
88
|
-
const { content, toolCalls } = await this.collectStreamResponse(response);
|
|
378
|
+
const { content, toolCalls, toolErrors, providerItems } = await this.collectStreamResponse(response);
|
|
89
379
|
const durationMs = Date.now() - start;
|
|
90
380
|
return {
|
|
91
381
|
content,
|
|
92
382
|
toolCalls: toolCalls.length > 0 ? toolCalls : undefined,
|
|
383
|
+
toolErrors: toolErrors.length > 0 ? toolErrors : undefined,
|
|
384
|
+
providerItems: providerItems.length > 0 ? providerItems : undefined,
|
|
93
385
|
meta: {
|
|
94
386
|
provider: buddy_openai_codex_constants_1.BUDDY_OPENAI_CODEX_PLUGIN_NAME,
|
|
95
387
|
model: resolvedModel,
|
|
@@ -106,27 +398,61 @@ let OpenAiCodexProvider = class OpenAiCodexProvider {
|
|
|
106
398
|
clearTimeout(timeoutId);
|
|
107
399
|
}
|
|
108
400
|
}
|
|
109
|
-
formatTools(tools) {
|
|
110
|
-
if (!tools || tools.length === 0) {
|
|
111
|
-
return [];
|
|
112
|
-
}
|
|
113
|
-
return tools.map((t) => ({
|
|
114
|
-
type: 'function',
|
|
115
|
-
name: t.name,
|
|
116
|
-
description: t.description,
|
|
117
|
-
parameters: t.parameters,
|
|
118
|
-
}));
|
|
119
|
-
}
|
|
120
401
|
async collectStreamResponse(response) {
|
|
121
402
|
const body = response.body;
|
|
122
403
|
if (!body) {
|
|
123
|
-
return { content: '', toolCalls: [] };
|
|
404
|
+
return { content: '', toolCalls: [], toolErrors: [], providerItems: [] };
|
|
124
405
|
}
|
|
125
406
|
const reader = body.getReader();
|
|
126
407
|
const decoder = new TextDecoder();
|
|
127
408
|
let buffer = '';
|
|
128
409
|
let content = '';
|
|
129
410
|
const toolCallMap = new Map();
|
|
411
|
+
const outputItemIdentityByIndex = new Map();
|
|
412
|
+
const providerItemMap = new Map();
|
|
413
|
+
const captureOutputItem = (item, outputIndex, complete) => {
|
|
414
|
+
const outputItemIdentity = item.type === 'function_call' && typeof item.call_id === 'string' && item.call_id.length > 0
|
|
415
|
+
? `function_call:${item.call_id}`
|
|
416
|
+
: typeof item.type === 'string' && typeof item.id === 'string' && item.id.length > 0
|
|
417
|
+
? `${item.type}:${item.id}`
|
|
418
|
+
: undefined;
|
|
419
|
+
const existingOutputItemIdentity = outputItemIdentityByIndex.get(outputIndex);
|
|
420
|
+
if (existingOutputItemIdentity !== undefined &&
|
|
421
|
+
outputItemIdentity !== undefined &&
|
|
422
|
+
existingOutputItemIdentity !== outputItemIdentity) {
|
|
423
|
+
throw new Error(`OpenAI Codex response contains duplicate output index ${outputIndex}`);
|
|
424
|
+
}
|
|
425
|
+
if (item.type !== 'function_call' || typeof item.call_id !== 'string' || item.call_id.length === 0) {
|
|
426
|
+
if (complete) {
|
|
427
|
+
const providerItem = parseOpenAiCodexProviderOutputItem(item);
|
|
428
|
+
if (outputItemIdentity !== undefined) {
|
|
429
|
+
outputItemIdentityByIndex.set(outputIndex, outputItemIdentity);
|
|
430
|
+
}
|
|
431
|
+
providerItemMap.set(outputIndex, providerItem);
|
|
432
|
+
}
|
|
433
|
+
else if (outputItemIdentity !== undefined) {
|
|
434
|
+
outputItemIdentityByIndex.set(outputIndex, outputItemIdentity);
|
|
435
|
+
}
|
|
436
|
+
return;
|
|
437
|
+
}
|
|
438
|
+
const existing = toolCallMap.get(item.call_id);
|
|
439
|
+
if (existing !== undefined && existing.outputIndex !== outputIndex) {
|
|
440
|
+
throw new Error(`OpenAI Codex response contains duplicate call ID at output index ${outputIndex}`);
|
|
441
|
+
}
|
|
442
|
+
if (complete) {
|
|
443
|
+
const providerItem = parseOpenAiCodexProviderOutputItem(item);
|
|
444
|
+
providerItemMap.set(outputIndex, providerItem);
|
|
445
|
+
}
|
|
446
|
+
outputItemIdentityByIndex.set(outputIndex, `function_call:${item.call_id}`);
|
|
447
|
+
const itemArguments = typeof item.arguments === 'string' ? item.arguments : undefined;
|
|
448
|
+
toolCallMap.set(item.call_id, {
|
|
449
|
+
id: item.call_id,
|
|
450
|
+
name: typeof item.name === 'string' ? item.name : (existing?.name ?? ''),
|
|
451
|
+
args: itemArguments ?? existing?.args ?? '',
|
|
452
|
+
outputIndex,
|
|
453
|
+
complete: complete || existing?.complete === true,
|
|
454
|
+
});
|
|
455
|
+
};
|
|
130
456
|
while (true) {
|
|
131
457
|
const { done, value } = await reader.read();
|
|
132
458
|
if (done) {
|
|
@@ -139,33 +465,54 @@ let OpenAiCodexProvider = class OpenAiCodexProvider {
|
|
|
139
465
|
if (!line.startsWith('data: ') || line === 'data: [DONE]') {
|
|
140
466
|
continue;
|
|
141
467
|
}
|
|
468
|
+
let event;
|
|
142
469
|
try {
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
470
|
+
event = JSON.parse(line.slice(6));
|
|
471
|
+
}
|
|
472
|
+
catch {
|
|
473
|
+
continue;
|
|
474
|
+
}
|
|
475
|
+
if (event.type === 'response.incomplete') {
|
|
476
|
+
throw new Error(`OpenAI Codex response incomplete: ${parseOpenAiCodexIncompleteReason(event.response?.incomplete_details)}`);
|
|
477
|
+
}
|
|
478
|
+
if ((event.type === 'response.output_text.delta' || event.type === 'response.refusal.delta') && event.delta) {
|
|
479
|
+
content += event.delta;
|
|
480
|
+
}
|
|
481
|
+
else if (event.type === 'response.function_call_arguments.delta' && event.call_id && event.delta) {
|
|
482
|
+
const existing = toolCallMap.get(event.call_id);
|
|
483
|
+
if (existing) {
|
|
484
|
+
if (!isValidOutputIndex(event.output_index) || event.output_index !== existing.outputIndex) {
|
|
485
|
+
throw new Error('OpenAI Codex function call argument delta has a mismatched output index');
|
|
151
486
|
}
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
event.
|
|
156
|
-
toolCallMap.set(event.item.call_id, {
|
|
157
|
-
id: event.item.call_id,
|
|
158
|
-
name: event.item.name ?? '',
|
|
159
|
-
args: '',
|
|
160
|
-
});
|
|
487
|
+
if (existing.complete) {
|
|
488
|
+
throw new Error('OpenAI Codex function call arguments changed after completion');
|
|
489
|
+
}
|
|
490
|
+
existing.args += event.delta;
|
|
161
491
|
}
|
|
162
492
|
}
|
|
163
|
-
|
|
493
|
+
else if (event.type === 'response.output_item.added' &&
|
|
494
|
+
event.item &&
|
|
495
|
+
isValidOutputIndex(event.output_index)) {
|
|
496
|
+
captureOutputItem(event.item, event.output_index, false);
|
|
497
|
+
}
|
|
498
|
+
else if (event.type === 'response.output_item.done' && event.item && isValidOutputIndex(event.output_index)) {
|
|
499
|
+
captureOutputItem(event.item, event.output_index, true);
|
|
500
|
+
}
|
|
501
|
+
else if (event.type === 'response.completed' && event.response?.output) {
|
|
502
|
+
for (const [outputIndex, item] of event.response.output.entries()) {
|
|
503
|
+
captureOutputItem(item, outputIndex, true);
|
|
504
|
+
}
|
|
164
505
|
}
|
|
165
506
|
}
|
|
166
507
|
}
|
|
167
508
|
const toolCalls = [];
|
|
168
|
-
|
|
509
|
+
const toolErrors = [];
|
|
510
|
+
const incompleteToolCall = [...toolCallMap.values()].find((toolCall) => !toolCall.complete);
|
|
511
|
+
if (incompleteToolCall !== undefined) {
|
|
512
|
+
throw new Error(`OpenAI Codex function call "${incompleteToolCall.id}" did not complete`);
|
|
513
|
+
}
|
|
514
|
+
const orderedToolCalls = [...toolCallMap.values()].sort((left, right) => left.outputIndex - right.outputIndex);
|
|
515
|
+
for (const tc of orderedToolCalls) {
|
|
169
516
|
try {
|
|
170
517
|
toolCalls.push({
|
|
171
518
|
id: tc.id,
|
|
@@ -174,9 +521,31 @@ let OpenAiCodexProvider = class OpenAiCodexProvider {
|
|
|
174
521
|
});
|
|
175
522
|
}
|
|
176
523
|
catch {
|
|
524
|
+
toolErrors.push({
|
|
525
|
+
toolCallId: tc.id,
|
|
526
|
+
toolName: tc.name,
|
|
527
|
+
error: 'Invalid JSON arguments',
|
|
528
|
+
});
|
|
177
529
|
}
|
|
178
530
|
}
|
|
179
|
-
|
|
531
|
+
const providerItems = [...providerItemMap.entries()]
|
|
532
|
+
.sort(([leftIndex], [rightIndex]) => leftIndex - rightIndex)
|
|
533
|
+
.map(([outputIndex, item]) => ({
|
|
534
|
+
provider: buddy_openai_codex_constants_1.BUDDY_OPENAI_CODEX_PLUGIN_NAME,
|
|
535
|
+
outputIndex,
|
|
536
|
+
item,
|
|
537
|
+
}));
|
|
538
|
+
const providerMessages = [...providerItemMap.entries()]
|
|
539
|
+
.sort(([leftIndex], [rightIndex]) => leftIndex - rightIndex)
|
|
540
|
+
.flatMap(([, item]) => (item.type === 'message' ? [item] : []));
|
|
541
|
+
const providerContent = providerMessages.map(getOpenAiCodexAssistantMessageText).join('');
|
|
542
|
+
if (providerMessages.length > 0) {
|
|
543
|
+
if (content.length > 0 && content !== providerContent) {
|
|
544
|
+
throw new TypeError('OpenAI Codex streamed text does not match its completed message output');
|
|
545
|
+
}
|
|
546
|
+
content = providerContent;
|
|
547
|
+
}
|
|
548
|
+
return { content, toolCalls, toolErrors, providerItems };
|
|
180
549
|
}
|
|
181
550
|
getPluginConfig() {
|
|
182
551
|
try {
|
|
@@ -192,4 +561,16 @@ exports.OpenAiCodexProvider = OpenAiCodexProvider = __decorate([
|
|
|
192
561
|
(0, common_1.Injectable)(),
|
|
193
562
|
__metadata("design:paramtypes", [config_service_1.ConfigService])
|
|
194
563
|
], OpenAiCodexProvider);
|
|
564
|
+
function isValidOutputIndex(value) {
|
|
565
|
+
return isNonnegativeInteger(value);
|
|
566
|
+
}
|
|
567
|
+
function parseOpenAiCodexIncompleteReason(details) {
|
|
568
|
+
if (!isRecord(details)) {
|
|
569
|
+
return 'unknown';
|
|
570
|
+
}
|
|
571
|
+
return details.reason === 'max_output_tokens' || details.reason === 'content_filter' ? details.reason : 'unknown';
|
|
572
|
+
}
|
|
573
|
+
function isNonnegativeInteger(value) {
|
|
574
|
+
return typeof value === 'number' && Number.isInteger(value) && value >= 0;
|
|
575
|
+
}
|
|
195
576
|
//# sourceMappingURL=openai-codex.provider.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"openai-codex.provider.js","sourceRoot":"","sources":["../../../../src/plugins/buddy-openai-codex/platforms/openai-codex.provider.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2CAA4C;AAE5C,4EAAqE;AAOrE,8FAAyF;AACzF,oFAAgF;AAEhF,kFAMyC;AAIlC,IAAM,mBAAmB,GAAzB,MAAM,mBAAmB;IAM/B,YAA6B,aAA4B;QAA5B,kBAAa,GAAb,aAAa,CAAe;QALxC,iBAAY,GAAG,IAAI,uCAAiB,CAAC;YAC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3,"file":"openai-codex.provider.js","sourceRoot":"","sources":["../../../../src/plugins/buddy-openai-codex/platforms/openai-codex.provider.ts"],"names":[],"mappings":";;;;;;;;;;;;AA8DA,wEA8DC;AA5HD,2CAA4C;AAE5C,4EAAqE;AACrE,oGAMiE;AAiBjE,8FAAyF;AACzF,oFAAgF;AAEhF,kFAMyC;AA2BzC,SAAgB,8BAA8B,CAC7C,KAAa,EACb,YAAoB,EACpB,QAA+B,EAC/B,KAAwB,EACxB,YAAoB,IAAI;IAExB,IAAA,qDAA4B,EAAC,QAAQ,CAAC,CAAC;IAEvC,MAAM,KAAK,GAAG,QAAQ,CAAC,OAAO,CAA0B,CAAC,OAAO,EAAE,EAAE;QACnE,IAAI,IAAA,sCAAa,EAAC,OAAO,CAAC,EAAE,CAAC;YAC5B,OAAO;gBACN;oBACC,IAAI,EAAE,OAAO,CAAC,IAAI,KAAK,6BAAW,CAAC,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,WAAW;oBAC9D,OAAO,EAAE,OAAO,CAAC,OAAO;oBACxB,IAAI,EAAE,SAAS;iBACf;aACD,CAAC;QACH,CAAC;QAED,IAAI,IAAA,oDAA2B,EAAC,OAAO,CAAC,EAAE,CAAC;YAC1C,MAAM,aAAa,GAAG,OAAO,CAAC,aAAa,IAAI,EAAE,CAAC;YAElD,IAAI,aAAa,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;gBAC9B,OAAO,iCAAiC,CAAC,OAAO,CAAC,OAAO,EAAE,OAAO,CAAC,KAAK,EAAE,aAAa,CAAC,CAAC;YACzF,CAAC;YAED,OAAO;gBACN,GAAG,CAAC,OAAO,CAAC,OAAO,CAAC,MAAM,KAAK,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,EAAE,IAAI,EAAE,WAAW,EAAE,OAAO,EAAE,OAAO,CAAC,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC,CAAC;gBAC3G,GAAG,OAAO,CAA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