@fastybird/smart-panel-backend 0.12.0-alpha.0 → 1.0.0-beta.2
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.constants.js.map +1 -1
- package/dist/app.module.js +44 -17
- package/dist/app.module.js.map +1 -1
- package/dist/common/filters/bad-request-exception.filter.js +0 -6
- package/dist/common/filters/bad-request-exception.filter.js.map +1 -1
- package/dist/common/filters/global-error.filter.js +2 -6
- package/dist/common/filters/global-error.filter.js.map +1 -1
- package/dist/common/filters/internal-server-error-exception.filter.js +0 -5
- package/dist/common/filters/internal-server-error-exception.filter.js.map +1 -1
- package/dist/common/filters/not-found-exception.filter.d.ts +4 -0
- package/dist/common/filters/not-found-exception.filter.js +22 -3
- package/dist/common/filters/not-found-exception.filter.js.map +1 -1
- package/dist/common/filters/query-failed-exception.filter.js +0 -5
- package/dist/common/filters/query-failed-exception.filter.js.map +1 -1
- package/dist/common/filters/unprocessable-entity-exception.filter.js +0 -5
- package/dist/common/filters/unprocessable-entity-exception.filter.js.map +1 -1
- package/dist/common/plugin-relations/relation-loader.interface.d.ts +5 -0
- package/dist/common/plugin-relations/relation-loader.interface.js +3 -0
- package/dist/common/plugin-relations/relation-loader.interface.js.map +1 -0
- package/dist/common/services/app-instance-holder.service.d.ts +1 -2
- package/dist/common/services/app-instance-holder.service.js.map +1 -1
- package/dist/common/utils/config.utils.d.ts +0 -1
- package/dist/common/utils/config.utils.js +1 -11
- package/dist/common/utils/config.utils.js.map +1 -1
- package/dist/main.js +25 -6
- package/dist/main.js.map +1 -1
- package/dist/migrations/1000000000000-InitialSetup.js +8 -0
- package/dist/migrations/1000000000000-InitialSetup.js.map +1 -1
- package/dist/migrations/1000000000002-AddTokenLastUsedAt.d.ts +6 -0
- package/dist/migrations/1000000000002-AddTokenLastUsedAt.js +15 -0
- package/dist/migrations/1000000000002-AddTokenLastUsedAt.js.map +1 -0
- package/dist/migrations/1000000000003-UnifySpaceRoleTables.d.ts +6 -0
- package/dist/migrations/1000000000003-UnifySpaceRoleTables.js +88 -0
- package/dist/migrations/1000000000003-UnifySpaceRoleTables.js.map +1 -0
- package/dist/migrations/1000000000004-DisplaysSpaceOnly.d.ts +6 -0
- package/dist/migrations/1000000000004-DisplaysSpaceOnly.js +165 -0
- package/dist/migrations/1000000000004-DisplaysSpaceOnly.js.map +1 -0
- package/dist/migrations/1000000000005-SpacesSignageInfoPanel.d.ts +6 -0
- package/dist/migrations/1000000000005-SpacesSignageInfoPanel.js +66 -0
- package/dist/migrations/1000000000005-SpacesSignageInfoPanel.js.map +1 -0
- package/dist/migrations/1000000000006-DropLegacyRoleTables.d.ts +6 -0
- package/dist/migrations/1000000000006-DropLegacyRoleTables.js +32 -0
- package/dist/migrations/1000000000006-DropLegacyRoleTables.js.map +1 -0
- package/dist/modules/api/interceptors/open-api-response.interceptor.js +1 -1
- package/dist/modules/api/interceptors/open-api-response.interceptor.js.map +1 -1
- package/dist/modules/auth/auth.module.js +44 -28
- package/dist/modules/auth/auth.module.js.map +1 -1
- package/dist/modules/auth/controllers/auth.controller.js +6 -0
- package/dist/modules/auth/controllers/auth.controller.js.map +1 -1
- package/dist/modules/auth/controllers/tokens.controller.d.ts +10 -3
- package/dist/modules/auth/controllers/tokens.controller.js +96 -7
- package/dist/modules/auth/controllers/tokens.controller.js.map +1 -1
- package/dist/modules/auth/dto/create-personal-token.dto.d.ts +8 -0
- package/dist/modules/auth/dto/create-personal-token.dto.js +75 -0
- package/dist/modules/auth/dto/create-personal-token.dto.js.map +1 -0
- package/dist/modules/auth/dto/register.dto.d.ts +1 -1
- package/dist/modules/auth/dto/register.dto.js +13 -11
- package/dist/modules/auth/dto/register.dto.js.map +1 -1
- package/dist/modules/auth/entities/auth.entity.d.ts +1 -0
- package/dist/modules/auth/entities/auth.entity.js +13 -0
- package/dist/modules/auth/entities/auth.entity.js.map +1 -1
- package/dist/modules/auth/guards/auth.guard.d.ts +0 -1
- package/dist/modules/auth/guards/auth.guard.js +8 -26
- package/dist/modules/auth/guards/auth.guard.js.map +1 -1
- package/dist/modules/auth/guards/display-aware-throttler.guard.d.ts +16 -0
- package/dist/modules/auth/guards/display-aware-throttler.guard.js +133 -0
- package/dist/modules/auth/guards/display-aware-throttler.guard.js.map +1 -0
- package/dist/modules/auth/services/auth.service.js +1 -1
- package/dist/modules/auth/services/auth.service.js.map +1 -1
- package/dist/modules/auth/services/tokens.service.d.ts +10 -0
- package/dist/modules/auth/services/tokens.service.js +35 -0
- package/dist/modules/auth/services/tokens.service.js.map +1 -1
- package/dist/modules/auth/utils/token.utils.d.ts +7 -0
- package/dist/modules/auth/utils/token.utils.js +12 -1
- package/dist/modules/auth/utils/token.utils.js.map +1 -1
- package/dist/modules/buddy/buddy.module.d.ts +5 -1
- package/dist/modules/buddy/buddy.module.js +42 -15
- package/dist/modules/buddy/buddy.module.js.map +1 -1
- package/dist/modules/buddy/buddy.utils.d.ts +8 -0
- package/dist/modules/buddy/buddy.utils.js +49 -0
- package/dist/modules/buddy/buddy.utils.js.map +1 -1
- package/dist/modules/buddy/controllers/buddy-suggestions.controller.js +2 -2
- package/dist/modules/buddy/controllers/buddy-suggestions.controller.js.map +1 -1
- package/dist/modules/buddy/entities/buddy-conversation.entity.js +3 -3
- package/dist/modules/buddy/entities/buddy-conversation.entity.js.map +1 -1
- package/dist/modules/buddy/entities/buddy-message.entity.js +2 -2
- package/dist/modules/buddy/entities/buddy-message.entity.js.map +1 -1
- package/dist/modules/buddy/entities/buddy-suggestion.entity.d.ts +19 -0
- package/dist/modules/buddy/entities/buddy-suggestion.entity.js +93 -0
- package/dist/modules/buddy/entities/buddy-suggestion.entity.js.map +1 -0
- package/dist/modules/buddy/listeners/media-activity-event.listener.js +3 -3
- package/dist/modules/buddy/listeners/media-activity-event.listener.js.map +1 -1
- package/dist/modules/buddy/platforms/llm-provider.platform.d.ts +6 -0
- package/dist/modules/buddy/platforms/openai-sdk.utils.d.ts +2 -1
- package/dist/modules/buddy/platforms/openai-sdk.utils.js +12 -1
- package/dist/modules/buddy/platforms/openai-sdk.utils.js.map +1 -1
- package/dist/modules/buddy/services/buddy-context.service.js +2 -2
- package/dist/modules/buddy/services/buddy-context.service.js.map +1 -1
- package/dist/modules/buddy/services/buddy-conversation.service.js +23 -8
- package/dist/modules/buddy/services/buddy-conversation.service.js.map +1 -1
- package/dist/modules/buddy/services/buddy-personality.service.d.ts +1 -1
- package/dist/modules/buddy/services/buddy-personality.service.js.map +1 -1
- package/dist/modules/buddy/services/heartbeat.service.js +2 -2
- package/dist/modules/buddy/services/heartbeat.service.js.map +1 -1
- package/dist/modules/buddy/services/llm-provider.service.js +2 -10
- 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 -1
- package/dist/modules/buddy/services/module-reset.service.js.map +1 -1
- package/dist/modules/buddy/services/pattern-detector.service.d.ts +4 -1
- package/dist/modules/buddy/services/pattern-detector.service.js +10 -3
- package/dist/modules/buddy/services/pattern-detector.service.js.map +1 -1
- package/dist/modules/buddy/services/scene-suggestion-evaluator.service.d.ts +4 -1
- package/dist/modules/buddy/services/scene-suggestion-evaluator.service.js +10 -4
- package/dist/modules/buddy/services/scene-suggestion-evaluator.service.js.map +1 -1
- package/dist/modules/buddy/services/stt-provider.service.js +2 -10
- package/dist/modules/buddy/services/stt-provider.service.js.map +1 -1
- package/dist/modules/buddy/services/suggestion-engine.service.d.ts +19 -13
- package/dist/modules/buddy/services/suggestion-engine.service.js +170 -103
- package/dist/modules/buddy/services/suggestion-engine.service.js.map +1 -1
- package/dist/modules/buddy/services/tts-provider.service.js +2 -10
- package/dist/modules/buddy/services/tts-provider.service.js.map +1 -1
- package/dist/modules/config/config.constants.d.ts +2 -1
- package/dist/modules/config/config.constants.js +1 -0
- package/dist/modules/config/config.constants.js.map +1 -1
- package/dist/modules/config/config.module.d.ts +5 -1
- package/dist/modules/config/config.module.js +78 -14
- package/dist/modules/config/config.module.js.map +1 -1
- package/dist/modules/config/services/config.service.d.ts +1 -0
- package/dist/modules/config/services/config.service.js +11 -1
- package/dist/modules/config/services/config.service.js.map +1 -1
- package/dist/modules/dashboard/dashboard.module.js +21 -18
- package/dist/modules/dashboard/dashboard.module.js.map +1 -1
- package/dist/modules/dashboard/entities/dashboard.relations.d.ts +1 -5
- package/dist/modules/devices/devices.module.js +24 -16
- package/dist/modules/devices/devices.module.js.map +1 -1
- package/dist/modules/devices/services/device-zones.service.js +2 -2
- package/dist/modules/devices/services/device-zones.service.js.map +1 -1
- package/dist/modules/devices/services/devices.service.js.map +1 -1
- package/dist/modules/displays/displays.constants.d.ts +0 -5
- package/dist/modules/displays/displays.constants.js +1 -7
- package/dist/modules/displays/displays.constants.js.map +1 -1
- package/dist/modules/displays/displays.module.js +27 -23
- package/dist/modules/displays/displays.module.js.map +1 -1
- package/dist/modules/displays/dto/update-display.dto.d.ts +2 -3
- package/dist/modules/displays/dto/update-display.dto.js +4 -19
- package/dist/modules/displays/dto/update-display.dto.js.map +1 -1
- package/dist/modules/displays/entities/displays.entity.d.ts +3 -4
- package/dist/modules/displays/entities/displays.entity.js +8 -25
- package/dist/modules/displays/entities/displays.entity.js.map +1 -1
- package/dist/modules/displays/services/displays.service.d.ts +4 -2
- package/dist/modules/displays/services/displays.service.js +19 -24
- package/dist/modules/displays/services/displays.service.js.map +1 -1
- package/dist/modules/displays/services/home-resolution.service.d.ts +7 -2
- package/dist/modules/displays/services/home-resolution.service.js +50 -6
- package/dist/modules/displays/services/home-resolution.service.js.map +1 -1
- package/dist/modules/displays/services/space-home-page-resolver-registry.service.d.ts +9 -0
- package/dist/modules/displays/services/space-home-page-resolver-registry.service.js +26 -0
- package/dist/modules/displays/services/space-home-page-resolver-registry.service.js.map +1 -0
- package/dist/modules/displays/services/space-selection-validator-registry.service.d.ts +9 -0
- package/dist/modules/displays/services/space-selection-validator-registry.service.js +26 -0
- package/dist/modules/displays/services/space-selection-validator-registry.service.js.map +1 -0
- package/dist/modules/energy/energy.module.js +29 -15
- package/dist/modules/energy/energy.module.js.map +1 -1
- package/dist/modules/extensions/controllers/actions.controller.d.ts +9 -4
- package/dist/modules/extensions/controllers/actions.controller.js +63 -10
- package/dist/modules/extensions/controllers/actions.controller.js.map +1 -1
- package/dist/modules/extensions/extensions.module.js +31 -28
- package/dist/modules/extensions/extensions.module.js.map +1 -1
- package/dist/modules/extensions/extensions.openapi.d.ts +3 -3
- package/dist/modules/extensions/extensions.openapi.js +2 -0
- package/dist/modules/extensions/extensions.openapi.js.map +1 -1
- package/dist/modules/extensions/models/action.model.d.ts +13 -0
- package/dist/modules/extensions/models/action.model.js +89 -3
- package/dist/modules/extensions/models/action.model.js.map +1 -1
- package/dist/modules/extensions/models/actions-response.model.d.ts +4 -1
- package/dist/modules/extensions/models/actions-response.model.js +19 -1
- package/dist/modules/extensions/models/actions-response.model.js.map +1 -1
- package/dist/modules/extensions/models/extension.model.js +5 -0
- package/dist/modules/extensions/models/extension.model.js.map +1 -1
- package/dist/modules/extensions/models/service-status.model.js +7 -0
- package/dist/modules/extensions/models/service-status.model.js.map +1 -1
- package/dist/modules/extensions/services/action-audit.service.d.ts +21 -0
- package/dist/modules/extensions/services/action-audit.service.js +49 -0
- package/dist/modules/extensions/services/action-audit.service.js.map +1 -0
- package/dist/modules/extensions/services/base-managed-plugin.service.d.ts +11 -0
- package/dist/modules/extensions/services/base-managed-plugin.service.js +28 -0
- package/dist/modules/extensions/services/base-managed-plugin.service.js.map +1 -0
- package/dist/modules/extensions/services/extension-action-registry.service.d.ts +6 -1
- package/dist/modules/extensions/services/extension-action-registry.service.js +22 -3
- package/dist/modules/extensions/services/extension-action-registry.service.js.map +1 -1
- package/dist/modules/extensions/services/extension-action.interface.d.ts +3 -0
- package/dist/modules/extensions/services/extension-action.interface.js +3 -1
- package/dist/modules/extensions/services/extension-action.interface.js.map +1 -1
- package/dist/modules/intents/intents.module.js +27 -26
- package/dist/modules/intents/intents.module.js.map +1 -1
- package/dist/modules/mdns/mdns.module.js +24 -19
- package/dist/modules/mdns/mdns.module.js.map +1 -1
- package/dist/modules/platform/dto/system-info.dto.d.ts +2 -0
- package/dist/modules/platform/dto/system-info.dto.js +7 -0
- package/dist/modules/platform/dto/system-info.dto.js.map +1 -1
- package/dist/modules/platform/platform.module.js +25 -17
- package/dist/modules/platform/platform.module.js.map +1 -1
- package/dist/modules/platform/platforms/abstract.platform.d.ts +44 -0
- package/dist/modules/platform/platforms/abstract.platform.js +267 -0
- package/dist/modules/platform/platforms/abstract.platform.js.map +1 -1
- package/dist/modules/platform/platforms/docker.platform.d.ts +2 -0
- package/dist/modules/platform/platforms/docker.platform.js +3 -0
- package/dist/modules/platform/platforms/docker.platform.js.map +1 -1
- package/dist/modules/platform/platforms/generic.platform.d.ts +2 -1
- package/dist/modules/platform/platforms/generic.platform.js +17 -15
- package/dist/modules/platform/platforms/generic.platform.js.map +1 -1
- package/dist/modules/platform/platforms/home-assistant.platform.d.ts +4 -0
- package/dist/modules/platform/platforms/home-assistant.platform.js +21 -0
- package/dist/modules/platform/platforms/home-assistant.platform.js.map +1 -1
- package/dist/modules/platform/platforms/raspberry.platform.js +22 -40
- package/dist/modules/platform/platforms/raspberry.platform.js.map +1 -1
- package/dist/modules/platform/services/platform.service.d.ts +2 -0
- package/dist/modules/platform/services/platform.service.js +7 -0
- package/dist/modules/platform/services/platform.service.js.map +1 -1
- package/dist/modules/scenes/scenes.module.js +18 -18
- package/dist/modules/scenes/scenes.module.js.map +1 -1
- package/dist/modules/security/security.module.js +22 -17
- package/dist/modules/security/security.module.js.map +1 -1
- package/dist/modules/spaces/controllers/spaces.controller.d.ts +5 -115
- package/dist/modules/spaces/controllers/spaces.controller.js +22 -1922
- package/dist/modules/spaces/controllers/spaces.controller.js.map +1 -1
- package/dist/modules/spaces/dto/create-space.dto.d.ts +1 -5
- package/dist/modules/spaces/dto/create-space.dto.js +0 -61
- package/dist/modules/spaces/dto/create-space.dto.js.map +1 -1
- package/dist/modules/spaces/dto/update-space.dto.d.ts +1 -5
- package/dist/modules/spaces/dto/update-space.dto.js +0 -61
- package/dist/modules/spaces/dto/update-space.dto.js.map +1 -1
- package/dist/modules/spaces/entities/space-role.entity.d.ts +8 -0
- package/dist/modules/spaces/entities/space-role.entity.js +58 -0
- package/dist/modules/spaces/entities/space-role.entity.js.map +1 -0
- package/dist/modules/spaces/entities/space.entity.d.ts +3 -6
- package/dist/modules/spaces/entities/space.entity.js +11 -74
- package/dist/modules/spaces/entities/space.entity.js.map +1 -1
- package/dist/modules/spaces/entities/space.relations.d.ts +11 -0
- package/dist/modules/spaces/entities/space.relations.js +3 -0
- package/dist/modules/spaces/entities/space.relations.js.map +1 -0
- package/dist/modules/spaces/models/spaces-response.model.d.ts +1 -522
- package/dist/modules/spaces/models/spaces-response.model.js +23 -4150
- package/dist/modules/spaces/models/spaces-response.model.js.map +1 -1
- package/dist/modules/spaces/services/space-create-builder-registry.service.d.ts +6 -0
- package/dist/modules/spaces/services/space-create-builder-registry.service.js +26 -0
- package/dist/modules/spaces/services/space-create-builder-registry.service.js.map +1 -0
- package/dist/modules/spaces/services/space-relations-loader-registry.service.d.ts +6 -0
- package/dist/modules/spaces/services/space-relations-loader-registry.service.js +26 -0
- package/dist/modules/spaces/services/space-relations-loader-registry.service.js.map +1 -0
- package/dist/modules/spaces/services/space-roles-type-mapper.service.d.ts +12 -0
- package/dist/modules/spaces/services/space-roles-type-mapper.service.js +39 -0
- package/dist/modules/spaces/services/space-roles-type-mapper.service.js.map +1 -0
- package/dist/modules/spaces/services/spaces-type-mapper.service.d.ts +17 -0
- package/dist/modules/spaces/services/spaces-type-mapper.service.js +36 -0
- package/dist/modules/spaces/services/spaces-type-mapper.service.js.map +1 -0
- package/dist/modules/spaces/services/spaces.service.d.ts +4 -12
- package/dist/modules/spaces/services/spaces.service.js +120 -160
- package/dist/modules/spaces/services/spaces.service.js.map +1 -1
- package/dist/modules/spaces/spaces.constants.d.ts +13 -292
- package/dist/modules/spaces/spaces.constants.js +13 -1449
- package/dist/modules/spaces/spaces.constants.js.map +1 -1
- package/dist/modules/spaces/spaces.module.d.ts +2 -9
- package/dist/modules/spaces/spaces.module.js +51 -108
- package/dist/modules/spaces/spaces.module.js.map +1 -1
- package/dist/modules/spaces/spaces.openapi.d.ts +3 -16
- package/dist/modules/spaces/spaces.openapi.js +0 -136
- package/dist/modules/spaces/spaces.openapi.js.map +1 -1
- package/dist/modules/stats/controllers/prometheus.controller.js +0 -2
- package/dist/modules/stats/controllers/prometheus.controller.js.map +1 -1
- package/dist/modules/storage/models/config.model.js +2 -4
- package/dist/modules/storage/models/config.model.js.map +1 -1
- package/dist/modules/storage/services/storage.service.d.ts +4 -10
- package/dist/modules/storage/services/storage.service.js +21 -60
- package/dist/modules/storage/services/storage.service.js.map +1 -1
- package/dist/modules/storage/storage.constants.d.ts +2 -0
- package/dist/modules/storage/storage.constants.js +3 -1
- package/dist/modules/storage/storage.constants.js.map +1 -1
- package/dist/modules/storage/storage.module.js +26 -7
- package/dist/modules/storage/storage.module.js.map +1 -1
- package/dist/modules/swagger/commands/serve-swagger.command.d.ts +14 -0
- package/dist/modules/swagger/commands/serve-swagger.command.js +60 -0
- package/dist/modules/swagger/commands/serve-swagger.command.js.map +1 -0
- package/dist/modules/swagger/swagger.module.js +2 -0
- package/dist/modules/swagger/swagger.module.js.map +1 -1
- package/dist/modules/system/backup-contribution.module.d.ts +2 -0
- package/dist/modules/system/backup-contribution.module.js +22 -0
- package/dist/modules/system/backup-contribution.module.js.map +1 -0
- package/dist/modules/system/controllers/backup.controller.d.ts +17 -0
- package/dist/modules/system/controllers/backup.controller.js +308 -0
- package/dist/modules/system/controllers/backup.controller.js.map +1 -0
- package/dist/modules/system/dto/create-backup.dto.d.ts +6 -0
- package/dist/modules/system/dto/create-backup.dto.js +43 -0
- package/dist/modules/system/dto/create-backup.dto.js.map +1 -0
- package/dist/modules/system/models/backup-response.model.d.ts +8 -0
- package/dist/modules/system/models/backup-response.model.js +46 -0
- package/dist/modules/system/models/backup-response.model.js.map +1 -0
- package/dist/modules/system/models/backup.model.d.ts +14 -0
- package/dist/modules/system/models/backup.model.js +103 -0
- package/dist/modules/system/models/backup.model.js.map +1 -0
- package/dist/modules/system/models/system.model.d.ts +3 -1
- package/dist/modules/system/models/system.model.js +26 -0
- package/dist/modules/system/models/system.model.js.map +1 -1
- package/dist/modules/system/scripts/update-worker.sh +304 -0
- package/dist/modules/system/services/backup-contribution-registry.service.d.ts +24 -0
- package/dist/modules/system/services/backup-contribution-registry.service.js +52 -0
- package/dist/modules/system/services/backup-contribution-registry.service.js.map +1 -0
- package/dist/modules/system/services/backup.service.d.ts +52 -0
- package/dist/modules/system/services/backup.service.js +630 -0
- package/dist/modules/system/services/backup.service.js.map +1 -0
- package/dist/modules/system/services/house-mode-actions.service.d.ts +1 -1
- package/dist/modules/system/services/house-mode-actions.service.js +5 -5
- package/dist/modules/system/services/house-mode-actions.service.js.map +1 -1
- package/dist/modules/system/services/system-command.service.d.ts +7 -1
- package/dist/modules/system/services/system-command.service.js +24 -4
- package/dist/modules/system/services/system-command.service.js.map +1 -1
- package/dist/modules/system/services/system.service.js +4 -1
- package/dist/modules/system/services/system.service.js.map +1 -1
- package/dist/modules/system/services/update-executor.service.d.ts +4 -0
- package/dist/modules/system/services/update-executor.service.js +130 -10
- package/dist/modules/system/services/update-executor.service.js.map +1 -1
- package/dist/modules/system/system.constants.d.ts +7 -0
- package/dist/modules/system/system.constants.js +9 -1
- package/dist/modules/system/system.constants.js.map +1 -1
- package/dist/modules/system/system.module.d.ts +5 -1
- package/dist/modules/system/system.module.js +95 -31
- package/dist/modules/system/system.module.js.map +1 -1
- package/dist/modules/system/system.openapi.d.ts +4 -1
- package/dist/modules/system/system.openapi.js +8 -0
- package/dist/modules/system/system.openapi.js.map +1 -1
- package/dist/modules/users/controllers/users.controller.js +9 -0
- package/dist/modules/users/controllers/users.controller.js.map +1 -1
- package/dist/modules/users/dto/create-user.dto.js +1 -0
- package/dist/modules/users/dto/create-user.dto.js.map +1 -1
- package/dist/modules/users/dto/update-user.dto.d.ts +1 -0
- package/dist/modules/users/dto/update-user.dto.js +15 -1
- package/dist/modules/users/dto/update-user.dto.js.map +1 -1
- package/dist/modules/users/services/users.service.d.ts +1 -0
- package/dist/modules/users/services/users.service.js +12 -2
- package/dist/modules/users/services/users.service.js.map +1 -1
- package/dist/modules/users/users.constants.d.ts +3 -0
- package/dist/modules/users/users.constants.js +35 -1
- package/dist/modules/users/users.constants.js.map +1 -1
- package/dist/modules/users/users.module.js +29 -13
- package/dist/modules/users/users.module.js.map +1 -1
- package/dist/modules/weather/weather.module.js +20 -18
- package/dist/modules/weather/weather.module.js.map +1 -1
- package/dist/modules/websocket/dto/client-user.dto.js +25 -0
- package/dist/modules/websocket/dto/client-user.dto.js.map +1 -1
- package/dist/modules/websocket/dto/ws-client.dto.js +26 -0
- package/dist/modules/websocket/dto/ws-client.dto.js.map +1 -1
- package/dist/modules/websocket/gateway/websocket.gateway.d.ts +2 -2
- package/dist/modules/websocket/gateway/websocket.gateway.js +27 -9
- package/dist/modules/websocket/gateway/websocket.gateway.js.map +1 -1
- package/dist/modules/websocket/services/command-event-registry.service.d.ts +3 -1
- package/dist/modules/websocket/services/command-event-registry.service.js +5 -4
- package/dist/modules/websocket/services/command-event-registry.service.js.map +1 -1
- package/dist/plugins/buddy-claude/buddy-claude.plugin.js +24 -11
- package/dist/plugins/buddy-claude/buddy-claude.plugin.js.map +1 -1
- package/dist/plugins/buddy-claude-setup-token/buddy-claude-setup-token.plugin.js +21 -11
- package/dist/plugins/buddy-claude-setup-token/buddy-claude-setup-token.plugin.js.map +1 -1
- package/dist/plugins/buddy-discord/buddy-discord.plugin.js +28 -16
- package/dist/plugins/buddy-discord/buddy-discord.plugin.js.map +1 -1
- package/dist/plugins/buddy-elevenlabs/buddy-elevenlabs.plugin.js +22 -11
- package/dist/plugins/buddy-elevenlabs/buddy-elevenlabs.plugin.js.map +1 -1
- package/dist/plugins/buddy-ollama/buddy-ollama.plugin.js +28 -12
- package/dist/plugins/buddy-ollama/buddy-ollama.plugin.js.map +1 -1
- package/dist/plugins/buddy-openai/buddy-openai.plugin.js +24 -15
- package/dist/plugins/buddy-openai/buddy-openai.plugin.js.map +1 -1
- package/dist/plugins/buddy-openai/platforms/openai.provider.js +1 -0
- package/dist/plugins/buddy-openai/platforms/openai.provider.js.map +1 -1
- package/dist/plugins/buddy-openai-codex/buddy-openai-codex.plugin.js +26 -15
- package/dist/plugins/buddy-openai-codex/buddy-openai-codex.plugin.js.map +1 -1
- package/dist/plugins/buddy-stt-whisper-local/buddy-stt-whisper-local.plugin.js +23 -9
- package/dist/plugins/buddy-stt-whisper-local/buddy-stt-whisper-local.plugin.js.map +1 -1
- package/dist/plugins/buddy-system-tts/buddy-system-tts.plugin.js +21 -10
- package/dist/plugins/buddy-system-tts/buddy-system-tts.plugin.js.map +1 -1
- package/dist/plugins/buddy-telegram/buddy-telegram.plugin.js +22 -11
- package/dist/plugins/buddy-telegram/buddy-telegram.plugin.js.map +1 -1
- package/dist/plugins/buddy-voiceai/buddy-voiceai.plugin.js +22 -12
- package/dist/plugins/buddy-voiceai/buddy-voiceai.plugin.js.map +1 -1
- package/dist/plugins/buddy-whatsapp/buddy-whatsapp.plugin.js +24 -12
- package/dist/plugins/buddy-whatsapp/buddy-whatsapp.plugin.js.map +1 -1
- package/dist/plugins/buddy-whatsapp/controllers/whatsapp-webhook.controller.d.ts +2 -2
- package/dist/plugins/buddy-whatsapp/controllers/whatsapp-webhook.controller.js +3 -3
- package/dist/plugins/buddy-whatsapp/controllers/whatsapp-webhook.controller.js.map +1 -1
- package/dist/plugins/buddy-whatsapp/platforms/whatsapp-bot.provider.d.ts +2 -1
- package/dist/plugins/buddy-whatsapp/platforms/whatsapp-bot.provider.js +31 -12
- package/dist/plugins/buddy-whatsapp/platforms/whatsapp-bot.provider.js.map +1 -1
- package/dist/plugins/data-sources-device-channel/data-sources-device-channel.plugin.js +16 -30
- package/dist/plugins/data-sources-device-channel/data-sources-device-channel.plugin.js.map +1 -1
- package/dist/plugins/data-sources-weather/data-sources-weather.plugin.js +17 -29
- package/dist/plugins/data-sources-weather/data-sources-weather.plugin.js.map +1 -1
- package/dist/plugins/devices-home-assistant/devices-home-assistant.plugin.js +37 -136
- package/dist/plugins/devices-home-assistant/devices-home-assistant.plugin.js.map +1 -1
- package/dist/plugins/devices-home-assistant/dto/home-assistant-discovered-helper.dto.js +22 -2
- package/dist/plugins/devices-home-assistant/dto/home-assistant-discovered-helper.dto.js.map +1 -1
- package/dist/plugins/devices-home-assistant/models/config.model.d.ts +1 -0
- package/dist/plugins/devices-home-assistant/models/config.model.js +12 -0
- package/dist/plugins/devices-home-assistant/models/config.model.js.map +1 -1
- package/dist/plugins/devices-home-assistant/platforms/home-assistant.device.platform.d.ts +3 -1
- package/dist/plugins/devices-home-assistant/platforms/home-assistant.device.platform.js +11 -2
- package/dist/plugins/devices-home-assistant/platforms/home-assistant.device.platform.js.map +1 -1
- package/dist/plugins/devices-home-assistant/services/ha-mdns-discoverer.service.js +0 -6
- package/dist/plugins/devices-home-assistant/services/ha-mdns-discoverer.service.js.map +1 -1
- package/dist/plugins/devices-home-assistant/services/ha-supervisor.service.d.ts +10 -0
- package/dist/plugins/devices-home-assistant/services/ha-supervisor.service.js +47 -0
- package/dist/plugins/devices-home-assistant/services/ha-supervisor.service.js.map +1 -0
- package/dist/plugins/devices-home-assistant/services/home-assistant-config-validator.service.d.ts +3 -1
- package/dist/plugins/devices-home-assistant/services/home-assistant-config-validator.service.js +8 -2
- package/dist/plugins/devices-home-assistant/services/home-assistant-config-validator.service.js.map +1 -1
- package/dist/plugins/devices-home-assistant/services/home-assistant.http.service.d.ts +5 -1
- package/dist/plugins/devices-home-assistant/services/home-assistant.http.service.js +27 -7
- 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 +9 -7
- package/dist/plugins/devices-home-assistant/services/home-assistant.ws.service.js +58 -24
- package/dist/plugins/devices-home-assistant/services/home-assistant.ws.service.js.map +1 -1
- package/dist/plugins/devices-home-assistant/services/state-changed.event.service.js +1 -0
- package/dist/plugins/devices-home-assistant/services/state-changed.event.service.js.map +1 -1
- package/dist/plugins/devices-reterminal/devices-reterminal.plugin.js +20 -17
- package/dist/plugins/devices-reterminal/devices-reterminal.plugin.js.map +1 -1
- package/dist/plugins/devices-shelly-ng/controllers/shelly-ng-devices.controller.d.ts +7 -2
- package/dist/plugins/devices-shelly-ng/controllers/shelly-ng-devices.controller.js +83 -2
- package/dist/plugins/devices-shelly-ng/controllers/shelly-ng-devices.controller.js.map +1 -1
- package/dist/plugins/devices-shelly-ng/delegates/delegates-manager.service.d.ts +4 -0
- package/dist/plugins/devices-shelly-ng/delegates/delegates-manager.service.js +86 -11
- package/dist/plugins/devices-shelly-ng/delegates/delegates-manager.service.js.map +1 -1
- package/dist/plugins/devices-shelly-ng/delegates/shelly-device.delegate.d.ts +8 -0
- package/dist/plugins/devices-shelly-ng/delegates/shelly-device.delegate.js +45 -0
- package/dist/plugins/devices-shelly-ng/delegates/shelly-device.delegate.js.map +1 -1
- package/dist/plugins/devices-shelly-ng/devices-shelly-ng.openapi.d.ts +3 -3
- package/dist/plugins/devices-shelly-ng/devices-shelly-ng.openapi.js +4 -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 +6 -1
- package/dist/plugins/devices-shelly-ng/devices-shelly-ng.plugin.js +72 -21
- package/dist/plugins/devices-shelly-ng/devices-shelly-ng.plugin.js.map +1 -1
- package/dist/plugins/devices-shelly-ng/dto/update-config.dto.d.ts +1 -0
- package/dist/plugins/devices-shelly-ng/dto/update-config.dto.js +24 -6
- package/dist/plugins/devices-shelly-ng/dto/update-config.dto.js.map +1 -1
- package/dist/plugins/devices-shelly-ng/entities/devices-shelly-ng.entity.js +12 -0
- package/dist/plugins/devices-shelly-ng/entities/devices-shelly-ng.entity.js.map +1 -1
- package/dist/plugins/devices-shelly-ng/entities/shelly-ng-device-address.entity.js +2 -0
- package/dist/plugins/devices-shelly-ng/entities/shelly-ng-device-address.entity.js.map +1 -1
- package/dist/plugins/devices-shelly-ng/models/config.model.d.ts +1 -0
- package/dist/plugins/devices-shelly-ng/models/config.model.js +18 -6
- package/dist/plugins/devices-shelly-ng/models/config.model.js.map +1 -1
- 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 +15 -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 +30 -0
- package/dist/plugins/devices-shelly-ng/models/shelly-ng.model.js +269 -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.js.map +1 -1
- package/dist/plugins/devices-shelly-ng/services/shelly-ng-discovery.service.d.ts +64 -0
- package/dist/plugins/devices-shelly-ng/services/shelly-ng-discovery.service.js +301 -0
- package/dist/plugins/devices-shelly-ng/services/shelly-ng-discovery.service.js.map +1 -0
- package/dist/plugins/devices-shelly-ng/services/shelly-ng.service.d.ts +17 -7
- package/dist/plugins/devices-shelly-ng/services/shelly-ng.service.js +110 -15
- 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 +5 -0
- package/dist/plugins/devices-shelly-ng/services/shelly-rpc-client.service.js +3 -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 +28 -0
- package/dist/plugins/devices-shelly-ng/services/shelly-ws-server.service.js +197 -0
- package/dist/plugins/devices-shelly-ng/services/shelly-ws-server.service.js.map +1 -0
- package/dist/plugins/devices-shelly-v1/controllers/shelly-v1-devices.controller.d.ts +7 -2
- package/dist/plugins/devices-shelly-v1/controllers/shelly-v1-devices.controller.js +83 -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 +3 -3
- package/dist/plugins/devices-shelly-v1/devices-shelly-v1.openapi.js +4 -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.js +27 -23
- package/dist/plugins/devices-shelly-v1/devices-shelly-v1.plugin.js.map +1 -1
- 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 +15 -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 +31 -0
- package/dist/plugins/devices-shelly-v1/models/shelly-v1.model.js +279 -1
- package/dist/plugins/devices-shelly-v1/models/shelly-v1.model.js.map +1 -1
- package/dist/plugins/devices-shelly-v1/platforms/shelly-v1.device.platform.d.ts +0 -1
- package/dist/plugins/devices-shelly-v1/platforms/shelly-v1.device.platform.js +2 -9
- package/dist/plugins/devices-shelly-v1/platforms/shelly-v1.device.platform.js.map +1 -1
- package/dist/plugins/devices-shelly-v1/services/device-mapper.service.d.ts +0 -1
- package/dist/plugins/devices-shelly-v1/services/device-mapper.service.js +2 -15
- package/dist/plugins/devices-shelly-v1/services/device-mapper.service.js.map +1 -1
- package/dist/plugins/devices-shelly-v1/services/shellies-adapter.service.d.ts +9 -2
- package/dist/plugins/devices-shelly-v1/services/shellies-adapter.service.js +93 -20
- package/dist/plugins/devices-shelly-v1/services/shellies-adapter.service.js.map +1 -1
- package/dist/plugins/devices-shelly-v1/services/shelly-v1-discovery.service.d.ts +62 -0
- package/dist/plugins/devices-shelly-v1/services/shelly-v1-discovery.service.js +314 -0
- package/dist/plugins/devices-shelly-v1/services/shelly-v1-discovery.service.js.map +1 -0
- package/dist/plugins/devices-shelly-v1/services/shelly-v1.service.d.ts +3 -6
- package/dist/plugins/devices-shelly-v1/services/shelly-v1.service.js +13 -37
- package/dist/plugins/devices-shelly-v1/services/shelly-v1.service.js.map +1 -1
- package/dist/plugins/devices-shelly-v1/utils/descriptor.utils.d.ts +2 -0
- package/dist/plugins/devices-shelly-v1/utils/descriptor.utils.js +23 -0
- package/dist/plugins/devices-shelly-v1/utils/descriptor.utils.js.map +1 -0
- package/dist/plugins/devices-third-party/devices-third-party.plugin.js +19 -23
- package/dist/plugins/devices-third-party/devices-third-party.plugin.js.map +1 -1
- package/dist/plugins/devices-wled/devices-wled.plugin.js +30 -20
- package/dist/plugins/devices-wled/devices-wled.plugin.js.map +1 -1
- package/dist/plugins/devices-wled/services/wled-mdns-discoverer.service.js +0 -6
- package/dist/plugins/devices-wled/services/wled-mdns-discoverer.service.js.map +1 -1
- package/dist/plugins/devices-wled/services/wled.service.d.ts +3 -6
- package/dist/plugins/devices-wled/services/wled.service.js +3 -20
- package/dist/plugins/devices-wled/services/wled.service.js.map +1 -1
- package/dist/plugins/devices-zigbee2mqtt/controllers/zigbee2mqtt-wizard.controller.d.ts +14 -0
- package/dist/plugins/devices-zigbee2mqtt/controllers/zigbee2mqtt-wizard.controller.js +185 -0
- package/dist/plugins/devices-zigbee2mqtt/controllers/zigbee2mqtt-wizard.controller.js.map +1 -0
- package/dist/plugins/devices-zigbee2mqtt/devices-zigbee2mqtt.openapi.d.ts +5 -3
- package/dist/plugins/devices-zigbee2mqtt/devices-zigbee2mqtt.openapi.js +12 -0
- package/dist/plugins/devices-zigbee2mqtt/devices-zigbee2mqtt.openapi.js.map +1 -1
- package/dist/plugins/devices-zigbee2mqtt/devices-zigbee2mqtt.plugin.js +43 -54
- package/dist/plugins/devices-zigbee2mqtt/devices-zigbee2mqtt.plugin.js.map +1 -1
- package/dist/plugins/devices-zigbee2mqtt/dto/wizard-adopt.dto.d.ts +12 -0
- package/dist/plugins/devices-zigbee2mqtt/dto/wizard-adopt.dto.js +73 -0
- package/dist/plugins/devices-zigbee2mqtt/dto/wizard-adopt.dto.js.map +1 -0
- package/dist/plugins/devices-zigbee2mqtt/models/wizard.model.d.ts +38 -0
- package/dist/plugins/devices-zigbee2mqtt/models/wizard.model.js +259 -0
- package/dist/plugins/devices-zigbee2mqtt/models/wizard.model.js.map +1 -0
- package/dist/plugins/devices-zigbee2mqtt/models/zigbee2mqtt-response.model.d.ts +7 -0
- package/dist/plugins/devices-zigbee2mqtt/models/zigbee2mqtt-response.model.js +30 -1
- package/dist/plugins/devices-zigbee2mqtt/models/zigbee2mqtt-response.model.js.map +1 -1
- package/dist/plugins/devices-zigbee2mqtt/services/base-client-adapter.d.ts +1 -0
- package/dist/plugins/devices-zigbee2mqtt/services/base-client-adapter.js.map +1 -1
- package/dist/plugins/devices-zigbee2mqtt/services/mqtt-client-adapter.service.d.ts +1 -0
- package/dist/plugins/devices-zigbee2mqtt/services/mqtt-client-adapter.service.js +22 -0
- package/dist/plugins/devices-zigbee2mqtt/services/mqtt-client-adapter.service.js.map +1 -1
- package/dist/plugins/devices-zigbee2mqtt/services/wizard.service.d.ts +70 -0
- package/dist/plugins/devices-zigbee2mqtt/services/wizard.service.js +361 -0
- package/dist/plugins/devices-zigbee2mqtt/services/wizard.service.js.map +1 -0
- package/dist/plugins/devices-zigbee2mqtt/services/ws-client-adapter.service.d.ts +1 -0
- package/dist/plugins/devices-zigbee2mqtt/services/ws-client-adapter.service.js +23 -0
- package/dist/plugins/devices-zigbee2mqtt/services/ws-client-adapter.service.js.map +1 -1
- package/dist/plugins/devices-zigbee2mqtt/services/zigbee2mqtt.service.d.ts +10 -7
- package/dist/plugins/devices-zigbee2mqtt/services/zigbee2mqtt.service.js +46 -22
- package/dist/plugins/devices-zigbee2mqtt/services/zigbee2mqtt.service.js.map +1 -1
- package/dist/{modules/storage/plugins/influx-v1/influx-v1.update-config.dto.d.ts → plugins/influx-v1/dto/update-config.dto.d.ts} +1 -1
- package/dist/{modules/storage/plugins/influx-v1/influx-v1.update-config.dto.js → plugins/influx-v1/dto/update-config.dto.js} +3 -3
- package/dist/plugins/influx-v1/dto/update-config.dto.js.map +1 -0
- package/dist/plugins/influx-v1/influx-v1.constants.js.map +1 -0
- package/dist/{modules/storage/plugins → plugins}/influx-v1/influx-v1.openapi.d.ts +1 -1
- package/dist/plugins/influx-v1/influx-v1.openapi.js +7 -0
- package/dist/plugins/influx-v1/influx-v1.openapi.js.map +1 -0
- package/dist/plugins/influx-v1/influx-v1.plugin.d.ts +15 -0
- package/dist/plugins/influx-v1/influx-v1.plugin.js +109 -0
- package/dist/plugins/influx-v1/influx-v1.plugin.js.map +1 -0
- package/dist/{modules/storage/plugins/influx-v1/influx-v1.config.model.d.ts → plugins/influx-v1/models/config.model.d.ts} +1 -1
- package/dist/{modules/storage/plugins/influx-v1/influx-v1.config.model.js → plugins/influx-v1/models/config.model.js} +3 -3
- package/dist/plugins/influx-v1/models/config.model.js.map +1 -0
- package/dist/plugins/influx-v1/services/influx-v1-managed.service.d.ts +20 -0
- package/dist/plugins/influx-v1/services/influx-v1-managed.service.js +128 -0
- package/dist/plugins/influx-v1/services/influx-v1-managed.service.js.map +1 -0
- package/dist/{modules/storage/plugins/influx-v1/influx-v1.plugin.d.ts → plugins/influx-v1/services/influx-v1.storage.d.ts} +3 -3
- package/dist/{modules/storage/plugins/influx-v1/influx-v1.plugin.js → plugins/influx-v1/services/influx-v1.storage.js} +9 -9
- package/dist/plugins/influx-v1/services/influx-v1.storage.js.map +1 -0
- package/dist/plugins/influx-v2/dto/update-config.dto.d.ts +8 -0
- package/dist/plugins/influx-v2/dto/update-config.dto.js +82 -0
- package/dist/plugins/influx-v2/dto/update-config.dto.js.map +1 -0
- package/dist/plugins/influx-v2/influx-v2.constants.d.ts +4 -0
- package/dist/plugins/influx-v2/influx-v2.constants.js +8 -0
- package/dist/plugins/influx-v2/influx-v2.constants.js.map +1 -0
- package/dist/plugins/influx-v2/influx-v2.openapi.d.ts +2 -0
- package/dist/plugins/influx-v2/influx-v2.openapi.js +7 -0
- package/dist/plugins/influx-v2/influx-v2.openapi.js.map +1 -0
- package/dist/plugins/influx-v2/influx-v2.plugin.d.ts +15 -0
- package/dist/plugins/influx-v2/influx-v2.plugin.js +109 -0
- package/dist/plugins/influx-v2/influx-v2.plugin.js.map +1 -0
- package/dist/plugins/influx-v2/models/config.model.d.ts +9 -0
- package/dist/plugins/influx-v2/models/config.model.js +93 -0
- package/dist/plugins/influx-v2/models/config.model.js.map +1 -0
- package/dist/plugins/influx-v2/services/influx-v2-managed.service.d.ts +20 -0
- package/dist/plugins/influx-v2/services/influx-v2-managed.service.js +132 -0
- package/dist/plugins/influx-v2/services/influx-v2-managed.service.js.map +1 -0
- package/dist/plugins/influx-v2/services/influx-v2.storage.d.ts +33 -0
- package/dist/plugins/influx-v2/services/influx-v2.storage.js +230 -0
- package/dist/plugins/influx-v2/services/influx-v2.storage.js.map +1 -0
- package/dist/plugins/logger-rotating-file/logger-rotating-file.plugin.js +20 -29
- package/dist/plugins/logger-rotating-file/logger-rotating-file.plugin.js.map +1 -1
- package/dist/{modules/storage/plugins/memory/memory.update-config.dto.d.ts → plugins/memory-storage/dto/update-config.dto.d.ts} +1 -1
- package/dist/{modules/storage/plugins/memory/memory.update-config.dto.js → plugins/memory-storage/dto/update-config.dto.js} +5 -5
- package/dist/plugins/memory-storage/dto/update-config.dto.js.map +1 -0
- package/dist/{modules/storage/plugins/memory/memory.constants.js → plugins/memory-storage/memory-storage.constants.js} +1 -1
- package/dist/plugins/memory-storage/memory-storage.constants.js.map +1 -0
- package/dist/{modules/storage/plugins/memory/memory.openapi.d.ts → plugins/memory-storage/memory-storage.openapi.d.ts} +1 -1
- package/dist/plugins/memory-storage/memory-storage.openapi.js +7 -0
- package/dist/plugins/memory-storage/memory-storage.openapi.js.map +1 -0
- package/dist/plugins/memory-storage/memory-storage.plugin.d.ts +15 -0
- package/dist/plugins/memory-storage/memory-storage.plugin.js +92 -0
- package/dist/plugins/memory-storage/memory-storage.plugin.js.map +1 -0
- package/dist/{modules/storage/plugins/memory/memory.config.model.d.ts → plugins/memory-storage/models/config.model.d.ts} +1 -1
- package/dist/{modules/storage/plugins/memory/memory.config.model.js → plugins/memory-storage/models/config.model.js} +5 -5
- package/dist/plugins/memory-storage/models/config.model.js.map +1 -0
- package/dist/{modules/storage/plugins/memory → plugins/memory-storage/services}/in-memory-timeseries.store.d.ts +1 -1
- package/dist/{modules/storage/plugins/memory → plugins/memory-storage/services}/in-memory-timeseries.store.js +4 -4
- package/dist/plugins/memory-storage/services/in-memory-timeseries.store.js.map +1 -0
- package/dist/plugins/memory-storage/services/influxql-parser.js.map +1 -0
- package/dist/plugins/memory-storage/services/memory-storage-managed.service.d.ts +14 -0
- package/dist/plugins/memory-storage/services/memory-storage-managed.service.js +87 -0
- package/dist/plugins/memory-storage/services/memory-storage-managed.service.js.map +1 -0
- package/dist/{modules/storage/plugins/memory/memory.plugin.d.ts → plugins/memory-storage/services/memory-storage.storage.d.ts} +3 -3
- package/dist/{modules/storage/plugins/memory/memory.plugin.js → plugins/memory-storage/services/memory-storage.storage.js} +8 -8
- package/dist/plugins/memory-storage/services/memory-storage.storage.js.map +1 -0
- package/dist/plugins/pages-cards/pages-cards.plugin.js +15 -26
- package/dist/plugins/pages-cards/pages-cards.plugin.js.map +1 -1
- package/dist/plugins/pages-device-detail/pages-device-detail.plugin.js +16 -25
- package/dist/plugins/pages-device-detail/pages-device-detail.plugin.js.map +1 -1
- package/dist/plugins/pages-tiles/pages-tiles.plugin.js +15 -26
- package/dist/plugins/pages-tiles/pages-tiles.plugin.js.map +1 -1
- package/dist/plugins/scenes-local/scenes-local.plugin.js +21 -22
- package/dist/plugins/scenes-local/scenes-local.plugin.js.map +1 -1
- package/dist/plugins/simulator/services/scenario-executor.service.d.ts +5 -5
- package/dist/plugins/simulator/services/scenario-executor.service.js +7 -6
- package/dist/plugins/simulator/services/scenario-executor.service.js.map +1 -1
- package/dist/plugins/simulator/services/simulator-actions.service.js +3 -0
- package/dist/plugins/simulator/services/simulator-actions.service.js.map +1 -1
- package/dist/plugins/simulator/simulator.plugin.js +49 -58
- package/dist/plugins/simulator/simulator.plugin.js.map +1 -1
- package/dist/plugins/spaces-home-control/controllers/spaces-domain.controller.d.ts +119 -0
- package/dist/plugins/spaces-home-control/controllers/spaces-domain.controller.js +1958 -0
- package/dist/plugins/spaces-home-control/controllers/spaces-domain.controller.js.map +1 -0
- package/dist/{modules/spaces → plugins/spaces-home-control}/dto/climate-intent.dto.d.ts +1 -1
- package/dist/{modules/spaces → plugins/spaces-home-control}/dto/climate-intent.dto.js +24 -24
- package/dist/plugins/spaces-home-control/dto/climate-intent.dto.js.map +1 -0
- package/dist/{modules/spaces → plugins/spaces-home-control}/dto/climate-role.dto.d.ts +1 -1
- package/dist/{modules/spaces → plugins/spaces-home-control}/dto/climate-role.dto.js +4 -4
- package/dist/plugins/spaces-home-control/dto/climate-role.dto.js.map +1 -0
- package/dist/{modules/spaces → plugins/spaces-home-control}/dto/covers-intent.dto.d.ts +1 -1
- package/dist/{modules/spaces → plugins/spaces-home-control}/dto/covers-intent.dto.js +18 -18
- package/dist/plugins/spaces-home-control/dto/covers-intent.dto.js.map +1 -0
- package/dist/{modules/spaces → plugins/spaces-home-control}/dto/covers-role.dto.d.ts +1 -1
- package/dist/{modules/spaces → plugins/spaces-home-control}/dto/covers-role.dto.js +4 -4
- package/dist/plugins/spaces-home-control/dto/covers-role.dto.js.map +1 -0
- package/dist/plugins/spaces-home-control/dto/create-home-control-space.dto.d.ts +8 -0
- package/dist/plugins/spaces-home-control/dto/create-home-control-space.dto.js +85 -0
- package/dist/plugins/spaces-home-control/dto/create-home-control-space.dto.js.map +1 -0
- package/dist/{modules/spaces → plugins/spaces-home-control}/dto/lighting-intent.dto.d.ts +1 -1
- package/dist/{modules/spaces → plugins/spaces-home-control}/dto/lighting-intent.dto.js +34 -34
- package/dist/plugins/spaces-home-control/dto/lighting-intent.dto.js.map +1 -0
- package/dist/{modules/spaces → plugins/spaces-home-control}/dto/lighting-role.dto.d.ts +1 -1
- package/dist/{modules/spaces → plugins/spaces-home-control}/dto/lighting-role.dto.js +4 -4
- package/dist/plugins/spaces-home-control/dto/lighting-role.dto.js.map +1 -0
- package/dist/{modules/spaces → plugins/spaces-home-control}/dto/media-activity-binding.dto.d.ts +1 -1
- package/dist/{modules/spaces → plugins/spaces-home-control}/dto/media-activity-binding.dto.js +4 -4
- package/dist/plugins/spaces-home-control/dto/media-activity-binding.dto.js.map +1 -0
- package/dist/{modules/spaces → plugins/spaces-home-control}/dto/sensor-role.dto.d.ts +1 -1
- package/dist/{modules/spaces → plugins/spaces-home-control}/dto/sensor-role.dto.js +4 -4
- package/dist/plugins/spaces-home-control/dto/sensor-role.dto.js.map +1 -0
- package/dist/plugins/spaces-home-control/dto/status-widget.dto.js.map +1 -0
- package/dist/{modules/spaces → plugins/spaces-home-control}/dto/suggestion.dto.d.ts +2 -1
- package/dist/{modules/spaces → plugins/spaces-home-control}/dto/suggestion.dto.js +5 -4
- package/dist/plugins/spaces-home-control/dto/suggestion.dto.js.map +1 -0
- package/dist/plugins/spaces-home-control/dto/update-config.dto.d.ts +5 -0
- package/dist/plugins/spaces-home-control/dto/update-config.dto.js +34 -0
- package/dist/plugins/spaces-home-control/dto/update-config.dto.js.map +1 -0
- package/dist/plugins/spaces-home-control/dto/update-home-control-space.dto.d.ts +8 -0
- package/dist/plugins/spaces-home-control/dto/update-home-control-space.dto.js +85 -0
- package/dist/plugins/spaces-home-control/dto/update-home-control-space.dto.js.map +1 -0
- package/dist/plugins/spaces-home-control/entities/room-space.entity.d.ts +8 -0
- package/dist/plugins/spaces-home-control/entities/room-space.entity.js +91 -0
- package/dist/plugins/spaces-home-control/entities/room-space.entity.js.map +1 -0
- package/dist/plugins/spaces-home-control/entities/space-active-media-activity.entity.d.ts +11 -0
- package/dist/{modules/spaces → plugins/spaces-home-control}/entities/space-active-media-activity.entity.js +23 -30
- package/dist/plugins/spaces-home-control/entities/space-active-media-activity.entity.js.map +1 -0
- package/dist/plugins/spaces-home-control/entities/space-climate-role.entity.d.ts +13 -0
- package/dist/{modules/spaces → plugins/spaces-home-control}/entities/space-climate-role.entity.js +25 -32
- package/dist/plugins/spaces-home-control/entities/space-climate-role.entity.js.map +1 -0
- package/dist/plugins/spaces-home-control/entities/space-covers-role.entity.d.ts +13 -0
- package/dist/{modules/spaces → plugins/spaces-home-control}/entities/space-covers-role.entity.js +27 -34
- package/dist/plugins/spaces-home-control/entities/space-covers-role.entity.js.map +1 -0
- package/dist/plugins/spaces-home-control/entities/space-lighting-role.entity.d.ts +13 -0
- package/dist/{modules/spaces → plugins/spaces-home-control}/entities/space-lighting-role.entity.js +27 -34
- package/dist/plugins/spaces-home-control/entities/space-lighting-role.entity.js.map +1 -0
- package/dist/plugins/spaces-home-control/entities/space-media-activity-binding.entity.d.ts +15 -0
- package/dist/{modules/spaces → plugins/spaces-home-control}/entities/space-media-activity-binding.entity.js +20 -28
- package/dist/plugins/spaces-home-control/entities/space-media-activity-binding.entity.js.map +1 -0
- package/dist/plugins/spaces-home-control/entities/space-sensor-role.entity.d.ts +13 -0
- package/dist/{modules/spaces → plugins/spaces-home-control}/entities/space-sensor-role.entity.js +27 -34
- package/dist/plugins/spaces-home-control/entities/space-sensor-role.entity.js.map +1 -0
- package/dist/plugins/spaces-home-control/entities/zone-space.entity.d.ts +8 -0
- package/dist/plugins/spaces-home-control/entities/zone-space.entity.js +91 -0
- package/dist/plugins/spaces-home-control/entities/zone-space.entity.js.map +1 -0
- package/dist/{modules/spaces → plugins/spaces-home-control}/listeners/space-activity.listener.d.ts +2 -2
- package/dist/{modules/spaces → plugins/spaces-home-control}/listeners/space-activity.listener.js +4 -4
- package/dist/plugins/spaces-home-control/listeners/space-activity.listener.js.map +1 -0
- package/dist/{modules/spaces → plugins/spaces-home-control}/listeners/space-climate-state.listener.d.ts +1 -1
- package/dist/{modules/spaces → plugins/spaces-home-control}/listeners/space-climate-state.listener.js +6 -5
- package/dist/plugins/spaces-home-control/listeners/space-climate-state.listener.js.map +1 -0
- package/dist/{modules/spaces → plugins/spaces-home-control}/listeners/space-lighting-state.listener.d.ts +1 -1
- package/dist/{modules/spaces → plugins/spaces-home-control}/listeners/space-lighting-state.listener.js +6 -5
- package/dist/plugins/spaces-home-control/listeners/space-lighting-state.listener.js.map +1 -0
- package/dist/{modules/spaces → plugins/spaces-home-control}/listeners/space-sensor-state.listener.d.ts +1 -1
- package/dist/{modules/spaces → plugins/spaces-home-control}/listeners/space-sensor-state.listener.js +9 -8
- package/dist/plugins/spaces-home-control/listeners/space-sensor-state.listener.js.map +1 -0
- package/dist/{modules/spaces → plugins/spaces-home-control}/listeners/websocket-exchange.listener.d.ts +2 -2
- package/dist/{modules/spaces → plugins/spaces-home-control}/listeners/websocket-exchange.listener.js +5 -5
- package/dist/plugins/spaces-home-control/listeners/websocket-exchange.listener.js.map +1 -0
- package/dist/plugins/spaces-home-control/models/config.model.d.ts +5 -0
- package/dist/plugins/spaces-home-control/models/config.model.js +49 -0
- package/dist/plugins/spaces-home-control/models/config.model.js.map +1 -0
- package/dist/{modules/spaces → plugins/spaces-home-control}/models/derived-media-endpoint.model.d.ts +2 -2
- package/dist/{modules/spaces → plugins/spaces-home-control}/models/derived-media-endpoint.model.js +4 -4
- package/dist/plugins/spaces-home-control/models/derived-media-endpoint.model.js.map +1 -0
- package/dist/{modules/spaces → plugins/spaces-home-control}/models/media-activity-binding.model.d.ts +1 -1
- package/dist/{modules/spaces → plugins/spaces-home-control}/models/media-activity-binding.model.js +1 -1
- package/dist/plugins/spaces-home-control/models/media-activity-binding.model.js.map +1 -0
- package/dist/{modules/spaces → plugins/spaces-home-control}/models/media-activity.model.d.ts +2 -2
- package/dist/{modules/spaces → plugins/spaces-home-control}/models/media-activity.model.js +6 -6
- package/dist/plugins/spaces-home-control/models/media-activity.model.js.map +1 -0
- package/dist/{modules/spaces → plugins/spaces-home-control}/models/media-routing.model.d.ts +2 -2
- package/dist/{modules/spaces → plugins/spaces-home-control}/models/media-routing.model.js +4 -4
- package/dist/plugins/spaces-home-control/models/media-routing.model.js.map +1 -0
- package/dist/plugins/spaces-home-control/models/spaces-response.model.d.ts +524 -0
- package/dist/plugins/spaces-home-control/models/spaces-response.model.js +4145 -0
- package/dist/plugins/spaces-home-control/models/spaces-response.model.js.map +1 -0
- package/dist/{modules/spaces → plugins/spaces-home-control}/services/__fixtures__/media-scenario-templates.d.ts +1 -1
- package/dist/{modules/spaces → plugins/spaces-home-control}/services/__fixtures__/media-scenario-templates.js +3 -3
- package/dist/plugins/spaces-home-control/services/__fixtures__/media-scenario-templates.js.map +1 -0
- package/dist/{modules/spaces → plugins/spaces-home-control}/services/__fixtures__/media-test-harness.d.ts +1 -1
- package/dist/plugins/spaces-home-control/services/__fixtures__/media-test-harness.js.map +1 -0
- package/dist/{modules/spaces → plugins/spaces-home-control}/services/climate-intent.service.d.ts +5 -5
- package/dist/{modules/spaces → plugins/spaces-home-control}/services/climate-intent.service.js +35 -34
- package/dist/plugins/spaces-home-control/services/climate-intent.service.js.map +1 -0
- package/dist/{modules/spaces → plugins/spaces-home-control}/services/covers-intent.service.d.ts +5 -5
- package/dist/{modules/spaces → plugins/spaces-home-control}/services/covers-intent.service.js +48 -47
- package/dist/plugins/spaces-home-control/services/covers-intent.service.js.map +1 -0
- package/dist/{modules/spaces → plugins/spaces-home-control}/services/derived-media-endpoint.service.d.ts +1 -1
- package/dist/{modules/spaces → plugins/spaces-home-control}/services/derived-media-endpoint.service.js +28 -27
- package/dist/plugins/spaces-home-control/services/derived-media-endpoint.service.js.map +1 -0
- package/dist/plugins/spaces-home-control/services/home-control-home-page.resolver.d.ts +4 -0
- package/dist/plugins/spaces-home-control/services/home-control-home-page.resolver.js +20 -0
- package/dist/plugins/spaces-home-control/services/home-control-home-page.resolver.js.map +1 -0
- package/dist/plugins/spaces-home-control/services/home-control-spaces.service.d.ts +24 -0
- package/dist/plugins/spaces-home-control/services/home-control-spaces.service.js +182 -0
- package/dist/plugins/spaces-home-control/services/home-control-spaces.service.js.map +1 -0
- package/dist/{modules/spaces → plugins/spaces-home-control}/services/lighting-intent.service.d.ts +6 -6
- package/dist/{modules/spaces → plugins/spaces-home-control}/services/lighting-intent.service.js +68 -67
- package/dist/plugins/spaces-home-control/services/lighting-intent.service.js.map +1 -0
- package/dist/{modules/spaces → plugins/spaces-home-control}/services/media-capability.service.d.ts +1 -1
- package/dist/{modules/spaces → plugins/spaces-home-control}/services/media-capability.service.js +20 -19
- package/dist/plugins/spaces-home-control/services/media-capability.service.js.map +1 -0
- package/dist/{modules/spaces → plugins/spaces-home-control}/services/space-climate-role.service.d.ts +4 -4
- package/dist/{modules/spaces → plugins/spaces-home-control}/services/space-climate-role.service.js +18 -17
- package/dist/plugins/spaces-home-control/services/space-climate-role.service.js.map +1 -0
- package/dist/{modules/spaces → plugins/spaces-home-control}/services/space-climate-state.service.d.ts +5 -5
- package/dist/{modules/spaces → plugins/spaces-home-control}/services/space-climate-state.service.js +32 -31
- package/dist/plugins/spaces-home-control/services/space-climate-state.service.js.map +1 -0
- package/dist/{modules/spaces → plugins/spaces-home-control}/services/space-context-snapshot.service.d.ts +2 -2
- package/dist/{modules/spaces → plugins/spaces-home-control}/services/space-context-snapshot.service.js +7 -6
- package/dist/plugins/spaces-home-control/services/space-context-snapshot.service.js.map +1 -0
- package/dist/{modules/spaces → plugins/spaces-home-control}/services/space-covers-role.service.d.ts +3 -3
- package/dist/{modules/spaces → plugins/spaces-home-control}/services/space-covers-role.service.js +28 -25
- package/dist/plugins/spaces-home-control/services/space-covers-role.service.js.map +1 -0
- package/dist/{modules/spaces → plugins/spaces-home-control}/services/space-covers-state.service.d.ts +4 -4
- package/dist/{modules/spaces → plugins/spaces-home-control}/services/space-covers-state.service.js +9 -8
- package/dist/plugins/spaces-home-control/services/space-covers-state.service.js.map +1 -0
- package/dist/{modules/spaces → plugins/spaces-home-control}/services/space-intent-base.service.d.ts +1 -1
- package/dist/plugins/spaces-home-control/services/space-intent-base.service.js.map +1 -0
- package/dist/plugins/spaces-home-control/services/space-intent.service.js.map +1 -0
- package/dist/{modules/spaces → plugins/spaces-home-control}/services/space-lighting-role.service.d.ts +3 -3
- package/dist/{modules/spaces → plugins/spaces-home-control}/services/space-lighting-role.service.js +25 -22
- package/dist/plugins/spaces-home-control/services/space-lighting-role.service.js.map +1 -0
- package/dist/{modules/spaces → plugins/spaces-home-control}/services/space-lighting-state.service.d.ts +3 -3
- package/dist/{modules/spaces → plugins/spaces-home-control}/services/space-lighting-state.service.js +20 -19
- package/dist/plugins/spaces-home-control/services/space-lighting-state.service.js.map +1 -0
- package/dist/{modules/spaces → plugins/spaces-home-control}/services/space-lighting-tool.service.d.ts +4 -4
- package/dist/{modules/spaces → plugins/spaces-home-control}/services/space-lighting-tool.service.js +8 -7
- package/dist/plugins/spaces-home-control/services/space-lighting-tool.service.js.map +1 -0
- package/dist/{modules/spaces → plugins/spaces-home-control}/services/space-media-activity-binding.service.d.ts +2 -2
- package/dist/{modules/spaces → plugins/spaces-home-control}/services/space-media-activity-binding.service.js +31 -30
- package/dist/plugins/spaces-home-control/services/space-media-activity-binding.service.js.map +1 -0
- package/dist/{modules/spaces → plugins/spaces-home-control}/services/space-media-activity.service.d.ts +3 -3
- package/dist/{modules/spaces → plugins/spaces-home-control}/services/space-media-activity.service.js +38 -37
- package/dist/plugins/spaces-home-control/services/space-media-activity.service.js.map +1 -0
- package/dist/{modules/spaces → plugins/spaces-home-control}/services/space-sensor-role.service.d.ts +4 -4
- package/dist/{modules/spaces → plugins/spaces-home-control}/services/space-sensor-role.service.js +24 -23
- package/dist/plugins/spaces-home-control/services/space-sensor-role.service.js.map +1 -0
- package/dist/{modules/spaces → plugins/spaces-home-control}/services/space-sensor-state.service.d.ts +3 -3
- package/dist/{modules/spaces → plugins/spaces-home-control}/services/space-sensor-state.service.js +19 -18
- package/dist/plugins/spaces-home-control/services/space-sensor-state.service.js.map +1 -0
- package/dist/{modules/spaces → plugins/spaces-home-control}/services/space-suggestion-heartbeat.service.d.ts +2 -2
- package/dist/{modules/spaces → plugins/spaces-home-control}/services/space-suggestion-heartbeat.service.js +10 -9
- package/dist/plugins/spaces-home-control/services/space-suggestion-heartbeat.service.js.map +1 -0
- package/dist/{modules/spaces → plugins/spaces-home-control}/services/space-suggestion.service.d.ts +4 -3
- package/dist/{modules/spaces → plugins/spaces-home-control}/services/space-suggestion.service.js +8 -7
- package/dist/plugins/spaces-home-control/services/space-suggestion.service.js.map +1 -0
- package/dist/{modules/spaces → plugins/spaces-home-control}/services/space-undo-history.service.d.ts +3 -3
- package/dist/{modules/spaces → plugins/spaces-home-control}/services/space-undo-history.service.js +5 -5
- package/dist/plugins/spaces-home-control/services/space-undo-history.service.js.map +1 -0
- package/dist/{modules/spaces → plugins/spaces-home-control}/services/spaces-seeder.service.d.ts +2 -2
- package/dist/{modules/spaces → plugins/spaces-home-control}/services/spaces-seeder.service.js +5 -5
- package/dist/plugins/spaces-home-control/services/spaces-seeder.service.js.map +1 -0
- package/dist/plugins/spaces-home-control/spaces-home-control.constants.d.ts +297 -0
- package/dist/plugins/spaces-home-control/spaces-home-control.constants.js +1460 -0
- package/dist/plugins/spaces-home-control/spaces-home-control.constants.js.map +1 -0
- package/dist/plugins/spaces-home-control/spaces-home-control.openapi.d.ts +2 -0
- package/dist/plugins/spaces-home-control/spaces-home-control.openapi.js +155 -0
- package/dist/plugins/spaces-home-control/spaces-home-control.openapi.js.map +1 -0
- package/dist/plugins/spaces-home-control/spaces-home-control.plugin.d.ts +29 -0
- package/dist/plugins/spaces-home-control/spaces-home-control.plugin.js +334 -0
- package/dist/plugins/spaces-home-control/spaces-home-control.plugin.js.map +1 -0
- package/dist/plugins/spaces-home-control/spec/index.js.map +1 -0
- package/dist/{modules/spaces → plugins/spaces-home-control}/spec/intent-spec-loader.service.d.ts +1 -1
- package/dist/{modules/spaces → plugins/spaces-home-control}/spec/intent-spec-loader.service.js +1 -1
- package/dist/plugins/spaces-home-control/spec/intent-spec-loader.service.js.map +1 -0
- package/dist/plugins/spaces-home-control/spec/intent-spec.types.js.map +1 -0
- package/dist/{modules/spaces → plugins/spaces-home-control}/validators/at-least-one-setpoint.validator.js +2 -2
- package/dist/plugins/spaces-home-control/validators/at-least-one-setpoint.validator.js.map +1 -0
- package/dist/plugins/spaces-home-control/validators/setpoint-order-constraint.validator.js.map +1 -0
- package/dist/{modules/spaces → plugins/spaces-home-control}/validators/space-category-constraint.validator.js +1 -1
- package/dist/plugins/spaces-home-control/validators/space-category-constraint.validator.js.map +1 -0
- package/dist/plugins/spaces-signage-info-panel/controllers/signage-announcements.controller.d.ts +18 -0
- package/dist/plugins/spaces-signage-info-panel/controllers/signage-announcements.controller.js +219 -0
- package/dist/plugins/spaces-signage-info-panel/controllers/signage-announcements.controller.js.map +1 -0
- package/dist/plugins/spaces-signage-info-panel/dto/create-announcement.dto.d.ts +13 -0
- package/dist/plugins/spaces-signage-info-panel/dto/create-announcement.dto.js +143 -0
- package/dist/plugins/spaces-signage-info-panel/dto/create-announcement.dto.js.map +1 -0
- package/dist/plugins/spaces-signage-info-panel/dto/create-signage-info-panel-space.dto.d.ts +13 -0
- package/dist/plugins/spaces-signage-info-panel/dto/create-signage-info-panel-space.dto.js +130 -0
- package/dist/plugins/spaces-signage-info-panel/dto/create-signage-info-panel-space.dto.js.map +1 -0
- package/dist/plugins/spaces-signage-info-panel/dto/reorder-announcements.dto.d.ts +10 -0
- package/dist/plugins/spaces-signage-info-panel/dto/reorder-announcements.dto.js +78 -0
- package/dist/plugins/spaces-signage-info-panel/dto/reorder-announcements.dto.js.map +1 -0
- package/dist/plugins/spaces-signage-info-panel/dto/update-announcement.dto.d.ts +12 -0
- package/dist/plugins/spaces-signage-info-panel/dto/update-announcement.dto.js +134 -0
- package/dist/plugins/spaces-signage-info-panel/dto/update-announcement.dto.js.map +1 -0
- package/dist/plugins/spaces-signage-info-panel/dto/update-config.dto.d.ts +5 -0
- package/dist/plugins/spaces-signage-info-panel/dto/update-config.dto.js +34 -0
- package/dist/plugins/spaces-signage-info-panel/dto/update-config.dto.js.map +1 -0
- package/dist/plugins/spaces-signage-info-panel/dto/update-signage-info-panel-space.dto.d.ts +13 -0
- package/dist/plugins/spaces-signage-info-panel/dto/update-signage-info-panel-space.dto.js +130 -0
- package/dist/plugins/spaces-signage-info-panel/dto/update-signage-info-panel-space.dto.js.map +1 -0
- package/dist/plugins/spaces-signage-info-panel/entities/signage-announcement.entity.d.ts +13 -0
- package/dist/plugins/spaces-signage-info-panel/entities/signage-announcement.entity.js +161 -0
- package/dist/plugins/spaces-signage-info-panel/entities/signage-announcement.entity.js.map +1 -0
- package/dist/plugins/spaces-signage-info-panel/entities/signage-info-panel-space.entity.d.ts +13 -0
- package/dist/plugins/spaces-signage-info-panel/entities/signage-info-panel-space.entity.js +147 -0
- package/dist/plugins/spaces-signage-info-panel/entities/signage-info-panel-space.entity.js.map +1 -0
- package/dist/plugins/spaces-signage-info-panel/models/config.model.d.ts +5 -0
- package/dist/plugins/spaces-signage-info-panel/models/config.model.js +49 -0
- package/dist/plugins/spaces-signage-info-panel/models/config.model.js.map +1 -0
- package/dist/plugins/spaces-signage-info-panel/models/signage-announcement-response.model.d.ts +8 -0
- package/dist/plugins/spaces-signage-info-panel/models/signage-announcement-response.model.js +46 -0
- package/dist/plugins/spaces-signage-info-panel/models/signage-announcement-response.model.js.map +1 -0
- package/dist/plugins/spaces-signage-info-panel/services/signage-announcements.service.d.ts +28 -0
- package/dist/plugins/spaces-signage-info-panel/services/signage-announcements.service.js +181 -0
- package/dist/plugins/spaces-signage-info-panel/services/signage-announcements.service.js.map +1 -0
- package/dist/plugins/spaces-signage-info-panel/services/signage-home-page.resolver.d.ts +4 -0
- package/dist/plugins/spaces-signage-info-panel/services/signage-home-page.resolver.js +20 -0
- package/dist/plugins/spaces-signage-info-panel/services/signage-home-page.resolver.js.map +1 -0
- package/dist/plugins/spaces-signage-info-panel/services/signage-info-panel-reset.service.d.ts +14 -0
- package/dist/plugins/spaces-signage-info-panel/services/signage-info-panel-reset.service.js +59 -0
- package/dist/plugins/spaces-signage-info-panel/services/signage-info-panel-reset.service.js.map +1 -0
- package/dist/plugins/spaces-signage-info-panel/spaces-signage-info-panel.constants.d.ts +17 -0
- package/dist/plugins/spaces-signage-info-panel/spaces-signage-info-panel.constants.js +23 -0
- package/dist/plugins/spaces-signage-info-panel/spaces-signage-info-panel.constants.js.map +1 -0
- package/dist/plugins/spaces-signage-info-panel/spaces-signage-info-panel.exceptions.d.ts +9 -0
- package/dist/plugins/spaces-signage-info-panel/spaces-signage-info-panel.exceptions.js +25 -0
- package/dist/plugins/spaces-signage-info-panel/spaces-signage-info-panel.exceptions.js.map +1 -0
- package/dist/plugins/spaces-signage-info-panel/spaces-signage-info-panel.openapi.d.ts +2 -0
- package/dist/plugins/spaces-signage-info-panel/spaces-signage-info-panel.openapi.js +31 -0
- package/dist/plugins/spaces-signage-info-panel/spaces-signage-info-panel.openapi.js.map +1 -0
- package/dist/plugins/spaces-signage-info-panel/spaces-signage-info-panel.plugin.d.ts +23 -0
- package/dist/plugins/spaces-signage-info-panel/spaces-signage-info-panel.plugin.js +159 -0
- package/dist/plugins/spaces-signage-info-panel/spaces-signage-info-panel.plugin.js.map +1 -0
- package/dist/plugins/spaces-synthetic-entry/dto/create-entry-space.dto.d.ts +5 -0
- package/dist/plugins/spaces-synthetic-entry/dto/create-entry-space.dto.js +31 -0
- package/dist/plugins/spaces-synthetic-entry/dto/create-entry-space.dto.js.map +1 -0
- package/dist/plugins/spaces-synthetic-entry/dto/update-config.dto.d.ts +5 -0
- package/dist/plugins/spaces-synthetic-entry/dto/update-config.dto.js +34 -0
- package/dist/plugins/spaces-synthetic-entry/dto/update-config.dto.js.map +1 -0
- package/dist/plugins/spaces-synthetic-entry/dto/update-entry-space.dto.d.ts +5 -0
- package/dist/plugins/spaces-synthetic-entry/dto/update-entry-space.dto.js +31 -0
- package/dist/plugins/spaces-synthetic-entry/dto/update-entry-space.dto.js.map +1 -0
- package/dist/plugins/spaces-synthetic-entry/entities/entry-space.entity.d.ts +5 -0
- package/dist/plugins/spaces-synthetic-entry/entities/entry-space.entity.js +39 -0
- package/dist/plugins/spaces-synthetic-entry/entities/entry-space.entity.js.map +1 -0
- package/dist/plugins/spaces-synthetic-entry/models/config.model.d.ts +5 -0
- package/dist/plugins/spaces-synthetic-entry/models/config.model.js +49 -0
- package/dist/plugins/spaces-synthetic-entry/models/config.model.js.map +1 -0
- package/dist/plugins/spaces-synthetic-entry/spaces-synthetic-entry.constants.d.ts +7 -0
- package/dist/plugins/spaces-synthetic-entry/spaces-synthetic-entry.constants.js +11 -0
- package/dist/plugins/spaces-synthetic-entry/spaces-synthetic-entry.constants.js.map +1 -0
- package/dist/plugins/spaces-synthetic-entry/spaces-synthetic-entry.openapi.d.ts +2 -0
- package/dist/plugins/spaces-synthetic-entry/spaces-synthetic-entry.openapi.js +16 -0
- package/dist/plugins/spaces-synthetic-entry/spaces-synthetic-entry.openapi.js.map +1 -0
- package/dist/plugins/spaces-synthetic-entry/spaces-synthetic-entry.plugin.d.ts +15 -0
- package/dist/plugins/spaces-synthetic-entry/spaces-synthetic-entry.plugin.js +124 -0
- package/dist/plugins/spaces-synthetic-entry/spaces-synthetic-entry.plugin.js.map +1 -0
- package/dist/plugins/spaces-synthetic-master/dto/create-master-space.dto.d.ts +5 -0
- package/dist/plugins/spaces-synthetic-master/dto/create-master-space.dto.js +31 -0
- package/dist/plugins/spaces-synthetic-master/dto/create-master-space.dto.js.map +1 -0
- package/dist/plugins/spaces-synthetic-master/dto/update-config.dto.d.ts +5 -0
- package/dist/plugins/spaces-synthetic-master/dto/update-config.dto.js +34 -0
- package/dist/plugins/spaces-synthetic-master/dto/update-config.dto.js.map +1 -0
- package/dist/plugins/spaces-synthetic-master/dto/update-master-space.dto.d.ts +5 -0
- package/dist/plugins/spaces-synthetic-master/dto/update-master-space.dto.js +31 -0
- package/dist/plugins/spaces-synthetic-master/dto/update-master-space.dto.js.map +1 -0
- package/dist/plugins/spaces-synthetic-master/entities/master-space.entity.d.ts +5 -0
- package/dist/plugins/spaces-synthetic-master/entities/master-space.entity.js +39 -0
- package/dist/plugins/spaces-synthetic-master/entities/master-space.entity.js.map +1 -0
- package/dist/plugins/spaces-synthetic-master/models/config.model.d.ts +5 -0
- package/dist/plugins/spaces-synthetic-master/models/config.model.js +49 -0
- package/dist/plugins/spaces-synthetic-master/models/config.model.js.map +1 -0
- package/dist/plugins/spaces-synthetic-master/spaces-synthetic-master.constants.d.ts +7 -0
- package/dist/plugins/spaces-synthetic-master/spaces-synthetic-master.constants.js +11 -0
- package/dist/plugins/spaces-synthetic-master/spaces-synthetic-master.constants.js.map +1 -0
- package/dist/plugins/spaces-synthetic-master/spaces-synthetic-master.openapi.d.ts +2 -0
- package/dist/plugins/spaces-synthetic-master/spaces-synthetic-master.openapi.js +16 -0
- package/dist/plugins/spaces-synthetic-master/spaces-synthetic-master.openapi.js.map +1 -0
- package/dist/plugins/spaces-synthetic-master/spaces-synthetic-master.plugin.d.ts +15 -0
- package/dist/plugins/spaces-synthetic-master/spaces-synthetic-master.plugin.js +124 -0
- package/dist/plugins/spaces-synthetic-master/spaces-synthetic-master.plugin.js.map +1 -0
- package/dist/plugins/tiles-device-preview/tiles-device-preview.plugin.js +16 -22
- package/dist/plugins/tiles-device-preview/tiles-device-preview.plugin.js.map +1 -1
- package/dist/plugins/tiles-scene/tiles-scene.plugin.js +15 -21
- package/dist/plugins/tiles-scene/tiles-scene.plugin.js.map +1 -1
- package/dist/plugins/tiles-time/tiles-time.plugin.js +13 -19
- package/dist/plugins/tiles-time/tiles-time.plugin.js.map +1 -1
- package/dist/plugins/tiles-weather/tiles-weather.plugin.js +16 -19
- package/dist/plugins/tiles-weather/tiles-weather.plugin.js.map +1 -1
- package/dist/plugins/weather-open-meteo/weather-open-meteo.plugin.js +32 -21
- package/dist/plugins/weather-open-meteo/weather-open-meteo.plugin.js.map +1 -1
- package/dist/plugins/weather-openweathermap/weather-openweathermap.plugin.js +22 -23
- package/dist/plugins/weather-openweathermap/weather-openweathermap.plugin.js.map +1 -1
- package/dist/plugins/weather-openweathermap-onecall/weather-openweathermap-onecall.plugin.js +27 -23
- package/dist/plugins/weather-openweathermap-onecall/weather-openweathermap-onecall.plugin.js.map +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +10 -6
- package/dist/modules/spaces/dto/climate-intent.dto.js.map +0 -1
- package/dist/modules/spaces/dto/climate-role.dto.js.map +0 -1
- package/dist/modules/spaces/dto/covers-intent.dto.js.map +0 -1
- package/dist/modules/spaces/dto/covers-role.dto.js.map +0 -1
- package/dist/modules/spaces/dto/lighting-intent.dto.js.map +0 -1
- package/dist/modules/spaces/dto/lighting-role.dto.js.map +0 -1
- package/dist/modules/spaces/dto/media-activity-binding.dto.js.map +0 -1
- package/dist/modules/spaces/dto/sensor-role.dto.js.map +0 -1
- package/dist/modules/spaces/dto/status-widget.dto.js.map +0 -1
- package/dist/modules/spaces/dto/suggestion.dto.js.map +0 -1
- package/dist/modules/spaces/entities/space-active-media-activity.entity.d.ts +0 -12
- package/dist/modules/spaces/entities/space-active-media-activity.entity.js.map +0 -1
- package/dist/modules/spaces/entities/space-climate-role.entity.d.ts +0 -14
- package/dist/modules/spaces/entities/space-climate-role.entity.js.map +0 -1
- package/dist/modules/spaces/entities/space-covers-role.entity.d.ts +0 -14
- package/dist/modules/spaces/entities/space-covers-role.entity.js.map +0 -1
- package/dist/modules/spaces/entities/space-lighting-role.entity.d.ts +0 -14
- package/dist/modules/spaces/entities/space-lighting-role.entity.js.map +0 -1
- package/dist/modules/spaces/entities/space-media-activity-binding.entity.d.ts +0 -16
- package/dist/modules/spaces/entities/space-media-activity-binding.entity.js.map +0 -1
- package/dist/modules/spaces/entities/space-sensor-role.entity.d.ts +0 -14
- package/dist/modules/spaces/entities/space-sensor-role.entity.js.map +0 -1
- package/dist/modules/spaces/listeners/space-activity.listener.js.map +0 -1
- package/dist/modules/spaces/listeners/space-climate-state.listener.js.map +0 -1
- package/dist/modules/spaces/listeners/space-lighting-state.listener.js.map +0 -1
- package/dist/modules/spaces/listeners/space-sensor-state.listener.js.map +0 -1
- package/dist/modules/spaces/listeners/websocket-exchange.listener.js.map +0 -1
- package/dist/modules/spaces/models/derived-media-endpoint.model.js.map +0 -1
- package/dist/modules/spaces/models/media-activity-binding.model.js.map +0 -1
- package/dist/modules/spaces/models/media-activity.model.js.map +0 -1
- package/dist/modules/spaces/models/media-routing.model.js.map +0 -1
- package/dist/modules/spaces/services/__fixtures__/media-scenario-templates.js.map +0 -1
- package/dist/modules/spaces/services/__fixtures__/media-test-harness.js.map +0 -1
- package/dist/modules/spaces/services/climate-intent.service.js.map +0 -1
- package/dist/modules/spaces/services/covers-intent.service.js.map +0 -1
- package/dist/modules/spaces/services/derived-media-endpoint.service.js.map +0 -1
- package/dist/modules/spaces/services/lighting-intent.service.js.map +0 -1
- package/dist/modules/spaces/services/media-capability.service.js.map +0 -1
- package/dist/modules/spaces/services/space-climate-role.service.js.map +0 -1
- package/dist/modules/spaces/services/space-climate-state.service.js.map +0 -1
- package/dist/modules/spaces/services/space-context-snapshot.service.js.map +0 -1
- package/dist/modules/spaces/services/space-covers-role.service.js.map +0 -1
- package/dist/modules/spaces/services/space-covers-state.service.js.map +0 -1
- package/dist/modules/spaces/services/space-intent-base.service.js.map +0 -1
- package/dist/modules/spaces/services/space-intent.service.js.map +0 -1
- package/dist/modules/spaces/services/space-lighting-role.service.js.map +0 -1
- package/dist/modules/spaces/services/space-lighting-state.service.js.map +0 -1
- package/dist/modules/spaces/services/space-lighting-tool.service.js.map +0 -1
- package/dist/modules/spaces/services/space-media-activity-binding.service.js.map +0 -1
- package/dist/modules/spaces/services/space-media-activity.service.js.map +0 -1
- package/dist/modules/spaces/services/space-sensor-role.service.js.map +0 -1
- package/dist/modules/spaces/services/space-sensor-state.service.js.map +0 -1
- package/dist/modules/spaces/services/space-suggestion-heartbeat.service.js.map +0 -1
- package/dist/modules/spaces/services/space-suggestion.service.js.map +0 -1
- package/dist/modules/spaces/services/space-undo-history.service.js.map +0 -1
- package/dist/modules/spaces/services/spaces-seeder.service.js.map +0 -1
- package/dist/modules/spaces/spec/definitions/climate-intents.yaml +0 -94
- package/dist/modules/spaces/spec/definitions/covers-modes.yaml +0 -83
- package/dist/modules/spaces/spec/definitions/enums.yaml +0 -119
- package/dist/modules/spaces/spec/definitions/lighting-intents.yaml +0 -181
- package/dist/modules/spaces/spec/definitions/lighting-modes.yaml +0 -119
- package/dist/modules/spaces/spec/definitions/suggestions.yaml +0 -47
- package/dist/modules/spaces/spec/index.js.map +0 -1
- package/dist/modules/spaces/spec/intent-spec-loader.service.js.map +0 -1
- package/dist/modules/spaces/spec/intent-spec.types.js.map +0 -1
- package/dist/modules/spaces/validators/at-least-one-setpoint.validator.js.map +0 -1
- package/dist/modules/spaces/validators/setpoint-order-constraint.validator.js.map +0 -1
- package/dist/modules/spaces/validators/space-category-constraint.validator.js.map +0 -1
- package/dist/modules/storage/plugins/influx-v1/influx-v1.config.model.js.map +0 -1
- package/dist/modules/storage/plugins/influx-v1/influx-v1.constants.js.map +0 -1
- package/dist/modules/storage/plugins/influx-v1/influx-v1.module.d.ts +0 -17
- package/dist/modules/storage/plugins/influx-v1/influx-v1.module.js +0 -94
- package/dist/modules/storage/plugins/influx-v1/influx-v1.module.js.map +0 -1
- package/dist/modules/storage/plugins/influx-v1/influx-v1.openapi.js +0 -7
- package/dist/modules/storage/plugins/influx-v1/influx-v1.openapi.js.map +0 -1
- package/dist/modules/storage/plugins/influx-v1/influx-v1.plugin.js.map +0 -1
- package/dist/modules/storage/plugins/influx-v1/influx-v1.update-config.dto.js.map +0 -1
- package/dist/modules/storage/plugins/memory/in-memory-timeseries.store.js.map +0 -1
- package/dist/modules/storage/plugins/memory/influxql-parser.js.map +0 -1
- package/dist/modules/storage/plugins/memory/memory.config.model.js.map +0 -1
- package/dist/modules/storage/plugins/memory/memory.constants.js.map +0 -1
- package/dist/modules/storage/plugins/memory/memory.module.d.ts +0 -13
- package/dist/modules/storage/plugins/memory/memory.module.js +0 -75
- package/dist/modules/storage/plugins/memory/memory.module.js.map +0 -1
- package/dist/modules/storage/plugins/memory/memory.openapi.js +0 -7
- package/dist/modules/storage/plugins/memory/memory.openapi.js.map +0 -1
- package/dist/modules/storage/plugins/memory/memory.plugin.js.map +0 -1
- package/dist/modules/storage/plugins/memory/memory.update-config.dto.js.map +0 -1
- /package/dist/{modules/storage/plugins → plugins}/influx-v1/influx-v1.constants.d.ts +0 -0
- /package/dist/{modules/storage/plugins → plugins}/influx-v1/influx-v1.constants.js +0 -0
- /package/dist/{modules/storage/plugins/memory/memory.constants.d.ts → plugins/memory-storage/memory-storage.constants.d.ts} +0 -0
- /package/dist/{modules/storage/plugins/memory → plugins/memory-storage/services}/influxql-parser.d.ts +0 -0
- /package/dist/{modules/storage/plugins/memory → plugins/memory-storage/services}/influxql-parser.js +0 -0
- /package/dist/{modules/spaces → plugins/spaces-home-control}/dto/status-widget.dto.d.ts +0 -0
- /package/dist/{modules/spaces → plugins/spaces-home-control}/dto/status-widget.dto.js +0 -0
- /package/dist/{modules/spaces → plugins/spaces-home-control}/services/__fixtures__/media-test-harness.js +0 -0
- /package/dist/{modules/spaces → plugins/spaces-home-control}/services/space-intent-base.service.js +0 -0
- /package/dist/{modules/spaces → plugins/spaces-home-control}/services/space-intent.service.d.ts +0 -0
- /package/dist/{modules/spaces → plugins/spaces-home-control}/services/space-intent.service.js +0 -0
- /package/dist/{modules/spaces → plugins/spaces-home-control}/spec/index.d.ts +0 -0
- /package/dist/{modules/spaces → plugins/spaces-home-control}/spec/index.js +0 -0
- /package/dist/{modules/spaces → plugins/spaces-home-control}/spec/intent-spec.types.d.ts +0 -0
- /package/dist/{modules/spaces → plugins/spaces-home-control}/spec/intent-spec.types.js +0 -0
- /package/dist/{modules/spaces → plugins/spaces-home-control}/validators/at-least-one-setpoint.validator.d.ts +0 -0
- /package/dist/{modules/spaces → plugins/spaces-home-control}/validators/setpoint-order-constraint.validator.d.ts +0 -0
- /package/dist/{modules/spaces → plugins/spaces-home-control}/validators/setpoint-order-constraint.validator.js +0 -0
- /package/dist/{modules/spaces → plugins/spaces-home-control}/validators/space-category-constraint.validator.d.ts +0 -0
|
@@ -50,32 +50,44 @@ let BuddyDiscordPlugin = class BuddyDiscordPlugin {
|
|
|
50
50
|
description: 'Discord bot adapter for Buddy module with multi-channel space mapping',
|
|
51
51
|
author: 'FastyBird',
|
|
52
52
|
capabilities: [buddy_constants_1.BuddyCapability.MESSAGING],
|
|
53
|
-
readme: `#
|
|
53
|
+
readme: `# Discord
|
|
54
54
|
|
|
55
|
-
|
|
55
|
+
> Plugin · by FastyBird · capability: messaging
|
|
56
|
+
|
|
57
|
+
Discord bot adapter for the Buddy module. Forwards alerts and supports remote conversations from any Discord client, with optional per-space channel mapping so messages in your "kitchen" channel are answered with the kitchen's context.
|
|
58
|
+
|
|
59
|
+
## What you get
|
|
60
|
+
|
|
61
|
+
- Talk to your home from anywhere Discord works — desktop, web, mobile
|
|
62
|
+
- A dedicated channel per room so conversations stay tidy and context-aware (the assistant scopes the home snapshot to whichever space the channel maps to)
|
|
63
|
+
- Alerts and suggestions are routed to the right channel automatically — leak in the bathroom? You'll see it in #bathroom, not #general
|
|
64
|
+
- Granular access control: restrict the bot to a specific Discord role so only authorised users can issue commands
|
|
56
65
|
|
|
57
66
|
## Features
|
|
58
67
|
|
|
59
|
-
- **Multi-
|
|
60
|
-
- **Remote
|
|
61
|
-
- **Alert
|
|
62
|
-
- **Role-
|
|
68
|
+
- **Multi-channel mapping** — map Discord channels to smart-home spaces for context-aware conversations
|
|
69
|
+
- **Remote chat** — talk to Buddy from anywhere Discord runs
|
|
70
|
+
- **Alert routing** — suggestion notifications land in the relevant space's channel
|
|
71
|
+
- **Role-based access** — restrict who can interact via a Discord role
|
|
72
|
+
- **Markdown-friendly replies** — Buddy's answers render cleanly in Discord (lists, code blocks, links)
|
|
73
|
+
- **Thread-aware** — keeps replies in the originating thread when the message starts in one
|
|
63
74
|
|
|
64
75
|
## Setup
|
|
65
76
|
|
|
66
|
-
1. Create a bot
|
|
67
|
-
2. Enable the
|
|
68
|
-
3.
|
|
69
|
-
4.
|
|
70
|
-
5. Enable the plugin and configure the bot token, guild ID, and channel mappings
|
|
77
|
+
1. Create a bot at the [Discord Developer Portal](https://discord.com/developers/applications)
|
|
78
|
+
2. Enable the **Message Content Intent** under Bot settings and copy the bot token
|
|
79
|
+
3. Invite the bot to your server with the *Send Messages*, *Read Messages* and *Add Reactions* permissions
|
|
80
|
+
4. Enable the plugin and fill in the configuration
|
|
71
81
|
|
|
72
82
|
## Configuration
|
|
73
83
|
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
84
|
+
| Option | Description | Default |
|
|
85
|
+
|--------|-------------|---------|
|
|
86
|
+
| \`bot_token\` | Discord bot token (required) | — |
|
|
87
|
+
| \`guild_id\` | Discord server ID (required) | — |
|
|
88
|
+
| \`general_channel_id\` | Default channel for cross-space queries (required) | — |
|
|
89
|
+
| \`space_channel_mappings\` | JSON map of space IDs → Discord channel IDs | \`{}\` |
|
|
90
|
+
| \`allowed_role_id\` | Discord role required to interact | unrestricted |`,
|
|
79
91
|
links: {
|
|
80
92
|
documentation: 'https://smart-panel.fastybird.com/docs',
|
|
81
93
|
repository: 'https://github.com/FastyBird/smart-panel',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"buddy-discord.plugin.js","sourceRoot":"","sources":["../../../src/plugins/buddy-discord/buddy-discord.plugin.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2CAAsD;AAEtD,yEAAsE;AACtE,mEAA+D;AAC/D,sEAAkE;AAClE,2GAAqG;AACrG,kFAA8E;AAC9E,6FAAyF;AACzF,qHAA+G;AAC/G,0FAA4E;AAC5E,oHAA8G;AAC9G,yEAAqE;AAErE,uEAImC;AACnC,mEAAoF;AACpF,+DAAsE;AACtE,wDAAgE;AAChE,2EAAsE;AACtE,kGAA4F;AAYrF,IAAM,kBAAkB,GAAxB,MAAM,kBAAkB;IAC9B,YACkB,YAAsC,EACtC,kBAAsC,EACtC,eAA6C,EAC7C,iBAAoC,EACpC,oBAAiD;QAJjD,iBAAY,GAAZ,YAAY,CAA0B;QACtC,uBAAkB,GAAlB,kBAAkB,CAAoB;QACtC,oBAAe,GAAf,eAAe,CAA8B;QAC7C,sBAAiB,GAAjB,iBAAiB,CAAmB;QACpC,yBAAoB,GAApB,oBAAoB,CAA6B;IAChE,CAAC;IAEJ,YAAY;QACX,IAAI,CAAC,YAAY,CAAC,eAAe,CAAuD;YACvF,IAAI,EAAE,mDAAyB;YAC/B,KAAK,EAAE,sCAAuB;YAC9B,SAAS,EAAE,+CAA2B;SACtC,CAAC,CAAC;QAEH,KAAK,MAAM,KAAK,IAAI,iEAAyC,EAAE,CAAC;YAC/D,IAAI,CAAC,eAAe,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;QACtC,CAAC;QAED,IAAI,CAAC,iBAAiB,CAAC,sBAAsB,CAAC;YAC7C,IAAI,EAAE,mDAAyB;YAC/B,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,uEAAuE;YACpF,MAAM,EAAE,WAAW;YACnB,YAAY,EAAE,CAAC,iCAAe,CAAC,SAAS,CAAC;YACzC,MAAM,EAAE
|
|
1
|
+
{"version":3,"file":"buddy-discord.plugin.js","sourceRoot":"","sources":["../../../src/plugins/buddy-discord/buddy-discord.plugin.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2CAAsD;AAEtD,yEAAsE;AACtE,mEAA+D;AAC/D,sEAAkE;AAClE,2GAAqG;AACrG,kFAA8E;AAC9E,6FAAyF;AACzF,qHAA+G;AAC/G,0FAA4E;AAC5E,oHAA8G;AAC9G,yEAAqE;AAErE,uEAImC;AACnC,mEAAoF;AACpF,+DAAsE;AAC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AAwC;KACrD,CAAC;IACD,IAAA,eAAM,EAAC;QACP,OAAO,EAAE,CAAC,0BAAW,EAAE,4BAAY,EAAE,8BAAa,EAAE,oCAAgB,CAAC;QACrE,SAAS,EAAE,CAAC,yCAAkB,EAAE,gEAA6B,CAAC;QAC9D,OAAO,EAAE,CAAC,yCAAkB,CAAC;KAC7B,CAAC;qCAG+B,sDAAwB;QAClB,yCAAkB;QACrB,8DAA4B;QAC1B,sCAAiB;QACd,4DAA2B;GANvD,kBAAkB,CA0E9B"}
|
|
@@ -56,27 +56,38 @@ let BuddyElevenlabsPlugin = class BuddyElevenlabsPlugin {
|
|
|
56
56
|
description: 'STT and TTS provider for Buddy module using ElevenLabs API',
|
|
57
57
|
author: 'FastyBird',
|
|
58
58
|
capabilities: [buddy_constants_1.BuddyCapability.STT, buddy_constants_1.BuddyCapability.TTS],
|
|
59
|
-
readme: `#
|
|
59
|
+
readme: `# ElevenLabs
|
|
60
60
|
|
|
61
|
-
|
|
61
|
+
> Plugin · by FastyBird · capabilities: STT, TTS
|
|
62
62
|
|
|
63
|
-
|
|
63
|
+
ElevenLabs as both a speech-to-text and text-to-speech provider for the Buddy module. Uses the Scribe v2 model for transcription across 99 languages and ElevenLabs' high-quality neural voices for synthesis — easily the most realistic voice option in the bundle.
|
|
64
64
|
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
-
|
|
65
|
+
## What you get
|
|
66
|
+
|
|
67
|
+
- Best-in-class voice quality for the assistant's spoken replies
|
|
68
|
+
- Multilingual transcription with Scribe v2 (99 languages) so the panel works for non-English households out of the box
|
|
69
|
+
- Configurable voice — pick any ElevenLabs voice (default, premade or cloned) by pasting its voice ID
|
|
70
|
+
- Fully cloud-hosted: no on-device GPU required for high-quality voice
|
|
71
|
+
|
|
72
|
+
## Capabilities
|
|
73
|
+
|
|
74
|
+
- **TTS** — neural synthesis with the chosen voice; streaming where supported
|
|
75
|
+
- **STT** — Scribe v2 transcription with automatic language detection
|
|
76
|
+
- **Pair freely** — combine with any LLM provider (Claude, OpenAI, Ollama) for the chat brain
|
|
68
77
|
|
|
69
78
|
## Setup
|
|
70
79
|
|
|
71
80
|
1. Create an account at [ElevenLabs](https://elevenlabs.io)
|
|
72
|
-
2. Generate an API key from your
|
|
73
|
-
3. Enter the API key in plugin configuration
|
|
74
|
-
4. Set
|
|
81
|
+
2. Generate an API key from your dashboard
|
|
82
|
+
3. Enter the API key in this plugin's configuration
|
|
83
|
+
4. Set Buddy's \`stt_plugin\` and/or \`tts_plugin\` to \`${buddy_elevenlabs_constants_1.BUDDY_ELEVENLABS_PLUGIN_NAME}\`
|
|
75
84
|
|
|
76
85
|
## Configuration
|
|
77
86
|
|
|
78
|
-
|
|
79
|
-
|
|
87
|
+
| Option | Description | Default |
|
|
88
|
+
|--------|-------------|---------|
|
|
89
|
+
| \`api_key\` | ElevenLabs API key (required) | — |
|
|
90
|
+
| \`voice_id\` | Voice ID used for TTS | auto-detected |`,
|
|
80
91
|
links: {
|
|
81
92
|
documentation: 'https://smart-panel.fastybird.com/docs',
|
|
82
93
|
repository: 'https://github.com/FastyBird/smart-panel',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"buddy-elevenlabs.plugin.js","sourceRoot":"","sources":["../../../src/plugins/buddy-elevenlabs/buddy-elevenlabs.plugin.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2CAAsD;AAEtD,yEAAsE;AACtE,mEAA+D;AAC/D,8GAAwG;AACxG,8GAAwG;AACxG,sEAAkE;AAClE,2GAAqG;AACrG,kFAA8E;AAC9E,6FAAyF;AACzF,0FAA4E;AAC5E,oHAA8G;AAC9G,yEAAqE;AAErE,6EAIsC;AACtC,yEAA0F;AAC1F,+DAAyE;AACzE,wDAAmE;AACnE,iFAA4E;AAC5E,iFAA4E;AAC5E,wGAAkG;AAY3F,IAAM,qBAAqB,GAA3B,MAAM,qBAAqB;IACjC,YACkB,YAAsC,EACtC,mBAA+C,EAC/C,mBAA+C,EAC/C,qBAA4C,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,iCAAe,CAAC,GAAG,CAAC;YACxD,MAAM,EAAE;;;;;;;;;;;;;;;;;;;;;;;;2DAwBgD,yDAA4B;;;;;;;yDAO9B;YACtD,KAAK,EAAE;gBACN,aAAa,EAAE,wCAAwC;gBACvD,UAAU,EAAE,0CAA0C;aACtD;SACD,CAAC,CAAC;IACJ,CAAC;CACD,CAAA;AArEY,sDAAqB;gCAArB,qBAAqB;IAVjC,IAAA,0BAAM,EAAC;QACP,OAAO,EAAE,yDAA4B;QACrC,WAAW,EAAE,iEAAoC;QACjD,WAAW,EAAE,wEAA2C;KACxD,CAAC;IACD,IAAA,eAAM,EAAC;QACP,OAAO,EAAE,CAAC,0BAAW,EAAE,4BAAY,EAAE,8BAAa,EAAE,oCAAgB,CAAC;QACrE,SAAS,EAAE,CAAC,+CAAqB,EAAE,+CAAqB,EAAE,sEAAgC,CAAC;QAC3F,OAAO,EAAE,CAAC,+CAAqB,EAAE,+CAAqB,CAAC;KACvD,CAAC;qCAG+B,sDAAwB;QACjB,0DAA0B;QAC1B,0DAA0B;QACxB,+CAAqB;QACrB,+CAAqB;QAC3B,8DAA4B;QAC1B,sCAAiB;GAR1C,qBAAqB,CAqEjC"}
|
|
@@ -49,27 +49,43 @@ let BuddyOllamaPlugin = class BuddyOllamaPlugin {
|
|
|
49
49
|
name: 'Ollama',
|
|
50
50
|
description: 'LLM provider for Buddy module using local Ollama inference',
|
|
51
51
|
author: 'FastyBird',
|
|
52
|
-
readme: `#
|
|
52
|
+
readme: `# Ollama
|
|
53
53
|
|
|
54
|
-
|
|
54
|
+
> Plugin · by FastyBird · capability: LLM
|
|
55
55
|
|
|
56
|
-
|
|
56
|
+
Run an LLM provider locally via [Ollama](https://ollama.ai). Supports Llama, Mistral, CodeLlama and any other model Ollama can serve. No API key, no per-request fee, and — most importantly — no data leaves your network.
|
|
57
57
|
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
-
|
|
58
|
+
## What you get
|
|
59
|
+
|
|
60
|
+
- A 100% local assistant: prompts, your home snapshot and replies all stay on the host running Ollama
|
|
61
|
+
- Zero recurring cost — the only resource is your CPU / GPU
|
|
62
|
+
- Free choice of model: pull whichever Ollama-compatible model fits your hardware (\`llama3\`, \`llama3.1\`, \`mistral\`, \`qwen\`, \`phi\`, …) and switch by changing one config value
|
|
63
|
+
- Works with a remote Ollama server too — point \`base_url\` at any reachable host and Buddy talks to it transparently
|
|
64
|
+
|
|
65
|
+
## Capabilities
|
|
66
|
+
|
|
67
|
+
- **LLM (chat)** — streaming completions backed by Ollama
|
|
68
|
+
- **Tool calling** — uses Ollama's tool-call protocol where the chosen model supports it; falls back gracefully when it doesn't
|
|
69
|
+
- **No outbound traffic** — when Ollama runs on the same host, Buddy never reaches the public internet
|
|
70
|
+
|
|
71
|
+
## Tradeoffs
|
|
72
|
+
|
|
73
|
+
- Quality and speed depend entirely on the model and the host's hardware; small machines should pick small models
|
|
74
|
+
- Tool-calling fidelity varies between models; if scenes / device control aren't dispatched cleanly, try a larger / instruction-tuned model
|
|
61
75
|
|
|
62
76
|
## Setup
|
|
63
77
|
|
|
64
|
-
1. Install
|
|
65
|
-
2. Pull
|
|
66
|
-
3. Enable this plugin
|
|
67
|
-
4. Set
|
|
78
|
+
1. Install Ollama on the host running the backend (or any reachable machine)
|
|
79
|
+
2. Pull at least one model — for example \`ollama pull llama3\`
|
|
80
|
+
3. Enable this plugin
|
|
81
|
+
4. Set Buddy's \`provider\` to \`${buddy_ollama_constants_1.BUDDY_OLLAMA_PLUGIN_NAME}\`
|
|
68
82
|
|
|
69
83
|
## Configuration
|
|
70
84
|
|
|
71
|
-
|
|
72
|
-
|
|
85
|
+
| Option | Description | Default |
|
|
86
|
+
|--------|-------------|---------|
|
|
87
|
+
| \`model\` | Ollama model name | \`llama3\` |
|
|
88
|
+
| \`base_url\` | Ollama HTTP endpoint | \`http://localhost:11434\` |`,
|
|
73
89
|
links: {
|
|
74
90
|
documentation: 'https://smart-panel.fastybird.com/docs',
|
|
75
91
|
repository: 'https://github.com/FastyBird/smart-panel',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"buddy-ollama.plugin.js","sourceRoot":"","sources":["../../../src/plugins/buddy-ollama/buddy-ollama.plugin.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2CAAsD;AAEtD,mEAA+D;AAC/D,8GAAwG;AACxG,sEAAkE;AAClE,2GAAqG;AACrG,kFAA8E;AAC9E,6FAAyF;AACzF,0FAA4E;AAC5E,oHAA8G;AAC9G,yEAAqE;AAErE,qEAIkC;AAClC,iEAAkF;AAClF,+DAAqE;AACrE,wDAA+D;AAC/D,iEAA6D;AAC7D,gGAA0F;AAYnF,IAAM,iBAAiB,GAAvB,MAAM,iBAAiB;IAC7B,YACkB,YAAsC,EACtC,gBAA4C,EAC5C,cAA8B,EAC9B,eAA6C,EAC7C,iBAAoC;QAJpC,iBAAY,GAAZ,YAAY,CAA0B;QACtC,qBAAgB,GAAhB,gBAAgB,CAA4B;QAC5C,mBAAc,GAAd,cAAc,CAAgB;QAC9B,oBAAe,GAAf,eAAe,CAA8B;QAC7C,sBAAiB,GAAjB,iBAAiB,CAAmB;IACnD,CAAC;IAEJ,YAAY;QACX,IAAI,CAAC,YAAY,CAAC,eAAe,CAAqD;YACrF,IAAI,EAAE,iDAAwB;YAC9B,KAAK,EAAE,qCAAsB;YAC7B,SAAS,EAAE,8CAA0B;SACrC,CAAC,CAAC;QAEH,IAAI,CAAC,gBAAgB,CAAC,QAAQ,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC;QAEpD,KAAK,MAAM,KAAK,IAAI,+DAAwC,EAAE,CAAC;YAC9D,IAAI,CAAC,eAAe,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;QACtC,CAAC;QAED,IAAI,CAAC,iBAAiB,CAAC,sBAAsB,CAAC;YAC7C,IAAI,EAAE,iDAAwB;YAC9B,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,4DAA4D;YACzE,MAAM,EAAE,WAAW;YACnB,MA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;;;;;;;;;mCA6BwB,iDAAwB;;;;;;;qEAOU;YAClE,KAAK,EAAE;gBACN,aAAa,EAAE,wCAAwC;gBACvD,UAAU,EAAE,0CAA0C;aACtD;SACD,CAAC,CAAC;IACJ,CAAC;CACD,CAAA;AAtEY,8CAAiB;4BAAjB,iBAAiB;IAV7B,IAAA,0BAAM,EAAC;QACP,OAAO,EAAE,iDAAwB;QACjC,WAAW,EAAE,yDAAgC;QAC7C,WAAW,EAAE,gEAAuC;KACpD,CAAC;IACD,IAAA,eAAM,EAAC;QACP,OAAO,EAAE,CAAC,0BAAW,EAAE,4BAAY,EAAE,8BAAa,EAAE,oCAAgB,CAAC;QACrE,SAAS,EAAE,CAAC,gCAAc,EAAE,8DAA4B,CAAC;QACzD,OAAO,EAAE,CAAC,gCAAc,CAAC;KACzB,CAAC;qCAG+B,sDAAwB;QACpB,0DAA0B;QAC5B,gCAAc;QACb,8DAA4B;QAC1B,sCAAiB;GAN1C,iBAAiB,CAsE7B"}
|
|
@@ -61,30 +61,39 @@ let BuddyOpenaiPlugin = class BuddyOpenaiPlugin {
|
|
|
61
61
|
description: 'LLM, STT, and TTS provider for Buddy module using OpenAI API',
|
|
62
62
|
author: 'FastyBird',
|
|
63
63
|
capabilities: [buddy_constants_1.BuddyCapability.LLM, buddy_constants_1.BuddyCapability.STT, buddy_constants_1.BuddyCapability.TTS],
|
|
64
|
-
readme: `#
|
|
64
|
+
readme: `# OpenAI
|
|
65
65
|
|
|
66
|
-
|
|
66
|
+
> Plugin · by FastyBird · capabilities: LLM, STT, TTS
|
|
67
67
|
|
|
68
|
-
|
|
68
|
+
OpenAI as an all-in-one provider for the Buddy module — chat completions via GPT, transcription via Whisper, and synthesis via the TTS API (\`alloy\`, \`echo\`, \`fable\`, \`onyx\`, \`nova\`, \`shimmer\`). One API key unlocks the whole assistant experience.
|
|
69
69
|
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
-
|
|
73
|
-
-
|
|
70
|
+
## What you get
|
|
71
|
+
|
|
72
|
+
- A single key that powers chat, voice input and voice output, so Buddy is a complete experience without juggling three providers
|
|
73
|
+
- High-quality streaming chat with native tool calling — the model can drive your devices and scenes through structured calls
|
|
74
|
+
- Server-side speech recognition with Whisper for hands-free interaction on the panel
|
|
75
|
+
- A choice of six TTS voices to match the personality you want for your home
|
|
76
|
+
|
|
77
|
+
## Capabilities
|
|
78
|
+
|
|
79
|
+
- **LLM (chat)** — streaming completions; native tool calls for device / scene control
|
|
80
|
+
- **STT (speech-to-text)** — Whisper transcription of microphone audio captured on the panel
|
|
81
|
+
- **TTS (text-to-speech)** — six voices, configurable per deployment
|
|
82
|
+
- **Per-capability fan-out** — you can use OpenAI for any subset (just LLM, just TTS, …) and pair it with other providers for the rest
|
|
74
83
|
|
|
75
84
|
## Setup
|
|
76
85
|
|
|
77
|
-
1. Create an account at [OpenAI](https://platform.openai.com)
|
|
78
|
-
2. Generate an API key
|
|
79
|
-
3. Enter the API key in plugin configuration
|
|
80
|
-
4. Set
|
|
81
|
-
5. Set the buddy module \`stt_plugin\` to \`${buddy_openai_constants_1.BUDDY_OPENAI_PLUGIN_NAME}\` for STT
|
|
82
|
-
6. Set the buddy module \`tts_plugin\` to \`${buddy_openai_constants_1.BUDDY_OPENAI_PLUGIN_NAME}\` for TTS
|
|
86
|
+
1. Create an account at [OpenAI Platform](https://platform.openai.com)
|
|
87
|
+
2. Generate an API key in your dashboard
|
|
88
|
+
3. Enter the API key in this plugin's configuration
|
|
89
|
+
4. Set Buddy's \`provider\`, \`stt_plugin\` and/or \`tts_plugin\` to \`${buddy_openai_constants_1.BUDDY_OPENAI_PLUGIN_NAME}\` for the capabilities you want to use
|
|
83
90
|
|
|
84
91
|
## Configuration
|
|
85
92
|
|
|
86
|
-
|
|
87
|
-
|
|
93
|
+
| Option | Description | Default |
|
|
94
|
+
|--------|-------------|---------|
|
|
95
|
+
| \`api_key\` | OpenAI API key (required) | — |
|
|
96
|
+
| \`model\` | Model used for chat completions | \`gpt-4o\` |`,
|
|
88
97
|
links: {
|
|
89
98
|
documentation: 'https://smart-panel.fastybird.com/docs',
|
|
90
99
|
repository: 'https://github.com/FastyBird/smart-panel',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"buddy-openai.plugin.js","sourceRoot":"","sources":["../../../src/plugins/buddy-openai/buddy-openai.plugin.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2CAAsD;AAEtD,yEAAsE;AACtE,mEAA+D;AAC/D,8GAAwG;AACxG,8GAAwG;AACxG,8GAAwG;AACxG,sEAAkE;AAClE,2GAAqG;AACrG,kFAA8E;AAC9E,6FAAyF;AACzF,0FAA4E;AAC5E,oHAA8G;AAC9G,yEAAqE;AAErE,qEAIkC;AAClC,iEAAkF;AAClF,+DAAqE;AACrE,wDAA+D;AAC/D,yEAAoE;AACpE,yEAAoE;AACpE,iEAA6D;AAC7D,gGAA0F;AAYnF,IAAM,iBAAiB,GAAvB,MAAM,iBAAiB;IAC7B,YACkB,YAAsC,EACtC,mBAA+C,EAC/C,mBAA+C,EAC/C,mBAA+C,EAC/C,cAA8B,EAC9B,iBAAoC,EACpC,iBAAoC,EACpC,eAA6C,EAC7C,iBAAoC;QARpC,iBAAY,GAAZ,YAAY,CAA0B;QACtC,wBAAmB,GAAnB,mBAAmB,CAA4B;QAC/C,wBAAmB,GAAnB,mBAAmB,CAA4B;QAC/C,wBAAmB,GAAnB,mBAAmB,CAA4B;QAC/C,mBAAc,GAAd,cAAc,CAAgB;QAC9B,sBAAiB,GAAjB,iBAAiB,CAAmB;QACpC,sBAAiB,GAAjB,iBAAiB,CAAmB;QACpC,oBAAe,GAAf,eAAe,CAA8B;QAC7C,sBAAiB,GAAjB,iBAAiB,CAAmB;IACnD,CAAC;IAEJ,YAAY;QACX,IAAI,CAAC,YAAY,CAAC,eAAe,CAAqD;YACrF,IAAI,EAAE,iDAAwB;YAC9B,KAAK,EAAE,qCAAsB;YAC7B,SAAS,EAAE,8CAA0B;SACrC,CAAC,CAAC;Q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E,wCAAwC;gBACvD,UAAU,EAAE,0CAA0C;aACtD;SACD,CAAC,CAAC;IACJ,CAAC;CACD,CAAA;AAzEY,8CAAiB;4BAAjB,iBAAiB;IAV7B,IAAA,0BAAM,EAAC;QACP,OAAO,EAAE,iDAAwB;QACjC,WAAW,EAAE,yDAAgC;QAC7C,WAAW,EAAE,gEAAuC;KACpD,CAAC;IACD,IAAA,eAAM,EAAC;QACP,OAAO,EAAE,CAAC,0BAAW,EAAE,4BAAY,EAAE,8BAAa,EAAE,oCAAgB,CAAC;QACrE,SAAS,EAAE,CAAC,gCAAc,EAAE,uCAAiB,EAAE,uCAAiB,EAAE,8DAA4B,CAAC;QAC/F,OAAO,EAAE,CAAC,gCAAc,EAAE,uCAAiB,EAAE,uCAAiB,CAAC;KAC/D,CAAC;qCAG+B,sDAAwB;QACjB,0DAA0B;QAC1B,0DAA0B;QAC1B,0DAA0B;QAC/B,gCAAc;QACX,uCAAiB;QACjB,uCAAiB;QACnB,8DAA4B;QAC1B,sCAAiB;GAV1C,iBAAiB,CAyE7B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"openai.provider.js","sourceRoot":"","sources":["../../../../src/plugins/buddy-openai/platforms/openai.provider.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2CAA4C;AAQ5C,wFAAsF;AACtF,oFAAgF;AAChF,sEAImC;AAI5B,IAAM,cAAc,GAApB,MAAM,cAAc;IAC1B,YAA6B,aAA4B;QAA5B,kBAAa,GAAb,aAAa,CAAe;IAAG,CAAC;IAE7D,OAAO;QACN,OAAO,iDAAwB,CAAC;IACjC,CAAC;IAED,OAAO;QACN,OAAO,QAAQ,CAAC;IACjB,CAAC;IAED,cAAc;QACb,OAAO,gEAAuC,CAAC;IAChD,CAAC;IAED,eAAe;QACd,OAAO,mDAA0B,CAAC;IACnC,CAAC;IAED,YAAY,CAAC,YAAqC;QACjD,MAAM,MAAM,GAAG,YAAY,CAAC,MAAM,CAAC;QAEnC,OAAO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AAe;QACtB,IAAI,CAAC;YACJ,OAAO,IAAI,CAAC,aAAa,CAAC,eAAe,CAAyB,iDAAwB,CAAC,CAAC;QAC7F,CAAC;QAAC,MAAM,CAAC;YACR,OAAO,IAAI,CAAC;QACb,CAAC;IACF,CAAC;CACD,CAAA;
|
|
1
|
+
{"version":3,"file":"openai.provider.js","sourceRoot":"","sources":["../../../../src/plugins/buddy-openai/platforms/openai.provider.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2CAA4C;AAQ5C,wFAAsF;AACtF,oFAAgF;AAChF,sEAImC;AAI5B,IAAM,cAAc,GAApB,MAAM,cAAc;IAC1B,YAA6B,aAA4B;QAA5B,kBAAa,GAAb,aAAa,CAAe;IAAG,CAAC;IAE7D,OAAO;QACN,OAAO,iDAAwB,CAAC;IACjC,CAAC;IAED,OAAO;QACN,OAAO,QAAQ,CAAC;IACjB,CAAC;IAED,cAAc;QACb,OAAO,gEAAuC,CAAC;IAChD,CAAC;IAED,eAAe;QACd,OAAO,mDAA0B,CAAC;IACnC,CAAC;IAED,YAAY,CAAC,YAAqC;QACjD,MAAM,MAAM,GAAG,YAAY,CAAC,MAAM,CAAC;QAEnC,OAAO,OAAO,MAAM,KAAK,QAAQ,IAAI,MAAM,CAAC,MAAM,GAAG,CAAC,CAAC;IACxD,CAAC;IAED,aAAa;QACZ,OAAO,IAAI,CAAC;IACb,CAAC;IAED,KAAK,CAAC,WAAW,CAChB,YAAoB,EACpB,QAAuB,EACvB,KAAa,EACb,OAAoB;QAEpB,MAAM,MAAM,GAAG,IAAI,CAAC,eAAe,EAAE,CAAC;QACtC,MAAM,MAAM,GAAG,MAAM,EAAE,MAAM,CAAC;QAE9B,IAAI,CAAC,MAAM,EAAE,CAAC;YACb,MAAM,IAAI,KAAK,CAAC,kCAAkC,CAAC,CAAC;QACrD,CAAC;QAED,MAAM,aAAa,GAAG,MAAM,EAAE,KAAK,IAAI,KAAK,CAAC;QAC7C,MAAM,OAAO,GAAG,OAAO,EAAE,OAAO,IAAI,MAAM,CAAC;QAE3C,MAAM,SAAS,GAAG,OAAO,EAAE,SAAS,IAAI,IAAI,CAAC;QAE7C,MAAM,KAAK,GAAG,IAAI,CAAC,GAAG,EAAE,CAAC;QACzB,MAAM,MAAM,GAAG,MAAM,IAAA,oCAAiB,EACrC,MAAM,EACN,aAAa,EACb,YAAY,EACZ,QAAQ,EACR,OAAO,EACP,SAAS,EACT,OAAO,EAAE,KAAK,CACd,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,CAAC,GAAG,EAAE,GAAG,KAAK,CAAC;QAEtC,OAAO;YACN,OAAO,EAAE,MAAM,CAAC,OAAO;YACvB,SAAS,EAAE,MAAM,CAAC,SAAS;YAC3B,UAAU,EAAE,MAAM,CAAC,UAAU;YAC7B,IAAI,EAAE;gBACL,QAAQ,EAAE,iDAAwB;gBAClC,KAAK,EAAE,MAAM,CAAC,KAAK;gBACnB,WAAW,EAAE,MAAM,CAAC,WAAW;gBAC/B,YAAY,EAAE,MAAM,CAAC,YAAY;gBACjC,YAAY,EAAE,MAAM,CAAC,YAAY;gBACjC,UAAU;gBACV,eAAe,EAAE,IAAI;gBACrB,gBAAgB,EAAE,IAAI;aACtB;SACD,CAAC;IACH,CAAC;IAEO,eAAe;QACtB,IAAI,CAAC;YACJ,OAAO,IAAI,CAAC,aAAa,CAAC,eAAe,CAAyB,iDAAwB,CAAC,CAAC;QAC7F,CAAC;QAAC,MAAM,CAAC;YACR,OAAO,IAAI,CAAC;QACb,CAAC;IACF,CAAC;CACD,CAAA;AAnFY,wCAAc;yBAAd,cAAc;IAD1B,IAAA,mBAAU,GAAE;qCAEgC,8BAAa;GAD7C,cAAc,CAmF1B"}
|
|
@@ -50,31 +50,42 @@ let BuddyOpenaiCodexPlugin = class BuddyOpenaiCodexPlugin {
|
|
|
50
50
|
name: 'OpenAI Codex',
|
|
51
51
|
description: 'LLM provider for Buddy module using OpenAI Codex with OAuth authentication',
|
|
52
52
|
author: 'FastyBird',
|
|
53
|
-
readme: `#
|
|
53
|
+
readme: `# OpenAI Codex
|
|
54
54
|
|
|
55
|
-
|
|
55
|
+
> Plugin · by FastyBird · capability: LLM
|
|
56
56
|
|
|
57
|
-
|
|
57
|
+
OpenAI Codex as an LLM provider for the Buddy module, authenticated with OAuth2 — so an existing Codex subscription can power the assistant without provisioning a separate API key. Access tokens are refreshed automatically; the user logs in once and the plugin keeps its own credentials fresh in the background.
|
|
58
58
|
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
-
|
|
59
|
+
## What you get
|
|
60
|
+
|
|
61
|
+
- Use a Codex subscription you already pay for instead of a separate API key
|
|
62
|
+
- Automatic OAuth token refresh — the plugin renews access tokens before they expire and never blocks a chat on auth
|
|
63
|
+
- Native tool calling backed by Codex models, so Buddy can drive devices and scenes through structured calls
|
|
64
|
+
- Streaming chat with the same shape as the regular OpenAI plugin — switching providers requires no code change in Buddy
|
|
65
|
+
|
|
66
|
+
## Capabilities
|
|
67
|
+
|
|
68
|
+
- **LLM (chat)** — streaming completions
|
|
69
|
+
- **Tool calls** — structured device / scene control
|
|
70
|
+
- **OAuth login** — credentials are stored encrypted in config and refreshed automatically
|
|
62
71
|
|
|
63
72
|
## Setup
|
|
64
73
|
|
|
65
74
|
1. Register an OAuth application at [OpenAI](https://platform.openai.com)
|
|
66
|
-
2.
|
|
67
|
-
3. Complete the OAuth flow to
|
|
68
|
-
4. Enter the credentials in plugin configuration
|
|
69
|
-
5. Set
|
|
75
|
+
2. Note the client ID (and client secret, if your app uses one)
|
|
76
|
+
3. Complete the OAuth flow to obtain access and refresh tokens
|
|
77
|
+
4. Enter the credentials in this plugin's configuration
|
|
78
|
+
5. Set Buddy's \`provider\` to \`${buddy_openai_codex_constants_1.BUDDY_OPENAI_CODEX_PLUGIN_NAME}\`
|
|
70
79
|
|
|
71
80
|
## Configuration
|
|
72
81
|
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
82
|
+
| Option | Description | Default |
|
|
83
|
+
|--------|-------------|---------|
|
|
84
|
+
| \`client_id\` | OAuth client ID (required) | — |
|
|
85
|
+
| \`client_secret\` | OAuth client secret | — |
|
|
86
|
+
| \`access_token\` | Current OAuth access token | — |
|
|
87
|
+
| \`refresh_token\` | OAuth refresh token used for automatic renewal | — |
|
|
88
|
+
| \`model\` | Codex model to use | \`codex-mini\` |`,
|
|
78
89
|
links: {
|
|
79
90
|
documentation: 'https://smart-panel.fastybird.com/docs',
|
|
80
91
|
repository: 'https://github.com/FastyBird/smart-panel',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"buddy-openai-codex.plugin.js","sourceRoot":"","sources":["../../../src/plugins/buddy-openai-codex/buddy-openai-codex.plugin.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2CAAsD;AAEtD,mEAA+D;AAC/D,8GAAwG;AACxG,sEAAkE;AAClE,2GAAqG;AACrG,kFAA8E;AAC9E,6FAAyF;AACzF,0FAA4E;AAC5E,oHAA8G;AAC9G,yEAAqE;AAErE,iFAIwC;AACxC,6EAA8F;AAC9F,qEAAiF;AACjF,+DAA0E;AAC1E,wDAAoE;AACpE,6EAAwE;AACxE,4GAAqG;AAa9F,IAAM,sBAAsB,GAA5B,MAAM,sBAAsB;IAClC,YACkB,YAAsC,EACtC,gBAA4C,EAC5C,mBAAwC,EACxC,eAA6C,EAC7C,iBAAoC;QAJpC,iBAAY,GAAZ,YAAY,CAA0B;QACtC,qBAAgB,GAAhB,gBAAgB,CAA4B;QAC5C,wBAAmB,GAAnB,mBAAmB,CAAqB;QACxC,oBAAe,GAAf,eAAe,CAA8B;QAC7C,sBAAiB,GAAjB,iBAAiB,CAAmB;IACnD,CAAC;IAEJ,YAAY;QACX,IAAI,CAAC,YAAY,CAAC,eAAe,CAA+D;YAC/F,IAAI,EAAE,6DAA8B;YACpC,KAAK,EAAE,0CAA2B;YAClC,SAAS,EAAE,mDAA+B;SAC1C,CAAC,CAAC;QAEH,IAAI,CAAC,gBAAgB,CAAC,QAAQ,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC;QAEzD,KAAK,MAAM,KAAK,IAAI,2EAA8C,EAAE,CAAC;YACpE,IAAI,CAAC,eAAe,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;QACtC,CAAC;QAED,IAAI,CAAC,iBAAiB,CAAC,sBAAsB,CAAC;YAC7C,IAAI,EAAE,6DAA8B;YACpC,IAAI,EAAE,cAAc;YACpB,WAAW,EAAE,4EAA4E;YACzF,MAAM,EAAE,WAAW;YACnB,MAAM,EAAE
|
|
1
|
+
{"version":3,"file":"buddy-openai-codex.plugin.js","sourceRoot":"","sources":["../../../src/plugins/buddy-openai-codex/buddy-openai-codex.plugin.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2CAAsD;AAEtD,mEAA+D;AAC/D,8GAAwG;AACxG,sEAAkE;AAClE,2GAAqG;AACrG,kFAA8E;AAC9E,6FAAyF;AACzF,0FAA4E;AAC5E,oHAA8G;AAC9G,yEAAqE;AAErE,iFAIwC;AACxC,6EAA8F;AAC9F,qEAAiF;AACjF,+DAA0E;AAC1E,wDAAoE;AACpE,6EAAwE;AACxE,4GAAqG;AAa9F,IAAM,sBAAsB,GAA5B,MAAM,sBAAsB;IAClC,YACkB,YAAsC,EACtC,gBAA4C,EAC5C,mBAAwC,EACxC,eAA6C,EAC7C,iBAAoC;QAJpC,iBAAY,GAAZ,YAAY,CAA0B;QACtC,qBAAgB,GAAhB,gBAAgB,CAA4B;QAC5C,wBAAmB,GAAnB,mBAAmB,CAAqB;QACxC,oBAAe,GAAf,eAAe,CAA8B;QAC7C,sBAAiB,GAAjB,iBAAiB,CAAmB;IACnD,CAAC;IAEJ,YAAY;QACX,IAAI,CAAC,YAAY,CAAC,eAAe,CAA+D;YAC/F,IAAI,EAAE,6DAA8B;YACpC,KAAK,EAAE,0CAA2B;YAClC,SAAS,EAAE,mDAA+B;SAC1C,CAAC,CAAC;QAEH,IAAI,CAAC,gBAAgB,CAAC,QAAQ,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC;QAEzD,KAAK,MAAM,KAAK,IAAI,2EAA8C,EAAE,CAAC;YACpE,IAAI,CAAC,eAAe,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;QACtC,CAAC;QAED,IAAI,CAAC,iBAAiB,CAAC,sBAAsB,CAAC;YAC7C,IAAI,EAAE,6DAA8B;YACpC,IAAI,EAAE,cAAc;YACpB,WAAW,EAAE,4EAA4E;YACzF,MAAM,EAAE,WAAW;YACnB,MAAM,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;mCAyBwB,6DAA8B;;;;;;;;;;oDAUb;YACjD,KAAK,EAAE;gBACN,aAAa,EAAE,wCAAwC;gBACvD,UAAU,EAAE,0CAA0C;aACtD;SACD,CAAC,CAAC;IACJ,CAAC;CACD,CAAA;AArEY,wDAAsB;iCAAtB,sBAAsB;IAXlC,IAAA,0BAAM,EAAC;QACP,OAAO,EAAE,6DAA8B;QACvC,WAAW,EAAE,qEAAsC;QACnD,WAAW,EAAE,4EAA6C;KAC1D,CAAC;IACD,IAAA,eAAM,EAAC;QACP,OAAO,EAAE,CAAC,0BAAW,EAAE,4BAAY,EAAE,8BAAa,EAAE,oCAAgB,CAAC;QACrE,WAAW,EAAE,CAAC,kDAA+B,CAAC;QAC9C,SAAS,EAAE,CAAC,2CAAmB,EAAE,yEAAiC,CAAC;QACnE,OAAO,EAAE,CAAC,2CAAmB,CAAC;KAC9B,CAAC;qCAG+B,sDAAwB;QACpB,0DAA0B;QACvB,2CAAmB;QACvB,8DAA4B;QAC1B,sCAAiB;GAN1C,sBAAsB,CAqElC"}
|
|
@@ -50,24 +50,38 @@ let BuddySttWhisperLocalPlugin = class BuddySttWhisperLocalPlugin {
|
|
|
50
50
|
description: 'STT provider for Buddy module using locally installed Whisper',
|
|
51
51
|
author: 'FastyBird',
|
|
52
52
|
capabilities: [buddy_constants_1.BuddyCapability.STT],
|
|
53
|
-
readme: `#
|
|
53
|
+
readme: `# Whisper Local
|
|
54
54
|
|
|
55
|
-
|
|
55
|
+
> Plugin · by FastyBird · capability: STT
|
|
56
56
|
|
|
57
|
-
|
|
57
|
+
Speech-to-text provider that runs OpenAI's Whisper locally via the \`whisper\` CLI. No API key, no network calls — the audio captured on the panel never leaves your network.
|
|
58
58
|
|
|
59
|
-
|
|
59
|
+
## What you get
|
|
60
|
+
|
|
61
|
+
- A privacy-respecting STT path: voice queries are transcribed on the host running the backend
|
|
62
|
+
- Free choice of model size — \`tiny\` for low-spec hardware, \`large\` for top accuracy
|
|
63
|
+
- Auto language detection or a fixed language hint when you know everyone in the household speaks the same one
|
|
64
|
+
- Drop-in replacement for cloud STT providers — pair with any LLM / TTS combination
|
|
65
|
+
|
|
66
|
+
## Capabilities
|
|
67
|
+
|
|
68
|
+
- **STT only** — pair with any LLM and any TTS provider
|
|
69
|
+
- **Configurable accuracy / speed** — pick the Whisper model that fits your CPU
|
|
70
|
+
- **Language hint** — optional, otherwise Whisper detects automatically
|
|
71
|
+
- **No outbound traffic** — every transcription stays on the host
|
|
60
72
|
|
|
61
73
|
## Setup
|
|
62
74
|
|
|
63
|
-
1. Install whisper on
|
|
64
|
-
2. Enable
|
|
65
|
-
3. Set
|
|
75
|
+
1. Install Whisper so that the \`whisper\` command is available on \`PATH\`
|
|
76
|
+
2. Enable this plugin
|
|
77
|
+
3. Set Buddy's \`stt_plugin\` to \`${buddy_stt_whisper_local_constants_1.BUDDY_STT_WHISPER_LOCAL_PLUGIN_NAME}\`
|
|
66
78
|
|
|
67
79
|
## Configuration
|
|
68
80
|
|
|
69
|
-
|
|
70
|
-
|
|
81
|
+
| Option | Description | Default |
|
|
82
|
+
|--------|-------------|---------|
|
|
83
|
+
| \`model\` | Whisper model size — \`tiny\`, \`base\`, \`small\`, \`medium\`, \`large\` | \`base\` |
|
|
84
|
+
| \`language\` | ISO 639-1 language hint (e.g. \`en\`, \`cs\`) | auto-detect |`,
|
|
71
85
|
links: {
|
|
72
86
|
documentation: 'https://smart-panel.fastybird.com/docs',
|
|
73
87
|
repository: 'https://github.com/FastyBird/smart-panel',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"buddy-stt-whisper-local.plugin.js","sourceRoot":"","sources":["../../../src/plugins/buddy-stt-whisper-local/buddy-stt-whisper-local.plugin.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2CAAsD;AAEtD,yEAAsE;AACtE,mEAA+D;AAC/D,8GAAwG;AACxG,sEAAkE;AAClE,2GAAqG;AACrG,kFAA8E;AAC9E,6FAAyF;AACzF,0FAA4E;AAC5E,oHAA8G;AAC9G,yEAAqE;AAErE,2FAI6C;AAC7C,uFAAwG;AACxG,+DAA8E;AAC9E,wDAAwE;AACxE,uFAAiF;AAY1E,IAAM,0BAA0B,GAAhC,MAAM,0BAA0B;IACtC,YACkB,YAAsC,EACtC,mBAA+C,EAC/C,uBAAgD,EAChD,eAA6C,EAC7C,iBAAoC;QAJpC,iBAAY,GAAZ,YAAY,CAA0B;QACtC,wBAAmB,GAAnB,mBAAmB,CAA4B;QAC/C,4BAAuB,GAAvB,uBAAuB,CAAyB;QAChD,oBAAe,GAAf,eAAe,CAA8B;QAC7C,sBAAiB,GAAjB,iBAAiB,CAAmB;IACnD,CAAC;IAEJ,YAAY;QACX,IAAI,CAAC,YAAY,CAAC,eAAe,CAAuE;YACvG,IAAI,EAAE,uEAAmC;YACzC,KAAK,EAAE,8CAA+B;YACtC,SAAS,EAAE,uDAAmC;SAC9C,CAAC,CAAC;QAEH,IAAI,CAAC,mBAAmB,CAAC,QAAQ,CAAC,IAAI,CAAC,uBAAuB,CAAC,CAAC;QAEhE,KAAK,MAAM,KAAK,IAAI,qFAAmD,EAAE,CAAC;YACzE,IAAI,CAAC,eAAe,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;QACtC,CAAC;QAED,IAAI,CAAC,iBAAiB,CAAC,sBAAsB,CAAC;YAC7C,IAAI,EAAE,uEAAmC;YACzC,IAAI,EAAE,eAAe;YACrB,WAAW,EAAE,+DAA+D;YAC5E,MAAM,EAAE,WAAW;YACnB,YAAY,EAAE,CAAC,iCAAe,CAAC,GAAG,CAAC;YACnC,MAAM,EAAE
|
|
1
|
+
{"version":3,"file":"buddy-stt-whisper-local.plugin.js","sourceRoot":"","sources":["../../../src/plugins/buddy-stt-whisper-local/buddy-stt-whisper-local.plugin.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2CAAsD;AAEtD,yEAAsE;AACtE,mEAA+D;AAC/D,8GAAwG;AACxG,sEAAkE;AAClE,2GAAqG;AACrG,kFAA8E;AAC9E,6FAAyF;AACzF,0FAA4E;AAC5E,oHAA8G;AAC9G,yEAAqE;AAErE,2FAI6C;AAC7C,uFAAwG;AACxG,+DAA8E;AAC9E,wDAAwE;AACxE,uFAAiF;AAY1E,IAAM,0BAA0B,GAAhC,MAAM,0BAA0B;IACtC,YACkB,YAAsC,EACtC,mBAA+C,EAC/C,uBAAgD,EAChD,eAA6C,EAC7C,iBAAoC;QAJpC,iBAAY,GAAZ,YAAY,CAA0B;QACtC,wBAAmB,GAAnB,mBAAmB,CAA4B;QAC/C,4BAAuB,GAAvB,uBAAuB,CAAyB;QAChD,oBAAe,GAAf,eAAe,CAA8B;QAC7C,sBAAiB,GAAjB,iBAAiB,CAAmB;IACnD,CAAC;IAEJ,YAAY;QACX,IAAI,CAAC,YAAY,CAAC,eAAe,CAAuE;YACvG,IAAI,EAAE,uEAAmC;YACzC,KAAK,EAAE,8CAA+B;YACtC,SAAS,EAAE,uDAAmC;SAC9C,CAAC,CAAC;QAEH,IAAI,CAAC,mBAAmB,CAAC,QAAQ,CAAC,IAAI,CAAC,uBAAuB,CAAC,CAAC;QAEhE,KAAK,MAAM,KAAK,IAAI,qFAAmD,EAAE,CAAC;YACzE,IAAI,CAAC,eAAe,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;QACtC,CAAC;QAED,IAAI,CAAC,iBAAiB,CAAC,sBAAsB,CAAC;YAC7C,IAAI,EAAE,uEAAmC;YACzC,IAAI,EAAE,eAAe;YACrB,WAAW,EAAE,+DAA+D;YAC5E,MAAM,EAAE,WAAW;YACnB,YAAY,EAAE,CAAC,iCAAe,CAAC,GAAG,CAAC;YACnC,MAAM,EAAE;;;;;;;;;;;;;;;;;;;;;;;;qCAwB0B,uEAAmC;;;;;;;+EAOO;YAC5E,KAAK,EAAE;gBACN,aAAa,EAAE,wCAAwC;gBACvD,UAAU,EAAE,0CAA0C;aACtD;SACD,CAAC,CAAC;IACJ,CAAC;CACD,CAAA;AAlEY,gEAA0B;qCAA1B,0BAA0B;IAVtC,IAAA,0BAAM,EAAC;QACP,OAAO,EAAE,uEAAmC;QAC5C,WAAW,EAAE,+EAA2C;QACxD,WAAW,EAAE,sFAAkD;KAC/D,CAAC;IACD,IAAA,eAAM,EAAC;QACP,OAAO,EAAE,CAAC,0BAAW,EAAE,4BAAY,EAAE,8BAAa,EAAE,oCAAgB,CAAC;QACrE,SAAS,EAAE,CAAC,oDAAuB,CAAC;QACpC,OAAO,EAAE,CAAC,oDAAuB,CAAC;KAClC,CAAC;qCAG+B,sDAAwB;QACjB,0DAA0B;QACtB,oDAAuB;QAC/B,8DAA4B;QAC1B,sCAAiB;GAN1C,0BAA0B,CAkEtC"}
|
|
@@ -50,26 +50,37 @@ let BuddySystemTtsPlugin = class BuddySystemTtsPlugin {
|
|
|
50
50
|
description: 'Local TTS provider using piper or espeak',
|
|
51
51
|
author: 'FastyBird',
|
|
52
52
|
capabilities: [buddy_constants_1.BuddyCapability.TTS],
|
|
53
|
-
readme: `#
|
|
53
|
+
readme: `# System TTS
|
|
54
54
|
|
|
55
|
-
|
|
55
|
+
> Plugin · by FastyBird · capability: TTS
|
|
56
56
|
|
|
57
|
-
|
|
57
|
+
Local text-to-speech provider that delegates synthesis to a system-installed engine — Piper for natural neural voices, eSpeak as a lightweight fallback. No API key, no network calls, no per-request fee.
|
|
58
58
|
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
-
|
|
59
|
+
## What you get
|
|
60
|
+
|
|
61
|
+
- 100% offline voice for the assistant — useful when you want full local control or on networks without outbound internet
|
|
62
|
+
- Free choice of voice quality vs. resource cost: Piper sounds great but needs more CPU; eSpeak is tiny and works on the most modest hardware
|
|
63
|
+
- Multilingual support — both engines ship voices for many languages; pick one once and the assistant uses it everywhere
|
|
64
|
+
- Auto-detection of which engine is actually installed, so the same configuration works across hosts that have only one of the two
|
|
65
|
+
|
|
66
|
+
## Capabilities
|
|
67
|
+
|
|
68
|
+
- **TTS only** — pair with any LLM and any STT provider
|
|
69
|
+
- **Multiple engines** — Piper (preferred for quality) and eSpeak (fallback for low-power hosts)
|
|
70
|
+
- **Streaming output** — audio is piped to the panel as soon as the engine emits it
|
|
62
71
|
|
|
63
72
|
## Setup
|
|
64
73
|
|
|
65
|
-
1. Install piper or espeak on
|
|
74
|
+
1. Install \`piper\` and/or \`espeak\` on the host
|
|
66
75
|
2. Enable this plugin
|
|
67
|
-
3. Set
|
|
76
|
+
3. Set Buddy's \`tts_plugin\` to \`${buddy_system_tts_constants_1.BUDDY_SYSTEM_TTS_PLUGIN_NAME}\`
|
|
68
77
|
|
|
69
78
|
## Configuration
|
|
70
79
|
|
|
71
|
-
|
|
72
|
-
|
|
80
|
+
| Option | Description | Default |
|
|
81
|
+
|--------|-------------|---------|
|
|
82
|
+
| \`engine\` | Preferred engine (\`piper\` or \`espeak\`) | auto-detected |
|
|
83
|
+
| \`voice\` | Voice identifier (Piper model or eSpeak voice code) | engine default |`,
|
|
73
84
|
links: {
|
|
74
85
|
documentation: 'https://smart-panel.fastybird.com/docs',
|
|
75
86
|
repository: 'https://github.com/FastyBird/smart-panel',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"buddy-system-tts.plugin.js","sourceRoot":"","sources":["../../../src/plugins/buddy-system-tts/buddy-system-tts.plugin.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2CAAsD;AAEtD,yEAAsE;AACtE,mEAA+D;AAC/D,8GAAwG;AACxG,sEAAkE;AAClE,2GAAqG;AACrG,kFAA8E;AAC9E,6FAAyF;AACzF,0FAA4E;AAC5E,oHAA8G;AAC9G,yEAAqE;AAErE,6EAIsC;AACtC,yEAA0F;AAC1F,+DAAwE;AACxE,wDAAkE;AAClE,yEAAoE;AAY7D,IAAM,oBAAoB,GAA1B,MAAM,oBAAoB;IAChC,YACkB,YAAsC,EACtC,mBAA+C,EAC/C,iBAAoC,EACpC,eAA6C,EAC7C,iBAAoC;QAJpC,iBAAY,GAAZ,YAAY,CAA0B;QACtC,wBAAmB,GAAnB,mBAAmB,CAA4B;QAC/C,sBAAiB,GAAjB,iBAAiB,CAAmB;QACpC,oBAAe,GAAf,eAAe,CAA8B;QAC7C,sBAAiB,GAAjB,iBAAiB,CAAmB;IACnD,CAAC;IAEJ,YAAY;QACX,IAAI,CAAC,YAAY,CAAC,eAAe,CAA2D;YAC3F,IAAI,EAAE,yDAA4B;YAClC,KAAK,EAAE,wCAAyB;YAChC,SAAS,EAAE,iDAA6B;SACxC,CAAC,CAAC;QAEH,IAAI,CAAC,mBAAmB,CAAC,QAAQ,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC;QAE1D,KAAK,MAAM,KAAK,IAAI,uEAA4C,EAAE,CAAC;YAClE,IAAI,CAAC,eAAe,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;QACtC,CAAC;QAED,IAAI,CAAC,iBAAiB,CAAC,sBAAsB,CAAC;YAC7C,IAAI,EAAE,yDAA4B;YAClC,IAAI,EAAE,YAAY;YAClB,WAAW,EAAE,0CAA0C;YACvD,MAAM,EAAE,WAAW;YACnB,YAAY,EAAE,CAAC,iCAAe,CAAC,GAAG,CAAC;YACnC,MAAM,EAAE
|
|
1
|
+
{"version":3,"file":"buddy-system-tts.plugin.js","sourceRoot":"","sources":["../../../src/plugins/buddy-system-tts/buddy-system-tts.plugin.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2CAAsD;AAEtD,yEAAsE;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D;SACD,CAAC,CAAC;IACJ,CAAC;CACD,CAAA;AAjEY,oDAAoB;+BAApB,oBAAoB;IAVhC,IAAA,0BAAM,EAAC;QACP,OAAO,EAAE,yDAA4B;QACrC,WAAW,EAAE,iEAAoC;QACjD,WAAW,EAAE,wEAA2C;KACxD,CAAC;IACD,IAAA,eAAM,EAAC;QACP,OAAO,EAAE,CAAC,0BAAW,EAAE,4BAAY,EAAE,8BAAa,EAAE,oCAAgB,CAAC;QACrE,SAAS,EAAE,CAAC,uCAAiB,CAAC;QAC9B,OAAO,EAAE,CAAC,uCAAiB,CAAC;KAC5B,CAAC;qCAG+B,sDAAwB;QACjB,0DAA0B;QAC5B,uCAAiB;QACnB,8DAA4B;QAC1B,sCAAiB;GAN1C,oBAAoB,CAiEhC"}
|
|
@@ -50,27 +50,38 @@ let BuddyTelegramPlugin = class BuddyTelegramPlugin {
|
|
|
50
50
|
description: 'Telegram bot adapter for Buddy module remote conversations and alerts',
|
|
51
51
|
author: 'FastyBird',
|
|
52
52
|
capabilities: [buddy_constants_1.BuddyCapability.MESSAGING],
|
|
53
|
-
readme: `#
|
|
53
|
+
readme: `# Telegram
|
|
54
54
|
|
|
55
|
-
|
|
55
|
+
> Plugin · by FastyBird · capability: messaging
|
|
56
|
+
|
|
57
|
+
Telegram bot adapter for the Buddy module. Forwards alerts (with inline accept / dismiss buttons) and lets you have full Buddy conversations from any Telegram client.
|
|
58
|
+
|
|
59
|
+
## What you get
|
|
60
|
+
|
|
61
|
+
- Talk to your home from a Telegram chat — same brain as the panel, available worldwide
|
|
62
|
+
- Inline buttons on suggestions / alerts so you can act with one tap (acknowledge a leak alarm, run a scene, dismiss a suggestion)
|
|
63
|
+
- Tight access control — limit who can chat with the bot to a list of explicit Telegram user IDs
|
|
64
|
+
- Zero infrastructure to host: Telegram's bot API does the heavy lifting, you only need a bot token
|
|
56
65
|
|
|
57
66
|
## Features
|
|
58
67
|
|
|
59
|
-
- **Remote
|
|
60
|
-
- **
|
|
61
|
-
- **
|
|
68
|
+
- **Remote chat** — text Buddy from any Telegram device with the same context as the panel
|
|
69
|
+
- **Inline alert buttons** — every alert / suggestion ships with quick-action buttons
|
|
70
|
+
- **Allow-list** — restrict access to a comma-separated list of user IDs; everyone else is silently ignored
|
|
71
|
+
- **Markdown formatting** — replies render cleanly in Telegram with lists and code blocks where useful
|
|
62
72
|
|
|
63
73
|
## Setup
|
|
64
74
|
|
|
65
|
-
1. Create a bot via [@BotFather](https://t.me/BotFather)
|
|
66
|
-
2.
|
|
67
|
-
3.
|
|
68
|
-
4. Optionally set allowed user IDs to restrict access
|
|
75
|
+
1. Create a bot via [@BotFather](https://t.me/BotFather) and copy the token
|
|
76
|
+
2. Enable the plugin and paste the token into configuration
|
|
77
|
+
3. Optionally restrict access by listing allowed user IDs
|
|
69
78
|
|
|
70
79
|
## Configuration
|
|
71
80
|
|
|
72
|
-
|
|
73
|
-
|
|
81
|
+
| Option | Description | Default |
|
|
82
|
+
|--------|-------------|---------|
|
|
83
|
+
| \`bot_token\` | Telegram Bot API token (required) | — |
|
|
84
|
+
| \`allowed_user_ids\` | Comma-separated Telegram user IDs allowed to chat | unrestricted |`,
|
|
74
85
|
links: {
|
|
75
86
|
documentation: 'https://smart-panel.fastybird.com/docs',
|
|
76
87
|
repository: 'https://github.com/FastyBird/smart-panel',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"buddy-telegram.plugin.js","sourceRoot":"","sources":["../../../src/plugins/buddy-telegram/buddy-telegram.plugin.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2CAAsD;AAEtD,yEAAsE;AACtE,mEAA+D;AAC/D,sEAAkE;AAClE,2GAAqG;AACrG,kFAA8E;AAC9E,6FAAyF;AACzF,qHAA+G;AAC/G,0FAA4E;AAC5E,oHAA8G;AAC9G,yEAAqE;AAErE,yEAIoC;AACpC,qEAAsF;AACtF,+DAAuE;AACvE,wDAAiE;AACjE,6EAAwE;AACxE,oGAA8F;AAYvF,IAAM,mBAAmB,GAAzB,MAAM,mBAAmB;IAC/B,YACkB,YAAsC,EACtC,mBAAwC,EACxC,eAA6C,EAC7C,iBAAoC,EACpC,oBAAiD;QAJjD,iBAAY,GAAZ,YAAY,CAA0B;QACtC,wBAAmB,GAAnB,mBAAmB,CAAqB;QACxC,oBAAe,GAAf,eAAe,CAA8B;QAC7C,sBAAiB,GAAjB,iBAAiB,CAAmB;QACpC,yBAAoB,GAApB,oBAAoB,CAA6B;IAChE,CAAC;IAEJ,YAAY;QACX,IAAI,CAAC,YAAY,CAAC,eAAe,CAAyD;YACzF,IAAI,EAAE,qDAA0B;YAChC,KAAK,EAAE,uCAAwB;YAC/B,SAAS,EAAE,gDAA4B;SACvC,CAAC,CAAC;QAEH,KAAK,MAAM,KAAK,IAAI,mEAA0C,EAAE,CAAC;YAChE,IAAI,CAAC,eAAe,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;QACtC,CAAC;QAED,IAAI,CAAC,iBAAiB,CAAC,sBAAsB,CAAC;YAC7C,IAAI,EAAE,qDAA0B;YAChC,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,uEAAuE;YACpF,MAAM,EAAE,WAAW;YACnB,YAAY,EAAE,CAAC,iCAAe,CAAC,SAAS,CAAC;YACzC,MAAM,EAAE
|
|
1
|
+
{"version":3,"file":"buddy-telegram.plugin.js","sourceRoot":"","sources":["../../../src/plugins/buddy-telegram/buddy-telegram.plugin.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2CAAsD;AAEtD,yEAAsE;AACtE,mEAA+D;AAC/D,sEAAkE;AAClE,2GAAqG;AACrG,kFAA8E;AAC9E,6FAAyF;AACzF,qHAA+G;AAC/G,0FAA4E;AAC5E,oHAA8G;AAC9G,yEAAqE;AAErE,yEAIoC;AACpC,qEAAsF;AACtF,+DAAuE;AACvE,wDAAiE;AACjE,6EAAwE;AACxE,oGAA8F;AAYvF,IAAM,mBAAmB,GAAzB,MAAM,mBAAmB;IAC/B,YACkB,YAAsC,EACtC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