@futdevpro/nts-dynamo 1.15.203 → 1.15.217
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/build/_collections/app-version-header.util.d.ts.map +1 -1
- package/build/_collections/app-version-header.util.js.map +1 -1
- package/build/_collections/atlas-default-db-options.const.d.ts.map +1 -1
- package/build/_collections/atlas-default-db-options.const.js.map +1 -1
- package/build/_collections/dependency-host-guard.util.d.ts.map +1 -1
- package/build/_collections/dependency-host-guard.util.js.map +1 -1
- package/build/_collections/field-encryption.util.d.ts.map +1 -1
- package/build/_collections/field-encryption.util.js.map +1 -1
- package/build/_collections/get-environment-settings.util.d.ts.map +1 -1
- package/build/_collections/get-environment-settings.util.js +1 -1
- package/build/_collections/get-environment-settings.util.js.map +1 -1
- package/build/_collections/global-settings.const.js.map +1 -1
- package/build/_collections/load-shed.util.d.ts.map +1 -1
- package/build/_collections/load-shed.util.js.map +1 -1
- package/build/_collections/mongo-reconnect-guard.util.d.ts.map +1 -1
- package/build/_collections/mongo-reconnect-guard.util.js +6 -2
- package/build/_collections/mongo-reconnect-guard.util.js.map +1 -1
- package/build/_collections/npm-token-check.util.d.ts.map +1 -1
- package/build/_collections/npm-token-check.util.js +3 -1
- package/build/_collections/npm-token-check.util.js.map +1 -1
- package/build/_collections/safe-remote-fetch.util.d.ts.map +1 -1
- package/build/_collections/safe-remote-fetch.util.js.map +1 -1
- package/build/_collections/secret-redaction.util.d.ts.map +1 -1
- package/build/_collections/secret-redaction.util.js.map +1 -1
- package/build/_collections/security-headers.util.d.ts.map +1 -1
- package/build/_collections/security-headers.util.js.map +1 -1
- package/build/_collections/signed-url.util.d.ts.map +1 -1
- package/build/_collections/signed-url.util.js.map +1 -1
- package/build/_collections/star.controller.js +7 -7
- package/build/_collections/static-cache-control.util.d.ts.map +1 -1
- package/build/_collections/static-cache-control.util.js.map +1 -1
- package/build/_models/control-models/api-call-params.control-model.d.ts +9 -52
- package/build/_models/control-models/api-call-params.control-model.d.ts.map +1 -1
- package/build/_models/control-models/api-call-params.control-model.js +11 -37
- package/build/_models/control-models/api-call-params.control-model.js.map +1 -1
- package/build/_models/control-models/app-ext-system-controls.control-model.d.ts +4 -1
- package/build/_models/control-models/app-ext-system-controls.control-model.d.ts.map +1 -1
- package/build/_models/control-models/app-ext-system-controls.control-model.js +9 -3
- package/build/_models/control-models/app-ext-system-controls.control-model.js.map +1 -1
- package/build/_models/control-models/app-params.control-model.d.ts +4 -2
- package/build/_models/control-models/app-params.control-model.d.ts.map +1 -1
- package/build/_models/control-models/app-params.control-model.js +8 -3
- package/build/_models/control-models/app-params.control-model.js.map +1 -1
- package/build/_models/control-models/app-system-controls.control-model.d.ts +4 -1
- package/build/_models/control-models/app-system-controls.control-model.d.ts.map +1 -1
- package/build/_models/control-models/app-system-controls.control-model.js +9 -3
- package/build/_models/control-models/app-system-controls.control-model.js.map +1 -1
- package/build/_models/control-models/endpoint-params.control-model.d.ts +3 -1
- package/build/_models/control-models/endpoint-params.control-model.d.ts.map +1 -1
- package/build/_models/control-models/endpoint-params.control-model.js +20 -10
- package/build/_models/control-models/endpoint-params.control-model.js.map +1 -1
- package/build/_models/control-models/http-options.control-model.d.ts +42 -0
- package/build/_models/control-models/http-options.control-model.d.ts.map +1 -0
- package/build/_models/control-models/http-options.control-model.js +44 -0
- package/build/_models/control-models/http-options.control-model.js.map +1 -0
- package/build/_models/control-models/http-settings.control-model.d.ts +4 -2
- package/build/_models/control-models/http-settings.control-model.d.ts.map +1 -1
- package/build/_models/control-models/http-settings.control-model.js +8 -3
- package/build/_models/control-models/http-settings.control-model.js.map +1 -1
- package/build/_models/control-models/system-control.control-model.d.ts +4 -1
- package/build/_models/control-models/system-control.control-model.d.ts.map +1 -1
- package/build/_models/control-models/system-control.control-model.js +9 -3
- package/build/_models/control-models/system-control.control-model.js.map +1 -1
- package/build/_models/data-models/schema-migration.data-model.d.ts +5 -3
- package/build/_models/data-models/schema-migration.data-model.d.ts.map +1 -1
- package/build/_models/data-models/schema-migration.data-model.js +8 -3
- package/build/_models/data-models/schema-migration.data-model.js.map +1 -1
- package/build/_models/interfaces/axios-settings.interface.d.ts +19 -0
- package/build/_models/interfaces/axios-settings.interface.d.ts.map +1 -0
- package/build/_models/interfaces/axios-settings.interface.js +3 -0
- package/build/_models/interfaces/axios-settings.interface.js.map +1 -0
- package/build/_models/interfaces/global-settings.interface.d.ts +3 -3
- package/build/_models/interfaces/global-settings.interface.d.ts.map +1 -1
- package/build/_modules/admin-auth/admin-api-key.auth-service.d.ts +1 -1
- package/build/_modules/admin-auth/admin-api-key.auth-service.d.ts.map +1 -1
- package/build/_modules/admin-auth/admin-api-key.auth-service.js +5 -5
- package/build/_modules/admin-auth/admin-api-key.auth-service.js.map +1 -1
- package/build/_modules/ai/_modules/ai-mock/_services/aim-fixture-harness.service.d.ts +1 -1
- package/build/_modules/ai/_modules/ai-mock/_services/aim-fixture-harness.service.d.ts.map +1 -1
- package/build/_modules/ai/_modules/ai-mock/_services/aim-fixture-harness.service.js +3 -3
- package/build/_modules/ai/_modules/ai-mock/_services/aim-fixture-harness.service.js.map +1 -1
- package/build/_modules/ai/_modules/ai-mock/fixtures/aim-text.fixtures.js +540 -540
- package/build/_modules/ai/_modules/ai-mock/fixtures/aim-text.fixtures.js.map +1 -1
- package/build/_modules/ai/_modules/anthropic/_services/aai-user-key.control-service.js +17 -7
- package/build/_modules/ai/_modules/anthropic/_services/aai-user-key.control-service.js.map +1 -1
- package/build/_modules/ai/_modules/document-ai/_collections/dai-chunking.util.d.ts.map +1 -1
- package/build/_modules/ai/_modules/document-ai/_collections/dai-chunking.util.js +3 -3
- package/build/_modules/ai/_modules/document-ai/_collections/dai-chunking.util.js.map +1 -1
- package/build/_modules/ai/_modules/document-ai/_collections/dai-document.util.d.ts.map +1 -1
- package/build/_modules/ai/_modules/document-ai/_collections/dai-document.util.js.map +1 -1
- package/build/_modules/ai/_modules/document-ai/_models/data-models/dai-doc-chunk.data-model.d.ts +5 -3
- package/build/_modules/ai/_modules/document-ai/_models/data-models/dai-doc-chunk.data-model.d.ts.map +1 -1
- package/build/_modules/ai/_modules/document-ai/_models/data-models/dai-doc-chunk.data-model.js +11 -6
- package/build/_modules/ai/_modules/document-ai/_models/data-models/dai-doc-chunk.data-model.js.map +1 -1
- package/build/_modules/ai/_modules/document-ai/_models/data-models/dai-doc-page.data-model.d.ts +7 -4
- package/build/_modules/ai/_modules/document-ai/_models/data-models/dai-doc-page.data-model.d.ts.map +1 -1
- package/build/_modules/ai/_modules/document-ai/_models/data-models/dai-doc-page.data-model.js +9 -3
- package/build/_modules/ai/_modules/document-ai/_models/data-models/dai-doc-page.data-model.js.map +1 -1
- package/build/_modules/ai/_modules/document-ai/_models/data-models/dai-document.data-model.d.ts +6 -3
- package/build/_modules/ai/_modules/document-ai/_models/data-models/dai-document.data-model.d.ts.map +1 -1
- package/build/_modules/ai/_modules/document-ai/_models/data-models/dai-document.data-model.js +9 -3
- package/build/_modules/ai/_modules/document-ai/_models/data-models/dai-document.data-model.js.map +1 -1
- package/build/_modules/ai/_modules/fdp-ai/_services/fdp-ai-user-key.control-service.d.ts +35 -0
- package/build/_modules/ai/_modules/fdp-ai/_services/fdp-ai-user-key.control-service.d.ts.map +1 -0
- package/build/_modules/ai/_modules/fdp-ai/_services/fdp-ai-user-key.control-service.js +129 -0
- package/build/_modules/ai/_modules/fdp-ai/_services/fdp-ai-user-key.control-service.js.map +1 -0
- package/build/_modules/ai/_modules/fdp-ai/_services/fdpai-user-key.control-service.d.ts +2 -34
- package/build/_modules/ai/_modules/fdp-ai/_services/fdpai-user-key.control-service.d.ts.map +1 -1
- package/build/_modules/ai/_modules/fdp-ai/_services/fdpai-user-key.control-service.js +3 -126
- package/build/_modules/ai/_modules/fdp-ai/_services/fdpai-user-key.control-service.js.map +1 -1
- package/build/_modules/ai/_modules/fdp-ai/index.d.ts +1 -1
- package/build/_modules/ai/_modules/fdp-ai/index.d.ts.map +1 -1
- package/build/_modules/ai/_modules/fdp-ai/index.js +1 -1
- package/build/_modules/ai/_modules/fdp-ai/index.js.map +1 -1
- package/build/_modules/ai/_modules/open-ai/_collections/oai-global-settings.const.d.ts.map +1 -1
- package/build/_modules/ai/_modules/open-ai/_collections/oai-global-settings.const.js.map +1 -1
- package/build/_modules/ai/_modules/open-ai/_services/data-services/oai-doc-chunk-data.service.d.ts +3 -3
- package/build/_modules/ai/_modules/open-ai/_services/data-services/oai-doc-chunk-data.service.d.ts.map +1 -1
- package/build/_modules/ai/_modules/open-ai/_services/data-services/oai-doc-chunk-data.service.js +5 -5
- package/build/_modules/ai/_modules/open-ai/_services/data-services/oai-doc-chunk-data.service.js.map +1 -1
- package/build/_modules/ai/_modules/open-ai/_services/data-services/oai-doc-page.data-service.d.ts +4 -2
- package/build/_modules/ai/_modules/open-ai/_services/data-services/oai-doc-page.data-service.d.ts.map +1 -1
- package/build/_modules/ai/_modules/open-ai/_services/data-services/oai-doc-page.data-service.js +9 -4
- package/build/_modules/ai/_modules/open-ai/_services/data-services/oai-doc-page.data-service.js.map +1 -1
- package/build/_modules/ai/_modules/open-ai/_services/data-services/oai-document.data-service.d.ts +5 -3
- package/build/_modules/ai/_modules/open-ai/_services/data-services/oai-document.data-service.d.ts.map +1 -1
- package/build/_modules/ai/_modules/open-ai/_services/data-services/oai-document.data-service.js +9 -4
- package/build/_modules/ai/_modules/open-ai/_services/data-services/oai-document.data-service.js.map +1 -1
- package/build/_modules/ai/_modules/open-ai/_services/data-services/oai-vector-data.service.d.ts.map +1 -1
- package/build/_modules/ai/_modules/open-ai/_services/data-services/oai-vector-data.service.js +10 -10
- package/build/_modules/ai/_modules/open-ai/_services/data-services/oai-vector-data.service.js.map +1 -1
- package/build/_modules/ai/_modules/open-ai/_services/oai-embedding.control-service.d.ts +3 -3
- package/build/_modules/ai/_modules/open-ai/_services/oai-embedding.control-service.d.ts.map +1 -1
- package/build/_modules/ai/_modules/open-ai/_services/oai-embedding.control-service.js +3 -3
- package/build/_modules/ai/_modules/open-ai/_services/oai-embedding.control-service.js.map +1 -1
- package/build/_modules/ai/_modules/open-ai/_services/oai-llm-chat.service-base.d.ts +4 -4
- package/build/_modules/ai/_modules/open-ai/_services/oai-llm-chat.service-base.d.ts.map +1 -1
- package/build/_modules/ai/_modules/open-ai/_services/oai-llm-chat.service-base.js +13 -13
- package/build/_modules/ai/_modules/open-ai/_services/oai-llm-chat.service-base.js.map +1 -1
- package/build/_modules/ai/_modules/open-ai/_services/oai-llm.service-base.d.ts +4 -4
- package/build/_modules/ai/_modules/open-ai/_services/oai-llm.service-base.d.ts.map +1 -1
- package/build/_modules/ai/_modules/open-ai/_services/oai-llm.service-base.js +15 -15
- package/build/_modules/ai/_modules/open-ai/_services/oai-llm.service-base.js.map +1 -1
- package/build/_modules/ai/_services/ai-embedding.service-base.d.ts +1 -1
- package/build/_modules/ai/_services/ai-embedding.service-base.d.ts.map +1 -1
- package/build/_modules/ai/_services/ai-embedding.service-base.js.map +1 -1
- package/build/_modules/ai/_services/ai-llm-chat.service-base.d.ts +1 -1
- package/build/_modules/ai/_services/ai-llm-chat.service-base.d.ts.map +1 -1
- package/build/_modules/ai/_services/ai-llm-chat.service-base.js.map +1 -1
- package/build/_modules/ai/_services/ai-llm.service-base.d.ts +2 -2
- package/build/_modules/ai/_services/ai-llm.service-base.d.ts.map +1 -1
- package/build/_modules/ai/_services/ai-llm.service-base.js +4 -4
- package/build/_modules/ai/_services/ai-llm.service-base.js.map +1 -1
- package/build/_modules/ai/_services/ai-provider.service-base.d.ts.map +1 -1
- package/build/_modules/ai/_services/ai-provider.service-base.js.map +1 -1
- package/build/_modules/ai/_services/lm-studio-embedding.control-service.d.ts +111 -0
- package/build/_modules/ai/_services/lm-studio-embedding.control-service.d.ts.map +1 -0
- package/build/_modules/ai/_services/lm-studio-embedding.control-service.js +298 -0
- package/build/_modules/ai/_services/lm-studio-embedding.control-service.js.map +1 -0
- package/build/_modules/ai/_services/lmstudio-embedding.control-service.d.ts +2 -110
- package/build/_modules/ai/_services/lmstudio-embedding.control-service.d.ts.map +1 -1
- package/build/_modules/ai/_services/lmstudio-embedding.control-service.js +3 -295
- package/build/_modules/ai/_services/lmstudio-embedding.control-service.js.map +1 -1
- package/build/_modules/ai/index.d.ts +1 -1
- package/build/_modules/ai/index.d.ts.map +1 -1
- package/build/_modules/ai/index.js +1 -1
- package/build/_modules/ai/index.js.map +1 -1
- package/build/_modules/assistant/_collections/ass-global-settings.const.js +2 -2
- package/build/_modules/assistant/_collections/ass.util.d.ts +1 -1
- package/build/_modules/assistant/_collections/ass.util.d.ts.map +1 -1
- package/build/_modules/assistant/_collections/ass.util.js.map +1 -1
- package/build/_modules/assistant/_services/ass-io.control-service.d.ts.map +1 -1
- package/build/_modules/assistant/_services/ass-io.control-service.js.map +1 -1
- package/build/_modules/bot/_collections/bot-default-commands.const.d.ts.map +1 -1
- package/build/_modules/bot/_collections/bot-default-commands.const.js.map +1 -1
- package/build/_modules/bot/_collections/bot-global-settings.const.d.ts.map +1 -1
- package/build/_modules/bot/_collections/bot-global-settings.const.js.map +1 -1
- package/build/_modules/bot/_modules/discord-bot/_services/dib-messaging-provider.control-service.d.ts +6 -4
- package/build/_modules/bot/_modules/discord-bot/_services/dib-messaging-provider.control-service.d.ts.map +1 -1
- package/build/_modules/bot/_modules/discord-bot/_services/dib-messaging-provider.control-service.js +15 -10
- package/build/_modules/bot/_modules/discord-bot/_services/dib-messaging-provider.control-service.js.map +1 -1
- package/build/_modules/bot/_modules/dynamo-bot/_collections/dyb-operations.util.d.ts +1 -1
- package/build/_modules/bot/_modules/dynamo-bot/_collections/dyb-operations.util.d.ts.map +1 -1
- package/build/_modules/bot/_modules/dynamo-bot/_collections/dyb-operations.util.js +2 -2
- package/build/_modules/bot/_modules/dynamo-bot/_collections/dyb-operations.util.js.map +1 -1
- package/build/_modules/bot/_modules/dynamo-bot/_models/dyb-platform.types.d.ts +2 -2
- package/build/_modules/bot/_modules/dynamo-bot/_models/dyb-platform.types.d.ts.map +1 -1
- package/build/_modules/bot/_modules/dynamo-bot/_services/dyb-messaging-provider.control-service.d.ts +5 -3
- package/build/_modules/bot/_modules/dynamo-bot/_services/dyb-messaging-provider.control-service.d.ts.map +1 -1
- package/build/_modules/bot/_modules/dynamo-bot/_services/dyb-messaging-provider.control-service.js +24 -19
- package/build/_modules/bot/_modules/dynamo-bot/_services/dyb-messaging-provider.control-service.js.map +1 -1
- package/build/_modules/bot/_modules/slack-bot/_services/slb-messaging-provider.control-service.d.ts +3 -2
- package/build/_modules/bot/_modules/slack-bot/_services/slb-messaging-provider.control-service.d.ts.map +1 -1
- package/build/_modules/bot/_modules/slack-bot/_services/slb-messaging-provider.control-service.js +8 -3
- package/build/_modules/bot/_modules/slack-bot/_services/slb-messaging-provider.control-service.js.map +1 -1
- package/build/_modules/bot/_modules/teams-bot/_services/teb-messaging-provider.control-service.d.ts +3 -2
- package/build/_modules/bot/_modules/teams-bot/_services/teb-messaging-provider.control-service.d.ts.map +1 -1
- package/build/_modules/bot/_modules/teams-bot/_services/teb-messaging-provider.control-service.js +8 -3
- package/build/_modules/bot/_modules/teams-bot/_services/teb-messaging-provider.control-service.js.map +1 -1
- package/build/_modules/bot/_services/bot-commands.control-service.js.map +1 -1
- package/build/_modules/bot/_services/bot-io.control-service.d.ts +2 -2
- package/build/_modules/bot/_services/bot-io.control-service.d.ts.map +1 -1
- package/build/_modules/bot/_services/bot-io.control-service.js +3 -3
- package/build/_modules/bot/_services/bot-io.control-service.js.map +1 -1
- package/build/_modules/bot/_services/bot-main.control-service.js +2 -2
- package/build/_modules/bot/_services/bot-main.control-service.js.map +1 -1
- package/build/_modules/bot/_services/bot-routines.control-service.d.ts +1 -1
- package/build/_modules/bot/_services/bot-routines.control-service.d.ts.map +1 -1
- package/build/_modules/bot/_services/bot-routines.control-service.js +4 -4
- package/build/_modules/bot/_services/bot-routines.control-service.js.map +1 -1
- package/build/_modules/custom-data/custom-data.data-service.d.ts.map +1 -1
- package/build/_modules/custom-data/custom-data.data-service.js.map +1 -1
- package/build/_modules/defaults/_collections/default-endpoints.util.js.map +1 -1
- package/build/_modules/defaults/_models/default-user.data-model.d.ts +5 -3
- package/build/_modules/defaults/_models/default-user.data-model.d.ts.map +1 -1
- package/build/_modules/defaults/_models/default-user.data-model.js +8 -3
- package/build/_modules/defaults/_models/default-user.data-model.js.map +1 -1
- package/build/_modules/defaults/_services/default-auth.service.d.ts.map +1 -1
- package/build/_modules/defaults/_services/default-auth.service.js +2 -2
- package/build/_modules/defaults/_services/default-auth.service.js.map +1 -1
- package/build/_modules/defaults/_services/default-user.data-service.d.ts +1 -1
- package/build/_modules/defaults/_services/default-user.data-service.d.ts.map +1 -1
- package/build/_modules/defaults/_services/default-user.data-service.js +4 -4
- package/build/_modules/defaults/_services/default-user.data-service.js.map +1 -1
- package/build/_modules/discord-assistant/_collections/dias-global-settings.const.d.ts.map +1 -1
- package/build/_modules/discord-assistant/_collections/dias-global-settings.const.js +1 -1
- package/build/_modules/discord-assistant/_collections/dias-global-settings.const.js.map +1 -1
- package/build/_modules/discord-assistant/_collections/dias.util.d.ts.map +1 -1
- package/build/_modules/discord-assistant/_collections/dias.util.js.map +1 -1
- package/build/_modules/discord-assistant/_models/dias-knowledge.data-model.d.ts +6 -3
- package/build/_modules/discord-assistant/_models/dias-knowledge.data-model.d.ts.map +1 -1
- package/build/_modules/discord-assistant/_models/dias-knowledge.data-model.js +9 -3
- package/build/_modules/discord-assistant/_models/dias-knowledge.data-model.js.map +1 -1
- package/build/_modules/discord-assistant/_services/dias-chunk.data-service.d.ts +5 -3
- package/build/_modules/discord-assistant/_services/dias-chunk.data-service.d.ts.map +1 -1
- package/build/_modules/discord-assistant/_services/dias-chunk.data-service.js +12 -7
- package/build/_modules/discord-assistant/_services/dias-chunk.data-service.js.map +1 -1
- package/build/_modules/discord-assistant/_services/dias-io.control-service.d.ts +4 -2
- package/build/_modules/discord-assistant/_services/dias-io.control-service.d.ts.map +1 -1
- package/build/_modules/discord-assistant/_services/dias-io.control-service.js +10 -5
- package/build/_modules/discord-assistant/_services/dias-io.control-service.js.map +1 -1
- package/build/_modules/discord-assistant/_services/dias-main.control-service.d.ts +3 -1
- package/build/_modules/discord-assistant/_services/dias-main.control-service.d.ts.map +1 -1
- package/build/_modules/discord-assistant/_services/dias-main.control-service.js +8 -3
- package/build/_modules/discord-assistant/_services/dias-main.control-service.js.map +1 -1
- package/build/_modules/discord-assistant/_services/dias.service-base.d.ts +5 -3
- package/build/_modules/discord-assistant/_services/dias.service-base.d.ts.map +1 -1
- package/build/_modules/discord-assistant/_services/dias.service-base.js +11 -6
- package/build/_modules/discord-assistant/_services/dias.service-base.js.map +1 -1
- package/build/_modules/discord-assistant-voiced/_services/di-av-main.control-service.d.ts +4 -0
- package/build/_modules/discord-assistant-voiced/_services/di-av-main.control-service.d.ts.map +1 -0
- package/build/_modules/discord-assistant-voiced/_services/di-av-main.control-service.js +8 -0
- package/build/_modules/discord-assistant-voiced/_services/di-av-main.control-service.js.map +1 -0
- package/build/_modules/discord-assistant-voiced/_services/dias-discord-bot.control-service.d.ts +2 -3
- package/build/_modules/discord-assistant-voiced/_services/dias-discord-bot.control-service.d.ts.map +1 -1
- package/build/_modules/discord-assistant-voiced/_services/dias-discord-bot.control-service.js +3 -5
- package/build/_modules/discord-assistant-voiced/_services/dias-discord-bot.control-service.js.map +1 -1
- package/build/_modules/discord-assistant-voiced/index.d.ts +1 -1
- package/build/_modules/discord-assistant-voiced/index.d.ts.map +1 -1
- package/build/_modules/discord-assistant-voiced/index.js +1 -1
- package/build/_modules/discord-assistant-voiced/index.js.map +1 -1
- package/build/_modules/discord-bot/_collections/dibo-default-commands.const.d.ts.map +1 -1
- package/build/_modules/discord-bot/_collections/dibo-default-commands.const.js.map +1 -1
- package/build/_modules/discord-bot/_collections/dibo-global-settings.conts.d.ts.map +1 -1
- package/build/_modules/discord-bot/_collections/dibo-global-settings.conts.js.map +1 -1
- package/build/_modules/discord-bot/_collections/dibo-operations.util.d.ts +1 -1
- package/build/_modules/discord-bot/_collections/dibo-operations.util.d.ts.map +1 -1
- package/build/_modules/discord-bot/_collections/dibo-operations.util.js +7 -7
- package/build/_modules/discord-bot/_collections/dibo-operations.util.js.map +1 -1
- package/build/_modules/discord-bot/_models/dibo-global-settings.interface.d.ts.map +1 -1
- package/build/_modules/discord-bot/_services/dibo-commands.control-service.d.ts +3 -1
- package/build/_modules/discord-bot/_services/dibo-commands.control-service.d.ts.map +1 -1
- package/build/_modules/discord-bot/_services/dibo-commands.control-service.js +8 -3
- package/build/_modules/discord-bot/_services/dibo-commands.control-service.js.map +1 -1
- package/build/_modules/discord-bot/_services/dibo-io.control-service.d.ts +4 -2
- package/build/_modules/discord-bot/_services/dibo-io.control-service.d.ts.map +1 -1
- package/build/_modules/discord-bot/_services/dibo-io.control-service.js +11 -6
- package/build/_modules/discord-bot/_services/dibo-io.control-service.js.map +1 -1
- package/build/_modules/discord-bot/_services/dibo-main.control-service.d.ts +6 -4
- package/build/_modules/discord-bot/_services/dibo-main.control-service.d.ts.map +1 -1
- package/build/_modules/discord-bot/_services/dibo-main.control-service.js +11 -31
- package/build/_modules/discord-bot/_services/dibo-main.control-service.js.map +1 -1
- package/build/_modules/discord-bot/_services/dibo-routines.control-service.d.ts +4 -2
- package/build/_modules/discord-bot/_services/dibo-routines.control-service.d.ts.map +1 -1
- package/build/_modules/discord-bot/_services/dibo-routines.control-service.js +12 -7
- package/build/_modules/discord-bot/_services/dibo-routines.control-service.js.map +1 -1
- package/build/_modules/local-vector-search/_models/data-models/lvs-vector-persist.data-model.d.ts +5 -3
- package/build/_modules/local-vector-search/_models/data-models/lvs-vector-persist.data-model.d.ts.map +1 -1
- package/build/_modules/local-vector-search/_models/data-models/lvs-vector-persist.data-model.js +8 -3
- package/build/_modules/local-vector-search/_models/data-models/lvs-vector-persist.data-model.js.map +1 -1
- package/build/_modules/local-vector-search/_services/lvs-bm25.util.d.ts.map +1 -1
- package/build/_modules/local-vector-search/_services/lvs-bm25.util.js.map +1 -1
- package/build/_modules/local-vector-search/_services/lvs-doc-chunk-data.service.d.ts.map +1 -1
- package/build/_modules/local-vector-search/_services/lvs-doc-chunk-data.service.js +1 -1
- package/build/_modules/local-vector-search/_services/lvs-doc-chunk-data.service.js.map +1 -1
- package/build/_modules/local-vector-search/_services/lvs-local-vector-search.data-service.d.ts +3 -1
- package/build/_modules/local-vector-search/_services/lvs-local-vector-search.data-service.d.ts.map +1 -1
- package/build/_modules/local-vector-search/_services/lvs-local-vector-search.data-service.js +8 -35
- package/build/_modules/local-vector-search/_services/lvs-local-vector-search.data-service.js.map +1 -1
- package/build/_modules/local-vector-search/_services/lvs-persistent-vector-pool.control-service.d.ts.map +1 -1
- package/build/_modules/local-vector-search/_services/lvs-persistent-vector-pool.control-service.js.map +1 -1
- package/build/_modules/local-vector-search/_services/lvs-vector-pool.control-service.d.ts +1 -1
- package/build/_modules/local-vector-search/_services/lvs-vector-pool.control-service.d.ts.map +1 -1
- package/build/_modules/local-vector-search/_services/lvs-vector-pool.control-service.js +4 -4
- package/build/_modules/local-vector-search/_services/lvs-vector-pool.control-service.js.map +1 -1
- package/build/_modules/logs/file-log.service.d.ts +2 -2
- package/build/_modules/logs/file-log.service.d.ts.map +1 -1
- package/build/_modules/logs/file-log.service.js +10 -10
- package/build/_modules/logs/file-log.service.js.map +1 -1
- package/build/_modules/logs/file-logs.controller.d.ts.map +1 -1
- package/build/_modules/logs/file-logs.controller.js.map +1 -1
- package/build/_modules/logs/get-file-logs-routing-module.util.js.map +1 -1
- package/build/_modules/logs/get-logs-routing-module.util.js.map +1 -1
- package/build/_modules/logs/index.d.ts +1 -1
- package/build/_modules/logs/index.d.ts.map +1 -1
- package/build/_modules/logs/log-buffer.service.d.ts +1 -1
- package/build/_modules/logs/log-buffer.service.d.ts.map +1 -1
- package/build/_modules/logs/log-buffer.service.js +4 -4
- package/build/_modules/logs/log-buffer.service.js.map +1 -1
- package/build/_modules/logs/logs.controller.d.ts.map +1 -1
- package/build/_modules/logs/logs.controller.js.map +1 -1
- package/build/_modules/logs/logs.service.d.ts +1 -1
- package/build/_modules/logs/logs.service.d.ts.map +1 -1
- package/build/_modules/logs/logs.service.js +4 -4
- package/build/_modules/logs/logs.service.js.map +1 -1
- package/build/_modules/mcp/_services/dynts-mcp-server.service-base.d.ts +2 -70
- package/build/_modules/mcp/_services/dynts-mcp-server.service-base.d.ts.map +1 -1
- package/build/_modules/mcp/_services/dynts-mcp-server.service-base.js +3 -96
- package/build/_modules/mcp/_services/dynts-mcp-server.service-base.js.map +1 -1
- package/build/_modules/mcp/_services/mcp-server.service-base.d.ts +71 -0
- package/build/_modules/mcp/_services/mcp-server.service-base.d.ts.map +1 -0
- package/build/_modules/mcp/_services/mcp-server.service-base.js +99 -0
- package/build/_modules/mcp/_services/mcp-server.service-base.js.map +1 -0
- package/build/_modules/mcp/index.d.ts +1 -1
- package/build/_modules/mcp/index.d.ts.map +1 -1
- package/build/_modules/mcp/index.js +1 -1
- package/build/_modules/mcp/index.js.map +1 -1
- package/build/_modules/messaging/_collections/get-messaging-routing-module.util.d.ts.map +1 -1
- package/build/_modules/messaging/_collections/get-messaging-routing-module.util.js +1 -1
- package/build/_modules/messaging/_collections/get-messaging-routing-module.util.js.map +1 -1
- package/build/_modules/messaging/_collections/msg-global-settings.const.d.ts.map +1 -1
- package/build/_modules/messaging/_collections/msg-global-settings.const.js.map +1 -1
- package/build/_modules/messaging/_collections/msg.util.d.ts.map +1 -1
- package/build/_modules/messaging/_collections/msg.util.js.map +1 -1
- package/build/_modules/messaging/_services/msg-events.service.d.ts.map +1 -1
- package/build/_modules/messaging/_services/msg-events.service.js +1 -1
- package/build/_modules/messaging/_services/msg-events.service.js.map +1 -1
- package/build/_modules/messaging/_services/msg-main.control-service.d.ts +1 -1
- package/build/_modules/messaging/_services/msg-main.control-service.d.ts.map +1 -1
- package/build/_modules/messaging/_services/msg-main.control-service.js +2 -2
- package/build/_modules/messaging/_services/msg-main.control-service.js.map +1 -1
- package/build/_modules/messaging/_services/msg-message.data-service.d.ts.map +1 -1
- package/build/_modules/messaging/_services/msg-message.data-service.js +1 -1
- package/build/_modules/messaging/_services/msg-message.data-service.js.map +1 -1
- package/build/_modules/messaging/_services/msg.controller.d.ts.map +1 -1
- package/build/_modules/messaging/_services/msg.controller.js +13 -13
- package/build/_modules/messaging/_services/msg.controller.js.map +1 -1
- package/build/_modules/mock/app-integration-test.mock.d.ts.map +1 -1
- package/build/_modules/mock/app-integration-test.mock.js.map +1 -1
- package/build/_modules/mock/auth-service.mock.d.ts.map +1 -1
- package/build/_modules/mock/auth-service.mock.js.map +1 -1
- package/build/_modules/mock/socket-server.mock.d.ts +1 -1
- package/build/_modules/mock/socket-server.mock.d.ts.map +1 -1
- package/build/_modules/mock/socket-server.mock.js.map +1 -1
- package/build/_modules/oauth2/_routes/oauth2.controller.d.ts +4 -2
- package/build/_modules/oauth2/_routes/oauth2.controller.d.ts.map +1 -1
- package/build/_modules/oauth2/_routes/oauth2.controller.js +11 -6
- package/build/_modules/oauth2/_routes/oauth2.controller.js.map +1 -1
- package/build/_modules/oauth2/_services/oauth2.auth-service.d.ts.map +1 -1
- package/build/_modules/oauth2/_services/oauth2.auth-service.js +4 -4
- package/build/_modules/oauth2/_services/oauth2.auth-service.js.map +1 -1
- package/build/_modules/oauth2/_services/oauth2.control-service.d.ts +4 -2
- package/build/_modules/oauth2/_services/oauth2.control-service.d.ts.map +1 -1
- package/build/_modules/oauth2/_services/oauth2.control-service.js +25 -20
- package/build/_modules/oauth2/_services/oauth2.control-service.js.map +1 -1
- package/build/_modules/operation-control/_collections/operation-write.util.d.ts +8 -0
- package/build/_modules/operation-control/_collections/operation-write.util.d.ts.map +1 -0
- package/build/_modules/operation-control/_collections/operation-write.util.js +41 -0
- package/build/_modules/operation-control/_collections/operation-write.util.js.map +1 -0
- package/build/_modules/operation-control/_enums/operation-executor-code.type-enum.d.ts +14 -0
- package/build/_modules/operation-control/_enums/operation-executor-code.type-enum.d.ts.map +1 -0
- package/build/_modules/operation-control/_enums/operation-executor-code.type-enum.js +18 -0
- package/build/_modules/operation-control/_enums/operation-executor-code.type-enum.js.map +1 -0
- package/build/_modules/operation-control/_models/operation-executor.interface.d.ts +43 -0
- package/build/_modules/operation-control/_models/operation-executor.interface.d.ts.map +1 -0
- package/build/_modules/operation-control/_models/operation-executor.interface.js +3 -0
- package/build/_modules/operation-control/_models/operation-executor.interface.js.map +1 -0
- package/build/_modules/operation-control/_models/operation-host.interface.d.ts +23 -0
- package/build/_modules/operation-control/_models/operation-host.interface.d.ts.map +1 -0
- package/build/_modules/operation-control/_models/operation-host.interface.js +3 -0
- package/build/_modules/operation-control/_models/operation-host.interface.js.map +1 -0
- package/build/_modules/operation-control/_models/operation-store.interface.d.ts +48 -0
- package/build/_modules/operation-control/_models/operation-store.interface.d.ts.map +1 -0
- package/build/_modules/operation-control/_models/operation-store.interface.js +3 -0
- package/build/_modules/operation-control/_models/operation-store.interface.js.map +1 -0
- package/build/_modules/operation-control/index.d.ts +8 -0
- package/build/_modules/operation-control/index.d.ts.map +1 -0
- package/build/_modules/operation-control/index.js +11 -0
- package/build/_modules/operation-control/index.js.map +1 -0
- package/build/_modules/operation-control/operation-executor.control-service.d.ts +49 -0
- package/build/_modules/operation-control/operation-executor.control-service.d.ts.map +1 -0
- package/build/_modules/operation-control/operation-executor.control-service.js +311 -0
- package/build/_modules/operation-control/operation-executor.control-service.js.map +1 -0
- package/build/_modules/operation-control/operation-host.control-service.d.ts +25 -0
- package/build/_modules/operation-control/operation-host.control-service.d.ts.map +1 -0
- package/build/_modules/operation-control/operation-host.control-service.js +132 -0
- package/build/_modules/operation-control/operation-host.control-service.js.map +1 -0
- package/build/_modules/operation-control/operation.mongo-store.d.ts +52 -0
- package/build/_modules/operation-control/operation.mongo-store.d.ts.map +1 -0
- package/build/_modules/operation-control/operation.mongo-store.js +444 -0
- package/build/_modules/operation-control/operation.mongo-store.js.map +1 -0
- package/build/_modules/privacy-lifecycle/_models/privacy-mutation-gate.interface.d.ts +25 -0
- package/build/_modules/privacy-lifecycle/_models/privacy-mutation-gate.interface.d.ts.map +1 -0
- package/build/_modules/privacy-lifecycle/_models/privacy-mutation-gate.interface.js +3 -0
- package/build/_modules/privacy-lifecycle/_models/privacy-mutation-gate.interface.js.map +1 -0
- package/build/_modules/privacy-lifecycle/index.d.ts +2 -0
- package/build/_modules/privacy-lifecycle/index.d.ts.map +1 -1
- package/build/_modules/privacy-lifecycle/index.js +3 -1
- package/build/_modules/privacy-lifecycle/index.js.map +1 -1
- package/build/_modules/privacy-lifecycle/privacy-mutation-gate.mongo-store.d.ts +38 -0
- package/build/_modules/privacy-lifecycle/privacy-mutation-gate.mongo-store.d.ts.map +1 -0
- package/build/_modules/privacy-lifecycle/privacy-mutation-gate.mongo-store.js +214 -0
- package/build/_modules/privacy-lifecycle/privacy-mutation-gate.mongo-store.js.map +1 -0
- package/build/_modules/rate-limit/rate-limit.middleware.d.ts.map +1 -1
- package/build/_modules/rate-limit/rate-limit.middleware.js.map +1 -1
- package/build/_modules/scheduler/get-scheduler-routing-module.util.js.map +1 -1
- package/build/_modules/scheduler/index.d.ts +1 -1
- package/build/_modules/scheduler/index.d.ts.map +1 -1
- package/build/_modules/scheduler/scheduler.controller.d.ts.map +1 -1
- package/build/_modules/scheduler/scheduler.controller.js.map +1 -1
- package/build/_modules/scheduler/scheduler.service.d.ts +1 -1
- package/build/_modules/scheduler/scheduler.service.d.ts.map +1 -1
- package/build/_modules/scheduler/scheduler.service.js +9 -7
- package/build/_modules/scheduler/scheduler.service.js.map +1 -1
- package/build/_modules/scoped-config/_models/data-models/dynts-scoped-config.data-model.d.ts +2 -43
- package/build/_modules/scoped-config/_models/data-models/dynts-scoped-config.data-model.d.ts.map +1 -1
- package/build/_modules/scoped-config/_models/data-models/dynts-scoped-config.data-model.js +3 -65
- package/build/_modules/scoped-config/_models/data-models/dynts-scoped-config.data-model.js.map +1 -1
- package/build/_modules/scoped-config/_models/data-models/scoped-config.data-model.d.ts +46 -0
- package/build/_modules/scoped-config/_models/data-models/scoped-config.data-model.d.ts.map +1 -0
- package/build/_modules/scoped-config/_models/data-models/scoped-config.data-model.js +73 -0
- package/build/_modules/scoped-config/_models/data-models/scoped-config.data-model.js.map +1 -0
- package/build/_modules/scoped-config/_services/dynts-scoped-config.control-service.d.ts +2 -83
- package/build/_modules/scoped-config/_services/dynts-scoped-config.control-service.d.ts.map +1 -1
- package/build/_modules/scoped-config/_services/dynts-scoped-config.control-service.js +3 -217
- package/build/_modules/scoped-config/_services/dynts-scoped-config.control-service.js.map +1 -1
- package/build/_modules/scoped-config/_services/dynts-scoped-config.data-service.d.ts +2 -53
- package/build/_modules/scoped-config/_services/dynts-scoped-config.data-service.d.ts.map +1 -1
- package/build/_modules/scoped-config/_services/dynts-scoped-config.data-service.js +3 -73
- package/build/_modules/scoped-config/_services/dynts-scoped-config.data-service.js.map +1 -1
- package/build/_modules/scoped-config/_services/scoped-config.control-service.d.ts +84 -0
- package/build/_modules/scoped-config/_services/scoped-config.control-service.d.ts.map +1 -0
- package/build/_modules/scoped-config/_services/scoped-config.control-service.js +220 -0
- package/build/_modules/scoped-config/_services/scoped-config.control-service.js.map +1 -0
- package/build/_modules/scoped-config/_services/scoped-config.data-service.d.ts +54 -0
- package/build/_modules/scoped-config/_services/scoped-config.data-service.d.ts.map +1 -0
- package/build/_modules/scoped-config/_services/scoped-config.data-service.js +76 -0
- package/build/_modules/scoped-config/_services/scoped-config.data-service.js.map +1 -0
- package/build/_modules/scoped-config/index.d.ts +3 -3
- package/build/_modules/scoped-config/index.d.ts.map +1 -1
- package/build/_modules/scoped-config/index.js +3 -3
- package/build/_modules/scoped-config/index.js.map +1 -1
- package/build/_modules/server/errors/errors.control-service.d.ts.map +1 -1
- package/build/_modules/server/errors/errors.control-service.js.map +1 -1
- package/build/_modules/server/errors/errors.controller.d.ts +1 -1
- package/build/_modules/server/errors/errors.controller.d.ts.map +1 -1
- package/build/_modules/server/errors/errors.controller.js +4 -4
- package/build/_modules/server/errors/errors.controller.js.map +1 -1
- package/build/_modules/server/errors/errors.data-service.d.ts.map +1 -1
- package/build/_modules/server/errors/errors.data-service.js +2 -2
- package/build/_modules/server/errors/errors.data-service.js.map +1 -1
- package/build/_modules/server/server-status/server-status-snapshot.control-service.d.ts.map +1 -1
- package/build/_modules/server/server-status/server-status-snapshot.control-service.js.map +1 -1
- package/build/_modules/server/server-status/server-status-snapshot.data-service.d.ts.map +1 -1
- package/build/_modules/server/server-status/server-status-snapshot.data-service.js +1 -1
- package/build/_modules/server/server-status/server-status-snapshot.data-service.js.map +1 -1
- package/build/_modules/server/server-status/server-status.control-service.d.ts +3 -3
- package/build/_modules/server/server-status/server-status.control-service.d.ts.map +1 -1
- package/build/_modules/server/server-status/server-status.control-service.js +18 -8
- package/build/_modules/server/server-status/server-status.control-service.js.map +1 -1
- package/build/_modules/server/server-status/server-status.controller.d.ts +3 -3
- package/build/_modules/server/server-status/server-status.controller.d.ts.map +1 -1
- package/build/_modules/server/server-status/server-status.controller.js +2 -2
- package/build/_modules/server/server-status/server-status.controller.js.map +1 -1
- package/build/_modules/socket/_models/socket-client-service-params.control-model.d.ts +4 -2
- package/build/_modules/socket/_models/socket-client-service-params.control-model.d.ts.map +1 -1
- package/build/_modules/socket/_models/socket-client-service-params.control-model.js +8 -3
- package/build/_modules/socket/_models/socket-client-service-params.control-model.js.map +1 -1
- package/build/_modules/socket/_models/socket-presence.control-model.d.ts +4 -2
- package/build/_modules/socket/_models/socket-presence.control-model.d.ts.map +1 -1
- package/build/_modules/socket/_models/socket-presence.control-model.js +8 -3
- package/build/_modules/socket/_models/socket-presence.control-model.js.map +1 -1
- package/build/_modules/socket/_models/socket-server-service-params.control-model.d.ts +4 -2
- package/build/_modules/socket/_models/socket-server-service-params.control-model.d.ts.map +1 -1
- package/build/_modules/socket/_models/socket-server-service-params.control-model.js +8 -3
- package/build/_modules/socket/_models/socket-server-service-params.control-model.js.map +1 -1
- package/build/_modules/socket/_services/socket-client.service.d.ts.map +1 -1
- package/build/_modules/socket/_services/socket-client.service.js +9 -3
- package/build/_modules/socket/_services/socket-client.service.js.map +1 -1
- package/build/_modules/socket/_services/socket-server.service.d.ts.map +1 -1
- package/build/_modules/socket/_services/socket-server.service.js +22 -8
- package/build/_modules/socket/_services/socket-server.service.js.map +1 -1
- package/build/_modules/socket/app-extended.server.d.ts.map +1 -1
- package/build/_modules/socket/app-extended.server.js +3 -1
- package/build/_modules/socket/app-extended.server.js.map +1 -1
- package/build/_modules/test/get-test-routing-module.util.d.ts.map +1 -1
- package/build/_modules/test/get-test-routing-module.util.js.map +1 -1
- package/build/_modules/test-email-sink/_models/data-models/dynts-sent-test-mail.data-model.d.ts +2 -21
- package/build/_modules/test-email-sink/_models/data-models/dynts-sent-test-mail.data-model.d.ts.map +1 -1
- package/build/_modules/test-email-sink/_models/data-models/dynts-sent-test-mail.data-model.js +3 -36
- package/build/_modules/test-email-sink/_models/data-models/dynts-sent-test-mail.data-model.js.map +1 -1
- package/build/_modules/test-email-sink/_models/data-models/sent-test-mail.data-model.d.ts +24 -0
- package/build/_modules/test-email-sink/_models/data-models/sent-test-mail.data-model.d.ts.map +1 -0
- package/build/_modules/test-email-sink/_models/data-models/sent-test-mail.data-model.js +44 -0
- package/build/_modules/test-email-sink/_models/data-models/sent-test-mail.data-model.js.map +1 -0
- package/build/_modules/test-email-sink/_services/dynts-test-email-sink.service.d.ts +1 -1
- package/build/_modules/test-email-sink/_services/dynts-test-email-sink.service.d.ts.map +1 -1
- package/build/_modules/test-email-sink/_services/dynts-test-email-sink.service.js +3 -3
- package/build/_modules/test-email-sink/_services/dynts-test-email-sink.service.js.map +1 -1
- package/build/_modules/test-email-sink/index.d.ts +1 -1
- package/build/_modules/test-email-sink/index.d.ts.map +1 -1
- package/build/_modules/test-email-sink/index.js +1 -1
- package/build/_modules/test-email-sink/index.js.map +1 -1
- package/build/_modules/test-email-sink/test-email-sink.controller.d.ts.map +1 -1
- package/build/_modules/test-email-sink/test-email-sink.controller.js.map +1 -1
- package/build/_modules/usage/get-usage-routing-module.util.d.ts.map +1 -1
- package/build/_modules/usage/get-usage-routing-module.util.js.map +1 -1
- package/build/_modules/usage/usage.data-service.d.ts +1 -1
- package/build/_modules/usage/usage.data-service.d.ts.map +1 -1
- package/build/_modules/usage/usage.data-service.js +1 -1
- package/build/_modules/usage/usage.data-service.js.map +1 -1
- package/build/_services/base/api.service-base.d.ts +3 -1
- package/build/_services/base/api.service-base.d.ts.map +1 -1
- package/build/_services/base/api.service-base.js +10 -5
- package/build/_services/base/api.service-base.js.map +1 -1
- package/build/_services/base/archive-data.service.d.ts.map +1 -1
- package/build/_services/base/archive-data.service.js +2 -2
- package/build/_services/base/archive-data.service.js.map +1 -1
- package/build/_services/base/db.service.d.ts +1 -1
- package/build/_services/base/db.service.d.ts.map +1 -1
- package/build/_services/base/db.service.js +11 -11
- package/build/_services/base/db.service.js.map +1 -1
- package/build/_services/base/singleton.service-base.d.ts +3 -1
- package/build/_services/base/singleton.service-base.d.ts.map +1 -1
- package/build/_services/base/singleton.service-base.js +8 -3
- package/build/_services/base/singleton.service-base.js.map +1 -1
- package/build/_services/core/api.service.d.ts.map +1 -1
- package/build/_services/core/api.service.js.map +1 -1
- package/build/_services/core/auth.service.d.ts +21 -1
- package/build/_services/core/auth.service.d.ts.map +1 -1
- package/build/_services/core/auth.service.js +34 -0
- package/build/_services/core/auth.service.js.map +1 -1
- package/build/_services/core/collection-growth-monitor.service.d.ts +1 -1
- package/build/_services/core/collection-growth-monitor.service.d.ts.map +1 -1
- package/build/_services/core/collection-growth-monitor.service.js +7 -5
- package/build/_services/core/collection-growth-monitor.service.js.map +1 -1
- package/build/_services/core/db-stats.service.d.ts.map +1 -1
- package/build/_services/core/db-stats.service.js.map +1 -1
- package/build/_services/core/diagnostics.service.d.ts.map +1 -1
- package/build/_services/core/diagnostics.service.js.map +1 -1
- package/build/_services/core/email.service.d.ts.map +1 -1
- package/build/_services/core/email.service.js.map +1 -1
- package/build/_services/core/event-loop-diag.service.d.ts +1 -1
- package/build/_services/core/event-loop-diag.service.d.ts.map +1 -1
- package/build/_services/core/event-loop-diag.service.js +4 -4
- package/build/_services/core/event-loop-diag.service.js.map +1 -1
- package/build/_services/core/global.service.d.ts.map +1 -1
- package/build/_services/core/global.service.js.map +1 -1
- package/build/_services/core/memory-guard.service.d.ts +2 -2
- package/build/_services/core/memory-guard.service.d.ts.map +1 -1
- package/build/_services/core/memory-guard.service.js +20 -14
- package/build/_services/core/memory-guard.service.js.map +1 -1
- package/build/_services/core/migration-runner.service.d.ts.map +1 -1
- package/build/_services/core/migration-runner.service.js.map +1 -1
- package/build/_services/core/request-hunter.service.d.ts.map +1 -1
- package/build/_services/core/request-hunter.service.js.map +1 -1
- package/build/_services/server/app.server.d.ts +20 -5
- package/build/_services/server/app.server.d.ts.map +1 -1
- package/build/_services/server/app.server.js +37 -3
- package/build/_services/server/app.server.js.map +1 -1
- package/build/index.d.ts.map +1 -1
- package/build/index.js.map +1 -1
- package/package.json +15 -6
|
@@ -0,0 +1,311 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DyNTS_OperationExecutor_ControlService = void 0;
|
|
4
|
+
const node_crypto_1 = require("node:crypto");
|
|
5
|
+
const node_perf_hooks_1 = require("node:perf_hooks");
|
|
6
|
+
/**
|
|
7
|
+
* One visible, single-use execution lifecycle. It owns renewal/cancellation observation, timers and provider abort.
|
|
8
|
+
* Work MUST cooperate with AbortSignal. Non-drained work remains visible; a host must retire that worker process.
|
|
9
|
+
* Mongo operations also require bounded connection/driver timeouts; shutdown never pretends a hung call drained.
|
|
10
|
+
*/
|
|
11
|
+
class DyNTS_OperationExecutor_ControlService {
|
|
12
|
+
settings;
|
|
13
|
+
workAbort = new AbortController();
|
|
14
|
+
heartbeatAbort = new AbortController();
|
|
15
|
+
timers = new Set();
|
|
16
|
+
graceTimers = new Set();
|
|
17
|
+
isStarted = false;
|
|
18
|
+
isRunning = false;
|
|
19
|
+
isClosed = false;
|
|
20
|
+
isWorkDrained = true;
|
|
21
|
+
activeStoreCalls = 0;
|
|
22
|
+
stopCode;
|
|
23
|
+
identity;
|
|
24
|
+
fencingToken;
|
|
25
|
+
lastReceipt = null;
|
|
26
|
+
leaseTimer;
|
|
27
|
+
completion;
|
|
28
|
+
workCompletion;
|
|
29
|
+
/** Requires direct Bedrock storage, explicit finite budgets and a server-owned opaque instance identity. */
|
|
30
|
+
constructor(settings) {
|
|
31
|
+
DyNTS_OperationExecutor_ControlService.assertSettings(settings);
|
|
32
|
+
this.settings = Object.freeze({ ...settings });
|
|
33
|
+
}
|
|
34
|
+
/** Shared host composition validates the exact same executor budgets before admitting any work. */
|
|
35
|
+
static assertSettings(settings) {
|
|
36
|
+
if (!settings?.store || !/^[0-9a-f]{64}$/u.test(settings.ownerId)
|
|
37
|
+
|| ![settings.leaseDurationMs, settings.heartbeatIntervalMs, settings.maxRunTimeMs,
|
|
38
|
+
settings.shutdownGraceMs].every((value) => Number.isSafeInteger(value) && value > 0 && value <= 2_147_483_647)
|
|
39
|
+
|| settings.heartbeatIntervalMs * 3 > settings.leaseDurationMs) {
|
|
40
|
+
throw new Error('DyNTS|OPERATION_EXECUTOR|INVALID_SETTINGS');
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
/** Starts exactly once; every acquire/renew request has a fresh identity, never an old acquire replay. */
|
|
44
|
+
run(execution) {
|
|
45
|
+
if (this.isStarted || this.isClosed) {
|
|
46
|
+
throw new Error('DyNTS|OPERATION_EXECUTOR|CLOSED');
|
|
47
|
+
}
|
|
48
|
+
if (!execution || !/^[0-9a-f]{64}$/u.test(execution.scopeHash)
|
|
49
|
+
|| !/^[0-9a-f]{64}$/u.test(execution.operationId) || typeof execution.work !== 'function'
|
|
50
|
+
|| (execution.recovery !== undefined && execution.recovery !== 'forbid-redispatch'
|
|
51
|
+
&& execution.recovery !== 'allow-idempotent-replay')) {
|
|
52
|
+
throw new Error('DyNTS|OPERATION_EXECUTOR|INVALID_EXECUTION');
|
|
53
|
+
}
|
|
54
|
+
this.isStarted = true;
|
|
55
|
+
this.isRunning = true;
|
|
56
|
+
this.identity = Object.freeze({ ...execution });
|
|
57
|
+
this.completion = this.execute();
|
|
58
|
+
return this.completion;
|
|
59
|
+
}
|
|
60
|
+
/** Abort local work, then wait only the configured grace. False means the host MUST NOT declare shutdown complete. */
|
|
61
|
+
async shutdown() {
|
|
62
|
+
this.isClosed = true;
|
|
63
|
+
this.stop('shutdown');
|
|
64
|
+
const tasks = [];
|
|
65
|
+
if (this.completion) {
|
|
66
|
+
tasks.push(this.completion);
|
|
67
|
+
}
|
|
68
|
+
if (this.workCompletion) {
|
|
69
|
+
tasks.push(this.workCompletion);
|
|
70
|
+
}
|
|
71
|
+
await this.waitGrace(Promise.all(tasks));
|
|
72
|
+
return !this.isRunning && this.isWorkDrained && this.activeStoreCalls === 0;
|
|
73
|
+
}
|
|
74
|
+
/** Exposes unsettled work and database operations without raw reasons, payloads, errors or environment details. */
|
|
75
|
+
getStatus() {
|
|
76
|
+
return Object.freeze({
|
|
77
|
+
isRunning: this.isRunning, isClosed: this.isClosed, isWorkDrained: this.isWorkDrained,
|
|
78
|
+
activeStoreCalls: this.activeStoreCalls, activeTimers: this.timers.size + this.graceTimers.size,
|
|
79
|
+
});
|
|
80
|
+
}
|
|
81
|
+
async execute() {
|
|
82
|
+
this.schedule(() => this.stop('timed-out'), this.settings.maxRunTimeMs);
|
|
83
|
+
let code = 'store-failed';
|
|
84
|
+
let isTerminalCommitted = false;
|
|
85
|
+
try {
|
|
86
|
+
code = await this.acquireAndWork();
|
|
87
|
+
isTerminalCommitted = this.lastReceipt?.decision.accepted && this.lastReceipt.decision.code === 'completed';
|
|
88
|
+
}
|
|
89
|
+
catch (error) {
|
|
90
|
+
this.stopForStoreError(error);
|
|
91
|
+
code = this.stopCode ?? 'store-failed';
|
|
92
|
+
}
|
|
93
|
+
finally {
|
|
94
|
+
this.heartbeatAbort.abort();
|
|
95
|
+
if (!isTerminalCommitted) {
|
|
96
|
+
this.stop(code);
|
|
97
|
+
if (this.workCompletion && !this.isWorkDrained) {
|
|
98
|
+
await this.waitGrace(this.workCompletion);
|
|
99
|
+
}
|
|
100
|
+
// Uncooperative work keeps its lease until expiry; no optimistic release or automatic redispatch.
|
|
101
|
+
if (this.fencingToken !== undefined && this.isWorkDrained) {
|
|
102
|
+
try {
|
|
103
|
+
await this.call(this.command('abandon'));
|
|
104
|
+
}
|
|
105
|
+
catch (error) {
|
|
106
|
+
if (!(error instanceof Error && ['DyNTS|OPERATION_STORE|RETIRED',
|
|
107
|
+
'DyNTS|OPERATION_STORE|NOT_REGISTERED'].includes(error.message))) {
|
|
108
|
+
code = 'store-failed';
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
for (const timer of this.timers) {
|
|
114
|
+
clearTimeout(timer);
|
|
115
|
+
}
|
|
116
|
+
this.timers.clear();
|
|
117
|
+
this.isRunning = false;
|
|
118
|
+
this.isClosed = true;
|
|
119
|
+
this.identity = undefined;
|
|
120
|
+
if (this.isWorkDrained) {
|
|
121
|
+
this.workCompletion = undefined;
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
return this.result(code);
|
|
125
|
+
}
|
|
126
|
+
async acquireAndWork() {
|
|
127
|
+
const acquired = await this.call(this.command('acquire'));
|
|
128
|
+
if (!acquired.decision.accepted || acquired.decision.code !== 'acquired') {
|
|
129
|
+
return acquired.decision.record?.state === 'cancelled' ? 'cancelled' : 'not-acquired';
|
|
130
|
+
}
|
|
131
|
+
this.fencingToken = acquired.decision.record.fencingToken;
|
|
132
|
+
const isRecovery = acquired.previousRecord !== null;
|
|
133
|
+
if (isRecovery && this.identity.recovery !== 'allow-idempotent-replay') {
|
|
134
|
+
return 'recovery-required';
|
|
135
|
+
}
|
|
136
|
+
if (this.workAbort.signal.aborted || !await this.renew()) {
|
|
137
|
+
return this.stopCode ?? 'lease-lost';
|
|
138
|
+
}
|
|
139
|
+
this.isWorkDrained = false;
|
|
140
|
+
this.workCompletion = Promise.resolve().then(async () => {
|
|
141
|
+
if (this.workAbort.signal.aborted) {
|
|
142
|
+
return { outcome: 'failed' };
|
|
143
|
+
}
|
|
144
|
+
try {
|
|
145
|
+
const value = await this.identity.work(Object.freeze({
|
|
146
|
+
signal: this.workAbort.signal, fencingToken: this.fencingToken, isRecovery: isRecovery,
|
|
147
|
+
}));
|
|
148
|
+
return value?.outcome === 'succeeded' || value?.outcome === 'failed' ? value : { outcome: 'failed' };
|
|
149
|
+
}
|
|
150
|
+
catch {
|
|
151
|
+
return { outcome: 'failed' };
|
|
152
|
+
}
|
|
153
|
+
}).finally(() => {
|
|
154
|
+
this.isWorkDrained = true;
|
|
155
|
+
if (this.isClosed) {
|
|
156
|
+
this.workCompletion = undefined;
|
|
157
|
+
}
|
|
158
|
+
});
|
|
159
|
+
const heartbeat = this.heartbeat();
|
|
160
|
+
try {
|
|
161
|
+
const work = await this.waitWork();
|
|
162
|
+
this.heartbeatAbort.abort();
|
|
163
|
+
await heartbeat;
|
|
164
|
+
if (this.workAbort.signal.aborted || work === null) {
|
|
165
|
+
return this.stopCode ?? 'lease-lost';
|
|
166
|
+
}
|
|
167
|
+
// Cancellation versus completion is decided by the durable transaction, never by the local signal alone.
|
|
168
|
+
const completed = await this.call(this.command('complete', work.outcome), work);
|
|
169
|
+
return completed.decision.accepted && completed.decision.code === 'completed' ? work.outcome
|
|
170
|
+
: completed.decision.record?.state === 'cancelled' ? 'cancelled' : 'lease-lost';
|
|
171
|
+
}
|
|
172
|
+
finally {
|
|
173
|
+
this.heartbeatAbort.abort();
|
|
174
|
+
await heartbeat;
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
async renew() {
|
|
178
|
+
const startedAt = node_perf_hooks_1.performance.now();
|
|
179
|
+
const receipt = await this.call(this.command('renew'));
|
|
180
|
+
if (!receipt.decision.accepted || receipt.decision.code !== 'renewed') {
|
|
181
|
+
this.stop(receipt.decision.record?.state === 'cancelled' ? 'cancelled' : 'lease-lost');
|
|
182
|
+
return false;
|
|
183
|
+
}
|
|
184
|
+
// Request START, not response arrival: transport latency must never extend local permission to run work.
|
|
185
|
+
const remainingMs = receipt.decision.record.leaseExpiresAtMs - receipt.decidedAtMs
|
|
186
|
+
- (node_perf_hooks_1.performance.now() - startedAt);
|
|
187
|
+
if (this.leaseTimer) {
|
|
188
|
+
clearTimeout(this.leaseTimer);
|
|
189
|
+
this.timers.delete(this.leaseTimer);
|
|
190
|
+
}
|
|
191
|
+
if (remainingMs <= 0) {
|
|
192
|
+
this.stop('lease-lost');
|
|
193
|
+
return false;
|
|
194
|
+
}
|
|
195
|
+
this.leaseTimer = this.schedule(() => this.stop('lease-lost'), remainingMs);
|
|
196
|
+
return !this.workAbort.signal.aborted;
|
|
197
|
+
}
|
|
198
|
+
async heartbeat() {
|
|
199
|
+
try {
|
|
200
|
+
while (!this.heartbeatAbort.signal.aborted && !this.workAbort.signal.aborted) {
|
|
201
|
+
await this.waitInterval();
|
|
202
|
+
if (this.heartbeatAbort.signal.aborted || this.workAbort.signal.aborted || !await this.renew()) {
|
|
203
|
+
return;
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
}
|
|
207
|
+
catch (error) {
|
|
208
|
+
this.stopForStoreError(error);
|
|
209
|
+
}
|
|
210
|
+
}
|
|
211
|
+
async waitInterval() {
|
|
212
|
+
await new Promise((resolve) => {
|
|
213
|
+
/** Releases both cancellation listeners on either abort or elapsed interval. */
|
|
214
|
+
const finish = () => {
|
|
215
|
+
clearTimeout(timer);
|
|
216
|
+
this.timers.delete(timer);
|
|
217
|
+
this.heartbeatAbort.signal.removeEventListener('abort', finish);
|
|
218
|
+
this.workAbort.signal.removeEventListener('abort', finish);
|
|
219
|
+
resolve();
|
|
220
|
+
};
|
|
221
|
+
const timer = this.schedule(finish, this.settings.heartbeatIntervalMs);
|
|
222
|
+
this.heartbeatAbort.signal.addEventListener('abort', finish, { once: true });
|
|
223
|
+
this.workAbort.signal.addEventListener('abort', finish, { once: true });
|
|
224
|
+
if (this.heartbeatAbort.signal.aborted || this.workAbort.signal.aborted) {
|
|
225
|
+
finish();
|
|
226
|
+
}
|
|
227
|
+
});
|
|
228
|
+
}
|
|
229
|
+
async waitWork() {
|
|
230
|
+
let onAbort;
|
|
231
|
+
const aborted = new Promise((resolve) => {
|
|
232
|
+
onAbort = () => resolve(null);
|
|
233
|
+
this.workAbort.signal.addEventListener('abort', onAbort, { once: true });
|
|
234
|
+
if (this.workAbort.signal.aborted) {
|
|
235
|
+
onAbort();
|
|
236
|
+
}
|
|
237
|
+
});
|
|
238
|
+
try {
|
|
239
|
+
return await Promise.race([this.workCompletion, aborted]);
|
|
240
|
+
}
|
|
241
|
+
finally {
|
|
242
|
+
this.workAbort.signal.removeEventListener('abort', onAbort);
|
|
243
|
+
}
|
|
244
|
+
}
|
|
245
|
+
async waitGrace(task) {
|
|
246
|
+
let timer;
|
|
247
|
+
const elapsed = new Promise((resolve) => {
|
|
248
|
+
timer = setTimeout(resolve, this.settings.shutdownGraceMs);
|
|
249
|
+
this.graceTimers.add(timer);
|
|
250
|
+
});
|
|
251
|
+
try {
|
|
252
|
+
await Promise.race([task, elapsed]);
|
|
253
|
+
}
|
|
254
|
+
finally {
|
|
255
|
+
clearTimeout(timer);
|
|
256
|
+
this.graceTimers.delete(timer);
|
|
257
|
+
}
|
|
258
|
+
}
|
|
259
|
+
stopForStoreError(error) {
|
|
260
|
+
this.stop(error instanceof Error && error.message === 'DyNTS|OPERATION_STORE|RETIRED' ? 'retired'
|
|
261
|
+
: error instanceof Error && error.message === 'DyNTS|OPERATION_STORE|NOT_REGISTERED'
|
|
262
|
+
? 'lease-lost' : 'store-failed');
|
|
263
|
+
}
|
|
264
|
+
stop(code) {
|
|
265
|
+
if (!this.stopCode) {
|
|
266
|
+
this.stopCode = code;
|
|
267
|
+
this.workAbort.abort();
|
|
268
|
+
}
|
|
269
|
+
}
|
|
270
|
+
schedule(callback, durationMs) {
|
|
271
|
+
const timer = setTimeout(() => {
|
|
272
|
+
this.timers.delete(timer);
|
|
273
|
+
callback();
|
|
274
|
+
}, Math.max(1, Math.floor(durationMs)));
|
|
275
|
+
this.timers.add(timer);
|
|
276
|
+
return timer;
|
|
277
|
+
}
|
|
278
|
+
command(kind, outcome) {
|
|
279
|
+
const base = {
|
|
280
|
+
contractVersion: 'dyfm-operation-command/1', scopeHash: this.identity.scopeHash,
|
|
281
|
+
operationId: this.identity.operationId,
|
|
282
|
+
requestId: (0, node_crypto_1.createHash)('sha256').update((0, node_crypto_1.randomUUID)()).digest('hex'), ownerId: this.settings.ownerId,
|
|
283
|
+
};
|
|
284
|
+
switch (kind) {
|
|
285
|
+
case 'acquire': return { ...base, kind: kind, leaseDurationMs: this.settings.leaseDurationMs };
|
|
286
|
+
case 'renew': return { ...base, kind: kind, fencingToken: this.fencingToken,
|
|
287
|
+
leaseDurationMs: this.settings.leaseDurationMs };
|
|
288
|
+
case 'complete': return { ...base, kind: kind, fencingToken: this.fencingToken, outcome: outcome };
|
|
289
|
+
case 'abandon': return { ...base, kind: kind, fencingToken: this.fencingToken };
|
|
290
|
+
}
|
|
291
|
+
}
|
|
292
|
+
async call(command, work) {
|
|
293
|
+
this.activeStoreCalls += 1;
|
|
294
|
+
try {
|
|
295
|
+
const receipt = await this.settings.store.execute(command, work?.publication);
|
|
296
|
+
this.lastReceipt = receipt;
|
|
297
|
+
return receipt;
|
|
298
|
+
}
|
|
299
|
+
finally {
|
|
300
|
+
this.activeStoreCalls -= 1;
|
|
301
|
+
}
|
|
302
|
+
}
|
|
303
|
+
result(code) {
|
|
304
|
+
return Object.freeze({
|
|
305
|
+
contractVersion: 'dynts-operation-execution/1', code: code,
|
|
306
|
+
isWorkDrained: this.isWorkDrained, receipt: this.lastReceipt,
|
|
307
|
+
});
|
|
308
|
+
}
|
|
309
|
+
}
|
|
310
|
+
exports.DyNTS_OperationExecutor_ControlService = DyNTS_OperationExecutor_ControlService;
|
|
311
|
+
//# sourceMappingURL=operation-executor.control-service.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"operation-executor.control-service.js","sourceRoot":"","sources":["../../../src/_modules/operation-control/operation-executor.control-service.ts"],"names":[],"mappings":";;;AAAA,6CAAqD;AACrD,qDAA8C;AAc9C;;;;GAIG;AACH,MAAa,sCAAsC;IAChC,QAAQ,CAA4C;IACpD,SAAS,GAAoB,IAAI,eAAe,EAAE,CAAC;IACnD,cAAc,GAAoB,IAAI,eAAe,EAAE,CAAC;IACxD,MAAM,GAAuC,IAAI,GAAG,EAAE,CAAC;IACvD,WAAW,GAAuC,IAAI,GAAG,EAAE,CAAC;IACrE,SAAS,GAAY,KAAK,CAAC;IAC3B,SAAS,GAAY,KAAK,CAAC;IAC3B,QAAQ,GAAY,KAAK,CAAC;IAC1B,aAAa,GAAY,IAAI,CAAC;IAC9B,gBAAgB,GAAW,CAAC,CAAC;IAC7B,QAAQ,CAAyC;IACjD,QAAQ,CAAsC;IAC9C,YAAY,CAAU;IACtB,WAAW,GAA4C,IAAI,CAAC;IAC5D,UAAU,CAAiC;IAC3C,UAAU,CAAqD;IAC/D,cAAc,CAAgD;IAEtE,4GAA4G;IAC5G,YAAY,QAAmD;QAC7D,sCAAsC,CAAC,cAAc,CAAC,QAAQ,CAAC,CAAC;QAChE,IAAI,CAAC,QAAQ,GAAG,MAAM,CAAC,MAAM,CAAC,EAAE,GAAG,QAAQ,EAAE,CAAC,CAAC;IACjD,CAAC;IAED,mGAAmG;IAC5F,MAAM,CAAC,cAAc,CAAC,QAAmD;QAC9E,IAAI,CAAC,QAAQ,EAAE,KAAK,IAAI,CAAC,iBAAiB,CAAC,IAAI,CAAC,QAAQ,CAAC,OAAO,CAAC;eAC5D,CAAC,CAAE,QAAQ,CAAC,eAAe,EAAE,QAAQ,CAAC,mBAAmB,EAAE,QAAQ,CAAC,YAAY;gBACjF,QAAQ,CAAC,eAAe,CAAE,CAAC,KAAK,CAAC,CAAC,KAAa,EAAW,EAAE,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C;IAEO,KAAK,CAAC,IAAI,CAChB,OAAmC,EACnC,IAA0C;QAE1C,IAAI,CAAC,gBAAgB,IAAI,CAAC,CAAC;QAC3B,IAAI,CAAC;YACH,MAAM,OAAO,GAAqC,MAAM,IAAI,CAAC,QAAQ,CAAC,KAAK,CAAC,OAAO,CAAC,OAAO,EAAE,IAAI,EAAE,WAAW,CAAC,CAAC;YAEhH,IAAI,CAAC,WAAW,GAAG,OAAO,CAAC;YAE3B,OAAO,OAAO,CAAC;QACjB,CAAC;gBAAS,CAAC;YACT,IAAI,CAAC,gBAAgB,IAAI,CAAC,CAAC;QAC7B,CAAC;IACH,CAAC;IAEO,MAAM,CAAC,IAA2C;QACxD,OAAO,MAAM,CAAC,MAAM,CAAC;YACnB,eAAe,EAAE,6BAA6B,EAAE,IAAI,EAAE,IAAI;YAC1D,aAAa,EAAE,IAAI,CAAC,aAAa,EAAE,OAAO,EAAE,IAAI,CAAC,WAAW;SAC7D,CAAC,CAAC;IACL,CAAC;CACF;AA9VD,wFA8VC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { DyNTS_OperationExecution_Interface, DyNTS_OperationExecutionResult_Interface } from './_models/operation-executor.interface';
|
|
2
|
+
import { DyNTS_OperationHostSettings_Interface, DyNTS_OperationHostShutdown_Interface, DyNTS_OperationHostStatus_Interface } from './_models/operation-host.interface';
|
|
3
|
+
/**
|
|
4
|
+
* Bounded process-local ownership of the concrete Bedrock executors. No registration, authorization or replay policy
|
|
5
|
+
* is invented here. Shutdown closes admission first and signals every executor before waiting for any of them.
|
|
6
|
+
* A non-cooperative operation remains visible and closes admission; the caller must terminate/reconcile its worker.
|
|
7
|
+
*/
|
|
8
|
+
export declare class DyNTS_OperationHost_ControlService {
|
|
9
|
+
private readonly settings;
|
|
10
|
+
private readonly operations;
|
|
11
|
+
private isClosed;
|
|
12
|
+
private activeShutdownCalls;
|
|
13
|
+
private shutdownCompletion?;
|
|
14
|
+
/** Requires a concrete store and explicit finite admission/executor limits. No timers are started here. */
|
|
15
|
+
constructor(settings: DyNTS_OperationHostSettings_Interface);
|
|
16
|
+
/** Reserves capacity synchronously, including against reentrant work/store callbacks. Never queues or retries. */
|
|
17
|
+
run(execution: DyNTS_OperationExecution_Interface): Promise<DyNTS_OperationExecutionResult_Interface>;
|
|
18
|
+
/** Concurrent callers share one drain. An incomplete drain can be measured again, but admission never reopens. */
|
|
19
|
+
shutdown(): Promise<DyNTS_OperationHostShutdown_Interface>;
|
|
20
|
+
/** A snapshot of all owned resources, including completed executions whose work has not actually settled. */
|
|
21
|
+
getStatus(): DyNTS_OperationHostStatus_Interface;
|
|
22
|
+
private drain;
|
|
23
|
+
private prune;
|
|
24
|
+
}
|
|
25
|
+
//# sourceMappingURL=operation-host.control-service.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"operation-host.control-service.d.ts","sourceRoot":"","sources":["../../../src/_modules/operation-control/operation-host.control-service.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,kCAAkC,EAClC,wCAAwC,EAEzC,MAAM,wCAAwC,CAAC;AAChD,OAAO,EACL,qCAAqC,EACrC,qCAAqC,EACrC,mCAAmC,EACpC,MAAM,oCAAoC,CAAC;AAG5C;;;;GAIG;AACH,qBAAa,kCAAkC;IAC7C,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAwC;IACjE,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAkE;IAC7F,OAAO,CAAC,QAAQ,CAAkB;IAClC,OAAO,CAAC,mBAAmB,CAAa;IACxC,OAAO,CAAC,kBAAkB,CAAC,CAAiD;IAE5E,2GAA2G;gBAC/F,QAAQ,EAAE,qCAAqC;IAS3D,kHAAkH;IAC3G,GAAG,CAAC,SAAS,EAAE,kCAAkC,GAAG,OAAO,CAAC,wCAAwC,CAAC;IA0D5G,kHAAkH;IAC3G,QAAQ,IAAI,OAAO,CAAC,qCAAqC,CAAC;IAcjE,6GAA6G;IACtG,SAAS,IAAI,mCAAmC;YAsBzC,KAAK;IAuBnB,OAAO,CAAC,KAAK;CAWd"}
|
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DyNTS_OperationHost_ControlService = void 0;
|
|
4
|
+
const operation_executor_control_service_1 = require("./operation-executor.control-service");
|
|
5
|
+
/**
|
|
6
|
+
* Bounded process-local ownership of the concrete Bedrock executors. No registration, authorization or replay policy
|
|
7
|
+
* is invented here. Shutdown closes admission first and signals every executor before waiting for any of them.
|
|
8
|
+
* A non-cooperative operation remains visible and closes admission; the caller must terminate/reconcile its worker.
|
|
9
|
+
*/
|
|
10
|
+
class DyNTS_OperationHost_ControlService {
|
|
11
|
+
settings;
|
|
12
|
+
operations = new Map();
|
|
13
|
+
isClosed = false;
|
|
14
|
+
activeShutdownCalls = 0;
|
|
15
|
+
shutdownCompletion;
|
|
16
|
+
/** Requires a concrete store and explicit finite admission/executor limits. No timers are started here. */
|
|
17
|
+
constructor(settings) {
|
|
18
|
+
operation_executor_control_service_1.DyNTS_OperationExecutor_ControlService.assertSettings(settings);
|
|
19
|
+
if (!Number.isSafeInteger(settings.maxActiveOperations) || settings.maxActiveOperations <= 0) {
|
|
20
|
+
throw new Error('DyNTS|OPERATION_HOST|INVALID_SETTINGS');
|
|
21
|
+
}
|
|
22
|
+
this.settings = Object.freeze({ ...settings });
|
|
23
|
+
}
|
|
24
|
+
/** Reserves capacity synchronously, including against reentrant work/store callbacks. Never queues or retries. */
|
|
25
|
+
run(execution) {
|
|
26
|
+
let snapshot;
|
|
27
|
+
try {
|
|
28
|
+
snapshot = {
|
|
29
|
+
scopeHash: execution?.scopeHash, operationId: execution?.operationId,
|
|
30
|
+
work: execution?.work, recovery: execution?.recovery,
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
catch {
|
|
34
|
+
throw new Error('DyNTS|OPERATION_HOST|INVALID_EXECUTION');
|
|
35
|
+
}
|
|
36
|
+
if (typeof snapshot.scopeHash !== 'string' || !/^[0-9a-f]{64}$/u.test(snapshot.scopeHash)
|
|
37
|
+
|| typeof snapshot.operationId !== 'string' || !/^[0-9a-f]{64}$/u.test(snapshot.operationId)) {
|
|
38
|
+
throw new Error('DyNTS|OPERATION_HOST|INVALID_EXECUTION');
|
|
39
|
+
}
|
|
40
|
+
this.prune();
|
|
41
|
+
if (this.isClosed) {
|
|
42
|
+
throw new Error('DyNTS|OPERATION_HOST|CLOSED');
|
|
43
|
+
}
|
|
44
|
+
const key = `${snapshot.scopeHash}:${snapshot.operationId}`;
|
|
45
|
+
if (this.operations.has(key)) {
|
|
46
|
+
throw new Error('DyNTS|OPERATION_HOST|ALREADY_ACTIVE');
|
|
47
|
+
}
|
|
48
|
+
if (this.operations.size >= this.settings.maxActiveOperations) {
|
|
49
|
+
throw new Error('DyNTS|OPERATION_HOST|CAPACITY_EXCEEDED');
|
|
50
|
+
}
|
|
51
|
+
const executor = new operation_executor_control_service_1.DyNTS_OperationExecutor_ControlService(this.settings);
|
|
52
|
+
this.operations.set(key, executor);
|
|
53
|
+
let completion;
|
|
54
|
+
try {
|
|
55
|
+
completion = executor.run(snapshot);
|
|
56
|
+
}
|
|
57
|
+
catch {
|
|
58
|
+
this.operations.delete(key);
|
|
59
|
+
throw new Error('DyNTS|OPERATION_HOST|INVALID_EXECUTION');
|
|
60
|
+
}
|
|
61
|
+
return completion.then((result) => {
|
|
62
|
+
if (!result.isWorkDrained) {
|
|
63
|
+
this.isClosed = true;
|
|
64
|
+
}
|
|
65
|
+
this.prune();
|
|
66
|
+
return result;
|
|
67
|
+
}, () => {
|
|
68
|
+
this.isClosed = true;
|
|
69
|
+
throw new Error('DyNTS|OPERATION_HOST|EXECUTION_FAILED');
|
|
70
|
+
});
|
|
71
|
+
}
|
|
72
|
+
/** Concurrent callers share one drain. An incomplete drain can be measured again, but admission never reopens. */
|
|
73
|
+
shutdown() {
|
|
74
|
+
this.isClosed = true;
|
|
75
|
+
if (!this.shutdownCompletion) {
|
|
76
|
+
// Defer signaling until the promise is assigned: an abort listener may synchronously call shutdown again.
|
|
77
|
+
this.shutdownCompletion = Promise.resolve().then(() => this.drain()).finally(() => {
|
|
78
|
+
this.shutdownCompletion = undefined;
|
|
79
|
+
});
|
|
80
|
+
}
|
|
81
|
+
return this.shutdownCompletion;
|
|
82
|
+
}
|
|
83
|
+
/** A snapshot of all owned resources, including completed executions whose work has not actually settled. */
|
|
84
|
+
getStatus() {
|
|
85
|
+
this.prune();
|
|
86
|
+
let undrainedWorkCount = 0;
|
|
87
|
+
let activeStoreCalls = 0;
|
|
88
|
+
let activeTimers = 0;
|
|
89
|
+
for (const executor of this.operations.values()) {
|
|
90
|
+
const status = executor.getStatus();
|
|
91
|
+
undrainedWorkCount += status.isWorkDrained ? 0 : 1;
|
|
92
|
+
activeStoreCalls += status.activeStoreCalls;
|
|
93
|
+
activeTimers += status.activeTimers;
|
|
94
|
+
}
|
|
95
|
+
return Object.freeze({
|
|
96
|
+
contractVersion: 'dynts-operation-host-status/1', isClosed: this.isClosed,
|
|
97
|
+
isDrained: this.operations.size === 0 && this.activeShutdownCalls === 0,
|
|
98
|
+
activeOperationCount: this.operations.size, undrainedWorkCount: undrainedWorkCount,
|
|
99
|
+
activeStoreCalls: activeStoreCalls, activeTimers: activeTimers, activeShutdownCalls: this.activeShutdownCalls,
|
|
100
|
+
});
|
|
101
|
+
}
|
|
102
|
+
async drain() {
|
|
103
|
+
this.prune();
|
|
104
|
+
const results = await Promise.allSettled(Array.from(this.operations.values(), async (executor) => {
|
|
105
|
+
this.activeShutdownCalls += 1;
|
|
106
|
+
try {
|
|
107
|
+
return await executor.shutdown();
|
|
108
|
+
}
|
|
109
|
+
finally {
|
|
110
|
+
this.activeShutdownCalls -= 1;
|
|
111
|
+
}
|
|
112
|
+
}));
|
|
113
|
+
const failedShutdownCount = results.filter((result) => result.status === 'rejected').length;
|
|
114
|
+
const status = this.getStatus();
|
|
115
|
+
return Object.freeze({
|
|
116
|
+
...status, contractVersion: 'dynts-operation-host-shutdown/1', failedShutdownCount: failedShutdownCount,
|
|
117
|
+
isShutdownComplete: status.isDrained && failedShutdownCount === 0,
|
|
118
|
+
});
|
|
119
|
+
}
|
|
120
|
+
prune() {
|
|
121
|
+
for (const entry of this.operations) {
|
|
122
|
+
const [key, executor] = entry;
|
|
123
|
+
const status = executor.getStatus();
|
|
124
|
+
if (status.isClosed && !status.isRunning && status.isWorkDrained
|
|
125
|
+
&& status.activeStoreCalls === 0 && status.activeTimers === 0) {
|
|
126
|
+
this.operations.delete(key);
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
exports.DyNTS_OperationHost_ControlService = DyNTS_OperationHost_ControlService;
|
|
132
|
+
//# sourceMappingURL=operation-host.control-service.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"operation-host.control-service.js","sourceRoot":"","sources":["../../../src/_modules/operation-control/operation-host.control-service.ts"],"names":[],"mappings":";;;AAUA,6FAA8F;AAE9F;;;;GAIG;AACH,MAAa,kCAAkC;IAC5B,QAAQ,CAAwC;IAChD,UAAU,GAAwD,IAAI,GAAG,EAAE,CAAC;IACrF,QAAQ,GAAY,KAAK,CAAC;IAC1B,mBAAmB,GAAW,CAAC,CAAC;IAChC,kBAAkB,CAAkD;IAE5E,2GAA2G;IAC3G,YAAY,QAA+C;QACzD,2EAAsC,CAAC,cAAc,CAAC,QAAQ,CAAC,CAAC;QAEhE,IAAI,CAAC,MAAM,CAAC,aAAa,CAAC,QAAQ,CAAC,mBAAmB,CAAC,IAAI,QAAQ,CAAC,mBAAmB,IAAI,CAAC,EAAE,CAAC;YAC7F,MAAM,IAAI,KAAK,CAAC,uCAAuC,CAAC,CAAC;QAC3D,CAAC;QACD,IAAI,CAAC,QAAQ,GAAG,MAAM,CAAC,MAAM,CAAC,EAAE,GAAG,QAAQ,EAAE,CAAC,CAAC;IACjD,CAAC;IAED,kHAAkH;IAC3G,GA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AC,CACH,CAAC;QACF,MAAM,mBAAmB,GAAW,OAAO,CAAC,MAAM,CAAC,CAAC,MAAqC,EAAW,EAAE,CACpG,MAAM,CAAC,MAAM,KAAK,UAAU,CAAC,CAAC,MAAM,CAAC;QACvC,MAAM,MAAM,GAAwC,IAAI,CAAC,SAAS,EAAE,CAAC;QAErE,OAAO,MAAM,CAAC,MAAM,CAAC;YACnB,GAAG,MAAM,EAAE,eAAe,EAAE,iCAAiC,EAAE,mBAAmB,EAAE,mBAAmB;YACvG,kBAAkB,EAAE,MAAM,CAAC,SAAS,IAAI,mBAAmB,KAAK,CAAC;SAClE,CAAC,CAAC;IACL,CAAC;IAEO,KAAK;QACX,KAAK,MAAM,KAAK,IAAI,IAAI,CAAC,UAAU,EAAE,CAAC;YACpC,MAAM,CAAE,GAAG,EAAE,QAAQ,CAAE,GAAqD,KAAK,CAAC;YAClF,MAAM,MAAM,GAA4C,QAAQ,CAAC,SAAS,EAAE,CAAC;YAE7E,IAAI,MAAM,CAAC,QAAQ,IAAI,CAAC,MAAM,CAAC,SAAS,IAAI,MAAM,CAAC,aAAa;mBAC3D,MAAM,CAAC,gBAAgB,KAAK,CAAC,IAAI,MAAM,CAAC,YAAY,KAAK,CAAC,EAAE,CAAC;gBAChE,IAAI,CAAC,UAAU,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC;YAC9B,CAAC;QACH,CAAC;IACH,CAAC;CACF;AApJD,gFAoJC"}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { ClientSession } from 'mongoose';
|
|
2
|
+
import { DyFM_OperationRecord_Interface } from '@futdevpro/fsm-dynamo/operation-control';
|
|
3
|
+
import { DyNTS_OperationErasure_Interface, DyNTS_OperationIdentity_Interface, DyNTS_OperationPublication_Interface, DyNTS_OperationReceipt_Interface, DyNTS_OperationRetirement_Interface, DyNTS_OperationStoreSettings_Interface } from './_models/operation-store.interface';
|
|
4
|
+
/**
|
|
5
|
+
* Replica-set Mongo operation store. One identity row serializes ALL decisions, including denials and exact replay.
|
|
6
|
+
* Dispatch never creates identities. Explicit random registration makes retired identity erasure non-resurrectable.
|
|
7
|
+
*/
|
|
8
|
+
export declare class DyNTS_Operation_MongoStore {
|
|
9
|
+
private readonly settings;
|
|
10
|
+
private readonly transactions;
|
|
11
|
+
private readiness?;
|
|
12
|
+
/** Uses the same connection for transaction sessions and collections. issuer is the authenticated account ID. */
|
|
13
|
+
constructor(settings: DyNTS_OperationStoreSettings_Interface);
|
|
14
|
+
/** Creates collections before transactions; primary-key uniqueness covers identity and exact command replay. */
|
|
15
|
+
ensureReady(): Promise<void>;
|
|
16
|
+
/**
|
|
17
|
+
* Mint a NEW random operation identity. Persist the product's identity mapping in this SAME owning transaction.
|
|
18
|
+
* Never call registration as a fallback from execute/not-found. Caller authorization remains outside this primitive.
|
|
19
|
+
*/
|
|
20
|
+
register(scopeHash: string, session: ClientSession): Promise<DyNTS_OperationIdentity_Interface>;
|
|
21
|
+
/**
|
|
22
|
+
* Close authority without deleting evidence. Commit the product's no-new-work/privacy barrier in the SAME session.
|
|
23
|
+
* Retirement is irreversible and idempotent. It is distinct from ordinary cancellation and ends receipt replay.
|
|
24
|
+
*/
|
|
25
|
+
retire(identity: DyNTS_OperationIdentity_Interface, session: ClientSession): Promise<DyNTS_OperationRetirement_Interface | null>;
|
|
26
|
+
/**
|
|
27
|
+
* Erase at most batchSize receipts, then the retired identity after its last issued lease expires (DB time).
|
|
28
|
+
* Caller owns verified erasure/retention policy and must update its product mapping in this SAME transaction.
|
|
29
|
+
* No anonymous/forever tombstone remains; stale requests cannot recreate a deleted registration.
|
|
30
|
+
*/
|
|
31
|
+
eraseRetired(identity: DyNTS_OperationIdentity_Interface, batchSize: number, session: ClientSession): Promise<DyNTS_OperationErasure_Interface>;
|
|
32
|
+
/**
|
|
33
|
+
* Commits the exact original decision or returns its historical receipt. A different command/publication conflicts.
|
|
34
|
+
* No provider/network work belongs in publication.write; only same-session database changes can be made atomic.
|
|
35
|
+
*/
|
|
36
|
+
execute(commandValue: unknown, publication?: DyNTS_OperationPublication_Interface): Promise<DyNTS_OperationReceipt_Interface>;
|
|
37
|
+
/** Majority primary snapshot only; callers must use execute for fenced publication, not trust a read as a lease. */
|
|
38
|
+
observe(identity: DyNTS_OperationIdentity_Interface): Promise<DyFM_OperationRecord_Interface | null>;
|
|
39
|
+
private executeTransaction;
|
|
40
|
+
private applyAtBoundary;
|
|
41
|
+
private parseDocument;
|
|
42
|
+
private parseReceipt;
|
|
43
|
+
private identityKey;
|
|
44
|
+
private isTime;
|
|
45
|
+
private leaseValidator;
|
|
46
|
+
private lifecycle;
|
|
47
|
+
private isHash;
|
|
48
|
+
private isMongoCode;
|
|
49
|
+
private leases;
|
|
50
|
+
private receipts;
|
|
51
|
+
}
|
|
52
|
+
//# sourceMappingURL=operation.mongo-store.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"operation.mongo-store.d.ts","sourceRoot":"","sources":["../../../src/_modules/operation-control/operation.mongo-store.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,aAAa,EAAS,MAAM,UAAU,CAAC;AAEhD,OAAO,EAIL,8BAA8B,EAC/B,MAAM,yCAAyC,CAAC;AAIjD,OAAO,EACL,gCAAgC,EAChC,iCAAiC,EACjC,oCAAoC,EACpC,gCAAgC,EAChC,mCAAmC,EACnC,sCAAsC,EACvC,MAAM,qCAAqC,CAAC;AAiB7C;;;GAGG;AACH,qBAAa,0BAA0B;IACrC,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAyC;IAClE,OAAO,CAAC,QAAQ,CAAC,YAAY,CAAwC;IACrE,OAAO,CAAC,SAAS,CAAC,CAAgB;IAElC,iHAAiH;gBACrG,QAAQ,EAAE,sCAAsC;IAqB5D,gHAAgH;IACnG,WAAW,IAAI,OAAO,CAAC,IAAI,CAAC;IAuCzC;;;OAGG;IACU,QAAQ,CAAC,SAAS,EAAE,MAAM,EAAE,OAAO,EAAE,aAAa,GAAG,OAAO,CAAC,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