@agentlang/agentmanager 0.0.3 → 0.0.4
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/apps/monolith/apps/agentcraft/src/agentcraft-core.module.d.ts +4 -0
- package/dist/apps/monolith/apps/agentcraft/src/agentcraft-core.module.js +49 -0
- package/dist/apps/monolith/apps/agentcraft/src/agentcraft-core.module.js.map +1 -0
- package/dist/apps/monolith/apps/agentcraft/src/architect/architect.controller.d.ts +17 -0
- package/dist/apps/monolith/apps/agentcraft/src/architect/architect.controller.js +87 -0
- package/dist/apps/monolith/apps/agentcraft/src/architect/architect.controller.js.map +1 -0
- package/dist/apps/monolith/apps/agentcraft/src/architect/architect.module.d.ts +2 -0
- package/dist/apps/monolith/apps/agentcraft/src/architect/architect.module.js +24 -0
- package/dist/apps/monolith/apps/agentcraft/src/architect/architect.module.js.map +1 -0
- package/dist/apps/monolith/apps/agentcraft/src/architect/architect.service.d.ts +34 -0
- package/dist/apps/monolith/apps/agentcraft/src/architect/architect.service.js +170 -0
- package/dist/apps/monolith/apps/agentcraft/src/architect/architect.service.js.map +1 -0
- package/dist/apps/monolith/apps/agentcraft/src/architect/architect.store.d.ts +25 -0
- package/dist/apps/monolith/apps/agentcraft/src/architect/architect.store.js +50 -0
- package/dist/apps/monolith/apps/agentcraft/src/architect/architect.store.js.map +1 -0
- package/dist/apps/monolith/apps/agentcraft/src/architect/dto/ingest-signal.dto.d.ts +40 -0
- package/dist/apps/monolith/apps/agentcraft/src/architect/dto/ingest-signal.dto.js +24 -0
- package/dist/apps/monolith/apps/agentcraft/src/architect/dto/ingest-signal.dto.js.map +1 -0
- package/dist/apps/monolith/apps/agentcraft/src/architect/interfaces/architect.interfaces.d.ts +21 -0
- package/dist/apps/monolith/apps/agentcraft/src/architect/interfaces/architect.interfaces.js +3 -0
- package/dist/apps/monolith/apps/agentcraft/src/architect/interfaces/architect.interfaces.js.map +1 -0
- package/dist/apps/monolith/apps/agentcraft/src/autonomous/autonomous.controller.d.ts +17 -0
- package/dist/apps/monolith/apps/agentcraft/src/autonomous/autonomous.controller.js +117 -0
- package/dist/apps/monolith/apps/agentcraft/src/autonomous/autonomous.controller.js.map +1 -0
- package/dist/apps/monolith/apps/agentcraft/src/autonomous/autonomous.module.d.ts +2 -0
- package/dist/apps/monolith/apps/agentcraft/src/autonomous/autonomous.module.js +22 -0
- package/dist/apps/monolith/apps/agentcraft/src/autonomous/autonomous.module.js.map +1 -0
- package/dist/apps/monolith/apps/agentcraft/src/autonomous/autonomous.service.d.ts +48 -0
- package/dist/apps/monolith/apps/agentcraft/src/autonomous/autonomous.service.js +121 -0
- package/dist/apps/monolith/apps/agentcraft/src/autonomous/autonomous.service.js.map +1 -0
- package/dist/apps/monolith/apps/agentcraft/src/autonomous/dto/run-autonomous.dto.d.ts +26 -0
- package/dist/apps/monolith/apps/agentcraft/src/autonomous/dto/run-autonomous.dto.js +20 -0
- package/dist/apps/monolith/apps/agentcraft/src/autonomous/dto/run-autonomous.dto.js.map +1 -0
- package/dist/apps/monolith/apps/agentcraft/src/autonomous/dto/watch-kb.dto.d.ts +18 -0
- package/dist/apps/monolith/apps/agentcraft/src/autonomous/dto/watch-kb.dto.js +20 -0
- package/dist/apps/monolith/apps/agentcraft/src/autonomous/dto/watch-kb.dto.js.map +1 -0
- package/dist/apps/monolith/apps/agentcraft/src/health/health.controller.d.ts +7 -0
- package/dist/apps/monolith/apps/agentcraft/src/health/health.controller.js +41 -0
- package/dist/apps/monolith/apps/agentcraft/src/health/health.controller.js.map +1 -0
- package/dist/apps/monolith/apps/agentcraft/src/health/health.module.d.ts +2 -0
- package/dist/apps/monolith/apps/agentcraft/src/health/health.module.js +22 -0
- package/dist/apps/monolith/apps/agentcraft/src/health/health.module.js.map +1 -0
- package/dist/apps/monolith/apps/agentcraft/src/resolver/dto/create-resolver.dto.d.ts +22 -0
- package/dist/apps/monolith/apps/agentcraft/src/resolver/dto/create-resolver.dto.js +18 -0
- package/dist/apps/monolith/apps/agentcraft/src/resolver/dto/create-resolver.dto.js.map +1 -0
- package/dist/apps/monolith/apps/agentcraft/src/resolver/dto/install-registry.dto.d.ts +14 -0
- package/dist/apps/monolith/apps/agentcraft/src/resolver/dto/install-registry.dto.js +14 -0
- package/dist/apps/monolith/apps/agentcraft/src/resolver/dto/install-registry.dto.js.map +1 -0
- package/dist/apps/monolith/apps/agentcraft/src/resolver/dto/search-registry-query.dto.d.ts +10 -0
- package/dist/apps/monolith/apps/agentcraft/src/resolver/dto/search-registry-query.dto.js +12 -0
- package/dist/apps/monolith/apps/agentcraft/src/resolver/dto/search-registry-query.dto.js.map +1 -0
- package/dist/apps/monolith/apps/agentcraft/src/resolver/dto/submit-action.dto.d.ts +1 -0
- package/dist/apps/monolith/apps/agentcraft/src/resolver/dto/submit-action.dto.js +7 -0
- package/dist/apps/monolith/apps/agentcraft/src/resolver/dto/submit-action.dto.js.map +1 -0
- package/dist/apps/monolith/apps/agentcraft/src/resolver/resolver-session.store.d.ts +19 -0
- package/dist/apps/monolith/apps/agentcraft/src/resolver/resolver-session.store.js +39 -0
- package/dist/apps/monolith/apps/agentcraft/src/resolver/resolver-session.store.js.map +1 -0
- package/dist/apps/monolith/apps/agentcraft/src/resolver/resolver.controller.d.ts +36 -0
- package/dist/apps/monolith/apps/agentcraft/src/resolver/resolver.controller.js +121 -0
- package/dist/apps/monolith/apps/agentcraft/src/resolver/resolver.controller.js.map +1 -0
- package/dist/apps/monolith/apps/agentcraft/src/resolver/resolver.module.d.ts +2 -0
- package/dist/apps/monolith/apps/agentcraft/src/resolver/resolver.module.js +23 -0
- package/dist/apps/monolith/apps/agentcraft/src/resolver/resolver.module.js.map +1 -0
- package/dist/apps/monolith/apps/agentcraft/src/resolver/resolver.service.d.ts +42 -0
- package/dist/apps/monolith/apps/agentcraft/src/resolver/resolver.service.js +101 -0
- package/dist/apps/monolith/apps/agentcraft/src/resolver/resolver.service.js.map +1 -0
- package/dist/apps/monolith/apps/agentcraft/src/sessions/dto/create-session.dto.d.ts +18 -0
- package/dist/apps/monolith/apps/agentcraft/src/sessions/dto/create-session.dto.js +16 -0
- package/dist/apps/monolith/apps/agentcraft/src/sessions/dto/create-session.dto.js.map +1 -0
- package/dist/apps/monolith/apps/agentcraft/src/sessions/dto/submit-action.dto.d.ts +1 -0
- package/dist/apps/monolith/apps/agentcraft/src/sessions/dto/submit-action.dto.js +7 -0
- package/dist/apps/monolith/apps/agentcraft/src/sessions/dto/submit-action.dto.js.map +1 -0
- package/dist/apps/monolith/apps/agentcraft/src/sessions/dto/submit-idea.dto.d.ts +10 -0
- package/dist/apps/monolith/apps/agentcraft/src/sessions/dto/submit-idea.dto.js +12 -0
- package/dist/apps/monolith/apps/agentcraft/src/sessions/dto/submit-idea.dto.js.map +1 -0
- package/dist/apps/monolith/apps/agentcraft/src/sessions/session.store.d.ts +19 -0
- package/dist/apps/monolith/apps/agentcraft/src/sessions/session.store.js +39 -0
- package/dist/apps/monolith/apps/agentcraft/src/sessions/session.store.js.map +1 -0
- package/dist/apps/monolith/apps/agentcraft/src/sessions/sessions.controller.d.ts +47 -0
- package/dist/apps/monolith/apps/agentcraft/src/sessions/sessions.controller.js +139 -0
- package/dist/apps/monolith/apps/agentcraft/src/sessions/sessions.controller.js.map +1 -0
- package/dist/apps/monolith/apps/agentcraft/src/sessions/sessions.module.d.ts +2 -0
- package/dist/apps/monolith/apps/agentcraft/src/sessions/sessions.module.js +23 -0
- package/dist/apps/monolith/apps/agentcraft/src/sessions/sessions.module.js.map +1 -0
- package/dist/apps/monolith/apps/agentcraft/src/sessions/sessions.service.d.ts +60 -0
- package/dist/apps/monolith/apps/agentcraft/src/sessions/sessions.service.js +203 -0
- package/dist/apps/monolith/apps/agentcraft/src/sessions/sessions.service.js.map +1 -0
- package/dist/apps/monolith/apps/agentmanager/src/agentmanager-core.module.d.ts +4 -0
- package/dist/apps/monolith/apps/agentmanager/src/agentmanager-core.module.js +54 -0
- package/dist/apps/monolith/apps/agentmanager/src/agentmanager-core.module.js.map +1 -0
- package/dist/apps/monolith/apps/agentmanager/src/deployments/deployments.controller.d.ts +9 -0
- package/dist/apps/monolith/apps/agentmanager/src/deployments/deployments.controller.js +50 -0
- package/dist/apps/monolith/apps/agentmanager/src/deployments/deployments.controller.js.map +1 -0
- package/dist/apps/monolith/apps/agentmanager/src/deployments/deployments.module.d.ts +2 -0
- package/dist/apps/monolith/apps/agentmanager/src/deployments/deployments.module.js +23 -0
- package/dist/apps/monolith/apps/agentmanager/src/deployments/deployments.module.js.map +1 -0
- package/dist/apps/monolith/apps/agentmanager/src/deployments/deployments.service.d.ts +17 -0
- package/dist/apps/monolith/apps/agentmanager/src/deployments/deployments.service.js +169 -0
- package/dist/apps/monolith/apps/agentmanager/src/deployments/deployments.service.js.map +1 -0
- package/dist/apps/monolith/apps/agentmanager/src/deployments/errors/deployment.errors.d.ts +7 -0
- package/dist/apps/monolith/apps/agentmanager/src/deployments/errors/deployment.errors.js +17 -0
- package/dist/apps/monolith/apps/agentmanager/src/deployments/errors/deployment.errors.js.map +1 -0
- package/dist/apps/monolith/apps/agentmanager/src/deployments/interfaces/deployment.interfaces.d.ts +22 -0
- package/dist/apps/monolith/apps/agentmanager/src/deployments/interfaces/deployment.interfaces.js +3 -0
- package/dist/apps/monolith/apps/agentmanager/src/deployments/interfaces/deployment.interfaces.js.map +1 -0
- package/dist/apps/monolith/apps/agentmanager/src/discovery/discovery.controller.d.ts +7 -0
- package/dist/apps/monolith/apps/agentmanager/src/discovery/discovery.controller.js +41 -0
- package/dist/apps/monolith/apps/agentmanager/src/discovery/discovery.controller.js.map +1 -0
- package/dist/apps/monolith/apps/agentmanager/src/discovery/discovery.module.d.ts +2 -0
- package/dist/apps/monolith/apps/agentmanager/src/discovery/discovery.module.js +41 -0
- package/dist/apps/monolith/apps/agentmanager/src/discovery/discovery.module.js.map +1 -0
- package/dist/apps/monolith/apps/agentmanager/src/discovery/discovery.service.d.ts +17 -0
- package/dist/apps/monolith/apps/agentmanager/src/discovery/discovery.service.js +160 -0
- package/dist/apps/monolith/apps/agentmanager/src/discovery/discovery.service.js.map +1 -0
- package/dist/apps/monolith/apps/agentmanager/src/discovery/dto/discover.dto.d.ts +10 -0
- package/dist/apps/monolith/apps/agentmanager/src/discovery/dto/discover.dto.js +12 -0
- package/dist/apps/monolith/apps/agentmanager/src/discovery/dto/discover.dto.js.map +1 -0
- package/dist/apps/monolith/apps/agentmanager/src/discovery/interfaces/discovery.interfaces.d.ts +21 -0
- package/dist/apps/monolith/apps/agentmanager/src/discovery/interfaces/discovery.interfaces.js +3 -0
- package/dist/apps/monolith/apps/agentmanager/src/discovery/interfaces/discovery.interfaces.js.map +1 -0
- package/dist/apps/monolith/apps/agentmanager/src/discovery/llm/anthropic-llm.service.d.ts +8 -0
- package/dist/apps/monolith/apps/agentmanager/src/discovery/llm/anthropic-llm.service.js +67 -0
- package/dist/apps/monolith/apps/agentmanager/src/discovery/llm/anthropic-llm.service.js.map +1 -0
- package/dist/apps/monolith/apps/agentmanager/src/discovery/llm/llm-provider.interface.d.ts +14 -0
- package/dist/apps/monolith/apps/agentmanager/src/discovery/llm/llm-provider.interface.js +5 -0
- package/dist/apps/monolith/apps/agentmanager/src/discovery/llm/llm-provider.interface.js.map +1 -0
- package/dist/apps/monolith/apps/agentmanager/src/discovery/llm/llm.errors.d.ts +4 -0
- package/dist/apps/monolith/apps/agentmanager/src/discovery/llm/llm.errors.js +11 -0
- package/dist/apps/monolith/apps/agentmanager/src/discovery/llm/llm.errors.js.map +1 -0
- package/dist/apps/monolith/apps/agentmanager/src/discovery/llm/openai-llm.service.d.ts +8 -0
- package/dist/apps/monolith/apps/agentmanager/src/discovery/llm/openai-llm.service.js +69 -0
- package/dist/apps/monolith/apps/agentmanager/src/discovery/llm/openai-llm.service.js.map +1 -0
- package/dist/apps/monolith/apps/agentmanager/src/employee-code/dto/put-config.dto.d.ts +10 -0
- package/dist/apps/monolith/apps/agentmanager/src/employee-code/dto/put-config.dto.js +12 -0
- package/dist/apps/monolith/apps/agentmanager/src/employee-code/dto/put-config.dto.js.map +1 -0
- package/dist/apps/monolith/apps/agentmanager/src/employee-code/dto/put-module.dto.d.ts +10 -0
- package/dist/apps/monolith/apps/agentmanager/src/employee-code/dto/put-module.dto.js +12 -0
- package/dist/apps/monolith/apps/agentmanager/src/employee-code/dto/put-module.dto.js.map +1 -0
- package/dist/apps/monolith/apps/agentmanager/src/employee-code/dto/put-package.dto.d.ts +16 -0
- package/dist/apps/monolith/apps/agentmanager/src/employee-code/dto/put-package.dto.js +17 -0
- package/dist/apps/monolith/apps/agentmanager/src/employee-code/dto/put-package.dto.js.map +1 -0
- package/dist/apps/monolith/apps/agentmanager/src/employee-code/employee-code.controller.d.ts +20 -0
- package/dist/apps/monolith/apps/agentmanager/src/employee-code/employee-code.controller.js +130 -0
- package/dist/apps/monolith/apps/agentmanager/src/employee-code/employee-code.controller.js.map +1 -0
- package/dist/apps/monolith/apps/agentmanager/src/employee-code/employee-code.module.d.ts +2 -0
- package/dist/apps/monolith/apps/agentmanager/src/employee-code/employee-code.module.js +23 -0
- package/dist/apps/monolith/apps/agentmanager/src/employee-code/employee-code.module.js.map +1 -0
- package/dist/apps/monolith/apps/agentmanager/src/employee-code/employee-code.service.d.ts +13 -0
- package/dist/apps/monolith/apps/agentmanager/src/employee-code/employee-code.service.js +54 -0
- package/dist/apps/monolith/apps/agentmanager/src/employee-code/employee-code.service.js.map +1 -0
- package/dist/apps/monolith/apps/agentmanager/src/employees/dto/register-employee.dto.d.ts +12 -0
- package/dist/apps/monolith/apps/agentmanager/src/employees/dto/register-employee.dto.js +13 -0
- package/dist/apps/monolith/apps/agentmanager/src/employees/dto/register-employee.dto.js.map +1 -0
- package/dist/apps/monolith/apps/agentmanager/src/employees/employees.controller.d.ts +12 -0
- package/dist/apps/monolith/apps/agentmanager/src/employees/employees.controller.js +76 -0
- package/dist/apps/monolith/apps/agentmanager/src/employees/employees.controller.js.map +1 -0
- package/dist/apps/monolith/apps/agentmanager/src/employees/employees.module.d.ts +2 -0
- package/dist/apps/monolith/apps/agentmanager/src/employees/employees.module.js +23 -0
- package/dist/apps/monolith/apps/agentmanager/src/employees/employees.module.js.map +1 -0
- package/dist/apps/monolith/apps/agentmanager/src/employees/employees.service.d.ts +9 -0
- package/dist/apps/monolith/apps/agentmanager/src/employees/employees.service.js +42 -0
- package/dist/apps/monolith/apps/agentmanager/src/employees/employees.service.js.map +1 -0
- package/dist/apps/monolith/apps/agentmanager/src/health/health.controller.d.ts +7 -0
- package/dist/apps/monolith/apps/agentmanager/src/health/health.controller.js +41 -0
- package/dist/apps/monolith/apps/agentmanager/src/health/health.controller.js.map +1 -0
- package/dist/apps/monolith/apps/agentmanager/src/health/health.module.d.ts +2 -0
- package/dist/apps/monolith/apps/agentmanager/src/health/health.module.js +22 -0
- package/dist/apps/monolith/apps/agentmanager/src/health/health.module.js.map +1 -0
- package/dist/apps/monolith/apps/agentmanager/src/inbox/dto/list-messages-query.dto.d.ts +30 -0
- package/dist/apps/monolith/apps/agentmanager/src/inbox/dto/list-messages-query.dto.js +14 -0
- package/dist/apps/monolith/apps/agentmanager/src/inbox/dto/list-messages-query.dto.js.map +1 -0
- package/dist/apps/monolith/apps/agentmanager/src/inbox/dto/push-message.dto.d.ts +80 -0
- package/dist/apps/monolith/apps/agentmanager/src/inbox/dto/push-message.dto.js +49 -0
- package/dist/apps/monolith/apps/agentmanager/src/inbox/dto/push-message.dto.js.map +1 -0
- package/dist/apps/monolith/apps/agentmanager/src/inbox/dto/respond-message.dto.d.ts +12 -0
- package/dist/apps/monolith/apps/agentmanager/src/inbox/dto/respond-message.dto.js +13 -0
- package/dist/apps/monolith/apps/agentmanager/src/inbox/dto/respond-message.dto.js.map +1 -0
- package/dist/apps/monolith/apps/agentmanager/src/inbox/inbox.controller.d.ts +15 -0
- package/dist/apps/monolith/apps/agentmanager/src/inbox/inbox.controller.js +103 -0
- package/dist/apps/monolith/apps/agentmanager/src/inbox/inbox.controller.js.map +1 -0
- package/dist/apps/monolith/apps/agentmanager/src/inbox/inbox.module.d.ts +2 -0
- package/dist/apps/monolith/apps/agentmanager/src/inbox/inbox.module.js +23 -0
- package/dist/apps/monolith/apps/agentmanager/src/inbox/inbox.module.js.map +1 -0
- package/dist/apps/monolith/apps/agentmanager/src/inbox/inbox.service.d.ts +16 -0
- package/dist/apps/monolith/apps/agentmanager/src/inbox/inbox.service.js +173 -0
- package/dist/apps/monolith/apps/agentmanager/src/inbox/inbox.service.js.map +1 -0
- package/dist/apps/monolith/apps/agentmanager/src/projects/dto/create-project.dto.d.ts +14 -0
- package/dist/apps/monolith/apps/agentmanager/src/projects/dto/create-project.dto.js +14 -0
- package/dist/apps/monolith/apps/agentmanager/src/projects/dto/create-project.dto.js.map +1 -0
- package/dist/apps/monolith/apps/agentmanager/src/projects/projects.controller.d.ts +17 -0
- package/dist/apps/monolith/apps/agentmanager/src/projects/projects.controller.js +73 -0
- package/dist/apps/monolith/apps/agentmanager/src/projects/projects.controller.js.map +1 -0
- package/dist/apps/monolith/apps/agentmanager/src/projects/projects.module.d.ts +2 -0
- package/dist/apps/monolith/apps/agentmanager/src/projects/projects.module.js +23 -0
- package/dist/apps/monolith/apps/agentmanager/src/projects/projects.module.js.map +1 -0
- package/dist/apps/monolith/apps/agentmanager/src/projects/projects.service.d.ts +11 -0
- package/dist/apps/monolith/apps/agentmanager/src/projects/projects.service.js +39 -0
- package/dist/apps/monolith/apps/agentmanager/src/projects/projects.service.js.map +1 -0
- package/dist/apps/monolith/apps/fabric/src/ai-agent/ai-agent.module.d.ts +2 -0
- package/dist/apps/monolith/apps/fabric/src/ai-agent/ai-agent.module.js +82 -0
- package/dist/apps/monolith/apps/fabric/src/ai-agent/ai-agent.module.js.map +1 -0
- package/dist/apps/monolith/apps/fabric/src/ai-agent/ai-agent.service.d.ts +63 -0
- package/dist/apps/monolith/apps/fabric/src/ai-agent/ai-agent.service.js +295 -0
- package/dist/apps/monolith/apps/fabric/src/ai-agent/ai-agent.service.js.map +1 -0
- package/dist/apps/monolith/apps/fabric/src/ai-agent/probe-investigation.types.d.ts +19 -0
- package/dist/apps/monolith/apps/fabric/src/ai-agent/probe-investigation.types.js +3 -0
- package/dist/apps/monolith/apps/fabric/src/ai-agent/probe-investigation.types.js.map +1 -0
- package/dist/apps/monolith/apps/fabric/src/auth/current-user.decorator.d.ts +2 -0
- package/dist/apps/monolith/apps/fabric/src/auth/current-user.decorator.js +11 -0
- package/dist/apps/monolith/apps/fabric/src/auth/current-user.decorator.js.map +1 -0
- package/dist/apps/monolith/apps/fabric/src/auth/request-user.d.ts +4 -0
- package/dist/apps/monolith/apps/fabric/src/auth/request-user.js +3 -0
- package/dist/apps/monolith/apps/fabric/src/auth/request-user.js.map +1 -0
- package/dist/apps/monolith/apps/fabric/src/config/configuration.d.ts +57 -0
- package/dist/apps/monolith/apps/fabric/src/config/configuration.js +185 -0
- package/dist/apps/monolith/apps/fabric/src/config/configuration.js.map +1 -0
- package/dist/apps/monolith/apps/fabric/src/database/entities/deployment-event.entity.d.ts +11 -0
- package/dist/apps/monolith/apps/fabric/src/database/entities/deployment-event.entity.js +67 -0
- package/dist/apps/monolith/apps/fabric/src/database/entities/deployment-event.entity.js.map +1 -0
- package/dist/apps/monolith/apps/fabric/src/database/entities/environment.entity.d.ts +9 -0
- package/dist/apps/monolith/apps/fabric/src/database/entities/environment.entity.js +55 -0
- package/dist/apps/monolith/apps/fabric/src/database/entities/environment.entity.js.map +1 -0
- package/dist/apps/monolith/apps/fabric/src/database/entities/index.d.ts +8 -0
- package/dist/apps/monolith/apps/fabric/src/database/entities/index.js +24 -0
- package/dist/apps/monolith/apps/fabric/src/database/entities/index.js.map +1 -0
- package/dist/apps/monolith/apps/fabric/src/database/entities/project.entity.d.ts +9 -0
- package/dist/apps/monolith/apps/fabric/src/database/entities/project.entity.js +55 -0
- package/dist/apps/monolith/apps/fabric/src/database/entities/project.entity.js.map +1 -0
- package/dist/apps/monolith/apps/fabric/src/database/entities/runtime.entity.d.ts +19 -0
- package/dist/apps/monolith/apps/fabric/src/database/entities/runtime.entity.js +105 -0
- package/dist/apps/monolith/apps/fabric/src/database/entities/runtime.entity.js.map +1 -0
- package/dist/apps/monolith/apps/fabric/src/database/entities/user-config.entity.d.ts +8 -0
- package/dist/apps/monolith/apps/fabric/src/database/entities/user-config.entity.js +50 -0
- package/dist/apps/monolith/apps/fabric/src/database/entities/user-config.entity.js.map +1 -0
- package/dist/apps/monolith/apps/fabric/src/database/entities/version.entity.d.ts +8 -0
- package/dist/apps/monolith/apps/fabric/src/database/entities/version.entity.js +50 -0
- package/dist/apps/monolith/apps/fabric/src/database/entities/version.entity.js.map +1 -0
- package/dist/apps/monolith/apps/fabric/src/deployment-events/deployment-events.controller.d.ts +8 -0
- package/dist/apps/monolith/apps/fabric/src/deployment-events/deployment-events.controller.js +49 -0
- package/dist/apps/monolith/apps/fabric/src/deployment-events/deployment-events.controller.js.map +1 -0
- package/dist/apps/monolith/apps/fabric/src/deployment-events/deployment-events.module.d.ts +2 -0
- package/dist/apps/monolith/apps/fabric/src/deployment-events/deployment-events.module.js +24 -0
- package/dist/apps/monolith/apps/fabric/src/deployment-events/deployment-events.module.js.map +1 -0
- package/dist/apps/monolith/apps/fabric/src/deployment-events/deployment-events.service.d.ts +25 -0
- package/dist/apps/monolith/apps/fabric/src/deployment-events/deployment-events.service.js +50 -0
- package/dist/apps/monolith/apps/fabric/src/deployment-events/deployment-events.service.js.map +1 -0
- package/dist/apps/monolith/apps/fabric/src/deployment-events/deployment-events.store.d.ts +28 -0
- package/dist/apps/monolith/apps/fabric/src/deployment-events/deployment-events.store.js +132 -0
- package/dist/apps/monolith/apps/fabric/src/deployment-events/deployment-events.store.js.map +1 -0
- package/dist/apps/monolith/apps/fabric/src/deployment-events/deployment-events.types.d.ts +12 -0
- package/dist/apps/monolith/apps/fabric/src/deployment-events/deployment-events.types.js +3 -0
- package/dist/apps/monolith/apps/fabric/src/deployment-events/deployment-events.types.js.map +1 -0
- package/dist/apps/monolith/apps/fabric/src/employees/dto/deploy.dto.d.ts +124 -0
- package/dist/apps/monolith/apps/fabric/src/employees/dto/deploy.dto.js +62 -0
- package/dist/apps/monolith/apps/fabric/src/employees/dto/deploy.dto.js.map +1 -0
- package/dist/apps/monolith/apps/fabric/src/employees/employees.controller.d.ts +38 -0
- package/dist/apps/monolith/apps/fabric/src/employees/employees.controller.js +222 -0
- package/dist/apps/monolith/apps/fabric/src/employees/employees.controller.js.map +1 -0
- package/dist/apps/monolith/apps/fabric/src/employees/employees.module.d.ts +2 -0
- package/dist/apps/monolith/apps/fabric/src/employees/employees.module.js +45 -0
- package/dist/apps/monolith/apps/fabric/src/employees/employees.module.js.map +1 -0
- package/dist/apps/monolith/apps/fabric/src/employees/employees.service.d.ts +81 -0
- package/dist/apps/monolith/apps/fabric/src/employees/employees.service.js +952 -0
- package/dist/apps/monolith/apps/fabric/src/employees/employees.service.js.map +1 -0
- package/dist/apps/monolith/apps/fabric/src/employees/employees.types.d.ts +43 -0
- package/dist/apps/monolith/apps/fabric/src/employees/employees.types.js +12 -0
- package/dist/apps/monolith/apps/fabric/src/employees/employees.types.js.map +1 -0
- package/dist/apps/monolith/apps/fabric/src/employees/errors/employee-deployment.errors.d.ts +25 -0
- package/dist/apps/monolith/apps/fabric/src/employees/errors/employee-deployment.errors.js +54 -0
- package/dist/apps/monolith/apps/fabric/src/employees/errors/employee-deployment.errors.js.map +1 -0
- package/dist/apps/monolith/apps/fabric/src/employees/runtime.store.d.ts +52 -0
- package/dist/apps/monolith/apps/fabric/src/employees/runtime.store.js +222 -0
- package/dist/apps/monolith/apps/fabric/src/employees/runtime.store.js.map +1 -0
- package/dist/apps/monolith/apps/fabric/src/environments/dto/environment.dto.d.ts +48 -0
- package/dist/apps/monolith/apps/fabric/src/environments/dto/environment.dto.js +25 -0
- package/dist/apps/monolith/apps/fabric/src/environments/dto/environment.dto.js.map +1 -0
- package/dist/apps/monolith/apps/fabric/src/environments/environments.controller.d.ts +13 -0
- package/dist/apps/monolith/apps/fabric/src/environments/environments.controller.js +82 -0
- package/dist/apps/monolith/apps/fabric/src/environments/environments.controller.js.map +1 -0
- package/dist/apps/monolith/apps/fabric/src/environments/environments.module.d.ts +2 -0
- package/dist/apps/monolith/apps/fabric/src/environments/environments.module.js +24 -0
- package/dist/apps/monolith/apps/fabric/src/environments/environments.module.js.map +1 -0
- package/dist/apps/monolith/apps/fabric/src/environments/environments.service.d.ts +24 -0
- package/dist/apps/monolith/apps/fabric/src/environments/environments.service.js +82 -0
- package/dist/apps/monolith/apps/fabric/src/environments/environments.service.js.map +1 -0
- package/dist/apps/monolith/apps/fabric/src/environments/environments.store.d.ts +22 -0
- package/dist/apps/monolith/apps/fabric/src/environments/environments.store.js +131 -0
- package/dist/apps/monolith/apps/fabric/src/environments/environments.store.js.map +1 -0
- package/dist/apps/monolith/apps/fabric/src/environments/environments.types.d.ts +10 -0
- package/dist/apps/monolith/apps/fabric/src/environments/environments.types.js +3 -0
- package/dist/apps/monolith/apps/fabric/src/environments/environments.types.js.map +1 -0
- package/dist/apps/monolith/apps/fabric/src/environments/errors/environment.errors.d.ts +7 -0
- package/dist/apps/monolith/apps/fabric/src/environments/errors/environment.errors.js +18 -0
- package/dist/apps/monolith/apps/fabric/src/environments/errors/environment.errors.js.map +1 -0
- package/dist/apps/monolith/apps/fabric/src/fabric-core.module.d.ts +4 -0
- package/dist/apps/monolith/apps/fabric/src/fabric-core.module.js +57 -0
- package/dist/apps/monolith/apps/fabric/src/fabric-core.module.js.map +1 -0
- package/dist/apps/monolith/apps/fabric/src/health/health.controller.d.ts +8 -0
- package/dist/apps/monolith/apps/fabric/src/health/health.controller.js +42 -0
- package/dist/apps/monolith/apps/fabric/src/health/health.controller.js.map +1 -0
- package/dist/apps/monolith/apps/fabric/src/health/health.module.d.ts +2 -0
- package/dist/apps/monolith/apps/fabric/src/health/health.module.js +25 -0
- package/dist/apps/monolith/apps/fabric/src/health/health.module.js.map +1 -0
- package/dist/apps/monolith/apps/fabric/src/health/provider-health.indicator.d.ts +7 -0
- package/dist/apps/monolith/apps/fabric/src/health/provider-health.indicator.js +42 -0
- package/dist/apps/monolith/apps/fabric/src/health/provider-health.indicator.js.map +1 -0
- package/dist/apps/monolith/apps/fabric/src/healthcheck/healthcheck.module.d.ts +2 -0
- package/dist/apps/monolith/apps/fabric/src/healthcheck/healthcheck.module.js +37 -0
- package/dist/apps/monolith/apps/fabric/src/healthcheck/healthcheck.module.js.map +1 -0
- package/dist/apps/monolith/apps/fabric/src/healthcheck/healthcheck.service.d.ts +40 -0
- package/dist/apps/monolith/apps/fabric/src/healthcheck/healthcheck.service.js +392 -0
- package/dist/apps/monolith/apps/fabric/src/healthcheck/healthcheck.service.js.map +1 -0
- package/dist/apps/monolith/apps/fabric/src/logs/logs.module.d.ts +2 -0
- package/dist/apps/monolith/apps/fabric/src/logs/logs.module.js +23 -0
- package/dist/apps/monolith/apps/fabric/src/logs/logs.module.js.map +1 -0
- package/dist/apps/monolith/apps/fabric/src/logs/logs.service.d.ts +22 -0
- package/dist/apps/monolith/apps/fabric/src/logs/logs.service.js +167 -0
- package/dist/apps/monolith/apps/fabric/src/logs/logs.service.js.map +1 -0
- package/dist/apps/monolith/apps/fabric/src/notifications/notifications.module.d.ts +2 -0
- package/dist/apps/monolith/apps/fabric/src/notifications/notifications.module.js +70 -0
- package/dist/apps/monolith/apps/fabric/src/notifications/notifications.module.js.map +1 -0
- package/dist/apps/monolith/apps/fabric/src/notifications/notifications.service.d.ts +35 -0
- package/dist/apps/monolith/apps/fabric/src/notifications/notifications.service.js +122 -0
- package/dist/apps/monolith/apps/fabric/src/notifications/notifications.service.js.map +1 -0
- package/dist/apps/monolith/apps/fabric/src/project-source/errors/project-source.errors.d.ts +4 -0
- package/dist/apps/monolith/apps/fabric/src/project-source/errors/project-source.errors.js +12 -0
- package/dist/apps/monolith/apps/fabric/src/project-source/errors/project-source.errors.js.map +1 -0
- package/dist/apps/monolith/apps/fabric/src/project-source/project-source.module.d.ts +2 -0
- package/dist/apps/monolith/apps/fabric/src/project-source/project-source.module.js +21 -0
- package/dist/apps/monolith/apps/fabric/src/project-source/project-source.module.js.map +1 -0
- package/dist/apps/monolith/apps/fabric/src/project-source/project-source.service.d.ts +12 -0
- package/dist/apps/monolith/apps/fabric/src/project-source/project-source.service.js +79 -0
- package/dist/apps/monolith/apps/fabric/src/project-source/project-source.service.js.map +1 -0
- package/dist/apps/monolith/apps/fabric/src/project-source/project-source.types.d.ts +10 -0
- package/dist/apps/monolith/apps/fabric/src/project-source/project-source.types.js +3 -0
- package/dist/apps/monolith/apps/fabric/src/project-source/project-source.types.js.map +1 -0
- package/dist/apps/monolith/apps/fabric/src/projects/dto/project.dto.d.ts +40 -0
- package/dist/apps/monolith/apps/fabric/src/projects/dto/project.dto.js +28 -0
- package/dist/apps/monolith/apps/fabric/src/projects/dto/project.dto.js.map +1 -0
- package/dist/apps/monolith/apps/fabric/src/projects/errors/project.errors.d.ts +7 -0
- package/dist/apps/monolith/apps/fabric/src/projects/errors/project.errors.js +18 -0
- package/dist/apps/monolith/apps/fabric/src/projects/errors/project.errors.js.map +1 -0
- package/dist/apps/monolith/apps/fabric/src/projects/projects-data.service.d.ts +11 -0
- package/dist/apps/monolith/apps/fabric/src/projects/projects-data.service.js +73 -0
- package/dist/apps/monolith/apps/fabric/src/projects/projects-data.service.js.map +1 -0
- package/dist/apps/monolith/apps/fabric/src/projects/projects.controller.d.ts +23 -0
- package/dist/apps/monolith/apps/fabric/src/projects/projects.controller.js +130 -0
- package/dist/apps/monolith/apps/fabric/src/projects/projects.controller.js.map +1 -0
- package/dist/apps/monolith/apps/fabric/src/projects/projects.module.d.ts +2 -0
- package/dist/apps/monolith/apps/fabric/src/projects/projects.module.js +33 -0
- package/dist/apps/monolith/apps/fabric/src/projects/projects.module.js.map +1 -0
- package/dist/apps/monolith/apps/fabric/src/projects/projects.service.d.ts +39 -0
- package/dist/apps/monolith/apps/fabric/src/projects/projects.service.js +245 -0
- package/dist/apps/monolith/apps/fabric/src/projects/projects.service.js.map +1 -0
- package/dist/apps/monolith/apps/fabric/src/projects/projects.store.d.ts +22 -0
- package/dist/apps/monolith/apps/fabric/src/projects/projects.store.js +130 -0
- package/dist/apps/monolith/apps/fabric/src/projects/projects.store.js.map +1 -0
- package/dist/apps/monolith/apps/fabric/src/projects/projects.types.d.ts +9 -0
- package/dist/apps/monolith/apps/fabric/src/projects/projects.types.js +3 -0
- package/dist/apps/monolith/apps/fabric/src/projects/projects.types.js.map +1 -0
- package/dist/apps/monolith/apps/fabric/src/providers/docker-provider.d.ts +17 -0
- package/dist/apps/monolith/apps/fabric/src/providers/docker-provider.js +128 -0
- package/dist/apps/monolith/apps/fabric/src/providers/docker-provider.js.map +1 -0
- package/dist/apps/monolith/apps/fabric/src/providers/eks-provider.d.ts +24 -0
- package/dist/apps/monolith/apps/fabric/src/providers/eks-provider.js +236 -0
- package/dist/apps/monolith/apps/fabric/src/providers/eks-provider.js.map +1 -0
- package/dist/apps/monolith/apps/fabric/src/providers/pm2-provider.d.ts +22 -0
- package/dist/apps/monolith/apps/fabric/src/providers/pm2-provider.js +177 -0
- package/dist/apps/monolith/apps/fabric/src/providers/pm2-provider.js.map +1 -0
- package/dist/apps/monolith/apps/fabric/src/providers/port-allocator.d.ts +9 -0
- package/dist/apps/monolith/apps/fabric/src/providers/port-allocator.js +62 -0
- package/dist/apps/monolith/apps/fabric/src/providers/port-allocator.js.map +1 -0
- package/dist/apps/monolith/apps/fabric/src/providers/provider-factory.d.ts +10 -0
- package/dist/apps/monolith/apps/fabric/src/providers/provider-factory.js +42 -0
- package/dist/apps/monolith/apps/fabric/src/providers/provider-factory.js.map +1 -0
- package/dist/apps/monolith/apps/fabric/src/providers/provider.interface.d.ts +28 -0
- package/dist/apps/monolith/apps/fabric/src/providers/provider.interface.js +5 -0
- package/dist/apps/monolith/apps/fabric/src/providers/provider.interface.js.map +1 -0
- package/dist/apps/monolith/apps/fabric/src/providers/providers.module.d.ts +2 -0
- package/dist/apps/monolith/apps/fabric/src/providers/providers.module.js +35 -0
- package/dist/apps/monolith/apps/fabric/src/providers/providers.module.js.map +1 -0
- package/dist/apps/monolith/apps/fabric/src/provisioners/cognito-provisioner.service.d.ts +33 -0
- package/dist/apps/monolith/apps/fabric/src/provisioners/cognito-provisioner.service.js +129 -0
- package/dist/apps/monolith/apps/fabric/src/provisioners/cognito-provisioner.service.js.map +1 -0
- package/dist/apps/monolith/apps/fabric/src/provisioners/postgres-provisioner.service.d.ts +36 -0
- package/dist/apps/monolith/apps/fabric/src/provisioners/postgres-provisioner.service.js +107 -0
- package/dist/apps/monolith/apps/fabric/src/provisioners/postgres-provisioner.service.js.map +1 -0
- package/dist/apps/monolith/apps/fabric/src/provisioners/provisioners.module.d.ts +2 -0
- package/dist/apps/monolith/apps/fabric/src/provisioners/provisioners.module.js +82 -0
- package/dist/apps/monolith/apps/fabric/src/provisioners/provisioners.module.js.map +1 -0
- package/dist/apps/monolith/apps/fabric/src/user-config/user-config.module.d.ts +2 -0
- package/dist/apps/monolith/apps/fabric/src/user-config/user-config.module.js +22 -0
- package/dist/apps/monolith/apps/fabric/src/user-config/user-config.module.js.map +1 -0
- package/dist/apps/monolith/apps/fabric/src/user-config/user-config.service.d.ts +17 -0
- package/dist/apps/monolith/apps/fabric/src/user-config/user-config.service.js +57 -0
- package/dist/apps/monolith/apps/fabric/src/user-config/user-config.service.js.map +1 -0
- package/dist/apps/monolith/apps/fabric/src/user-config/user-config.store.d.ts +19 -0
- package/dist/apps/monolith/apps/fabric/src/user-config/user-config.store.js +115 -0
- package/dist/apps/monolith/apps/fabric/src/user-config/user-config.store.js.map +1 -0
- package/dist/apps/monolith/apps/fabric/src/user-config/user-config.types.d.ts +10 -0
- package/dist/apps/monolith/apps/fabric/src/user-config/user-config.types.js +6 -0
- package/dist/apps/monolith/apps/fabric/src/user-config/user-config.types.js.map +1 -0
- package/dist/apps/monolith/apps/fabric/src/versions/versions.controller.d.ts +9 -0
- package/dist/apps/monolith/apps/fabric/src/versions/versions.controller.js +52 -0
- package/dist/apps/monolith/apps/fabric/src/versions/versions.controller.js.map +1 -0
- package/dist/apps/monolith/apps/fabric/src/versions/versions.module.d.ts +2 -0
- package/dist/apps/monolith/apps/fabric/src/versions/versions.module.js +24 -0
- package/dist/apps/monolith/apps/fabric/src/versions/versions.module.js.map +1 -0
- package/dist/apps/monolith/apps/fabric/src/versions/versions.service.d.ts +12 -0
- package/dist/apps/monolith/apps/fabric/src/versions/versions.service.js +62 -0
- package/dist/apps/monolith/apps/fabric/src/versions/versions.service.js.map +1 -0
- package/dist/apps/monolith/apps/fabric/src/versions/versions.store.d.ts +24 -0
- package/dist/apps/monolith/apps/fabric/src/versions/versions.store.js +133 -0
- package/dist/apps/monolith/apps/fabric/src/versions/versions.store.js.map +1 -0
- package/dist/apps/monolith/apps/fabric/src/versions/versions.types.d.ts +11 -0
- package/dist/apps/monolith/apps/fabric/src/versions/versions.types.js +3 -0
- package/dist/apps/monolith/apps/fabric/src/versions/versions.types.js.map +1 -0
- package/dist/apps/monolith/apps/fabric/src/watcher/deployment-watcher.module.d.ts +2 -0
- package/dist/apps/monolith/apps/fabric/src/watcher/deployment-watcher.module.js +35 -0
- package/dist/apps/monolith/apps/fabric/src/watcher/deployment-watcher.module.js.map +1 -0
- package/dist/apps/monolith/apps/fabric/src/watcher/deployment-watcher.service.d.ts +18 -0
- package/dist/apps/monolith/apps/fabric/src/watcher/deployment-watcher.service.js +84 -0
- package/dist/apps/monolith/apps/fabric/src/watcher/deployment-watcher.service.js.map +1 -0
- package/dist/apps/monolith/apps/fabric/src/watcher/pod-probe.service.d.ts +28 -0
- package/dist/apps/monolith/apps/fabric/src/watcher/pod-probe.service.js +211 -0
- package/dist/apps/monolith/apps/fabric/src/watcher/pod-probe.service.js.map +1 -0
- package/dist/apps/monolith/apps/integrations/src/config/configuration.d.ts +27 -0
- package/dist/apps/monolith/apps/integrations/src/config/configuration.js +85 -0
- package/dist/apps/monolith/apps/integrations/src/config/configuration.js.map +1 -0
- package/dist/apps/monolith/apps/integrations/src/generated/prisma-postgres/client.d.ts +9 -0
- package/dist/apps/monolith/apps/integrations/src/generated/prisma-postgres/client.js +46 -0
- package/dist/apps/monolith/apps/integrations/src/generated/prisma-postgres/client.js.map +1 -0
- package/dist/apps/monolith/apps/integrations/src/generated/prisma-postgres/commonInputTypes.d.ts +246 -0
- package/dist/apps/monolith/apps/integrations/src/generated/prisma-postgres/commonInputTypes.js +3 -0
- package/dist/apps/monolith/apps/integrations/src/generated/prisma-postgres/commonInputTypes.js.map +1 -0
- package/dist/apps/monolith/apps/integrations/src/generated/prisma-postgres/enums.d.ts +1 -0
- package/dist/apps/monolith/apps/integrations/src/generated/prisma-postgres/enums.js +3 -0
- package/dist/apps/monolith/apps/integrations/src/generated/prisma-postgres/enums.js.map +1 -0
- package/dist/apps/monolith/apps/integrations/src/generated/prisma-postgres/internal/class.d.ts +35 -0
- package/dist/apps/monolith/apps/integrations/src/generated/prisma-postgres/internal/class.js +75 -0
- package/dist/apps/monolith/apps/integrations/src/generated/prisma-postgres/internal/class.js.map +1 -0
- package/dist/apps/monolith/apps/integrations/src/generated/prisma-postgres/internal/prismaNamespace.d.ts +374 -0
- package/dist/apps/monolith/apps/integrations/src/generated/prisma-postgres/internal/prismaNamespace.js +103 -0
- package/dist/apps/monolith/apps/integrations/src/generated/prisma-postgres/internal/prismaNamespace.js.map +1 -0
- package/dist/apps/monolith/apps/integrations/src/generated/prisma-postgres/models/IntegrationEntity.d.ts +521 -0
- package/dist/apps/monolith/apps/integrations/src/generated/prisma-postgres/models/IntegrationEntity.js +3 -0
- package/dist/apps/monolith/apps/integrations/src/generated/prisma-postgres/models/IntegrationEntity.js.map +1 -0
- package/dist/apps/monolith/apps/integrations/src/generated/prisma-postgres/models.d.ts +2 -0
- package/dist/apps/monolith/apps/integrations/src/generated/prisma-postgres/models.js +3 -0
- package/dist/apps/monolith/apps/integrations/src/generated/prisma-postgres/models.js.map +1 -0
- package/dist/apps/monolith/apps/integrations/src/generated/prisma-sqlite/client.d.ts +9 -0
- package/dist/apps/monolith/apps/integrations/src/generated/prisma-sqlite/client.js +46 -0
- package/dist/apps/monolith/apps/integrations/src/generated/prisma-sqlite/client.js.map +1 -0
- package/dist/apps/monolith/apps/integrations/src/generated/prisma-sqlite/commonInputTypes.d.ts +227 -0
- package/dist/apps/monolith/apps/integrations/src/generated/prisma-sqlite/commonInputTypes.js +3 -0
- package/dist/apps/monolith/apps/integrations/src/generated/prisma-sqlite/commonInputTypes.js.map +1 -0
- package/dist/apps/monolith/apps/integrations/src/generated/prisma-sqlite/enums.d.ts +1 -0
- package/dist/apps/monolith/apps/integrations/src/generated/prisma-sqlite/enums.js +3 -0
- package/dist/apps/monolith/apps/integrations/src/generated/prisma-sqlite/enums.js.map +1 -0
- package/dist/apps/monolith/apps/integrations/src/generated/prisma-sqlite/internal/class.d.ts +35 -0
- package/dist/apps/monolith/apps/integrations/src/generated/prisma-sqlite/internal/class.js +75 -0
- package/dist/apps/monolith/apps/integrations/src/generated/prisma-sqlite/internal/class.js.map +1 -0
- package/dist/apps/monolith/apps/integrations/src/generated/prisma-sqlite/internal/prismaNamespace.d.ts +368 -0
- package/dist/apps/monolith/apps/integrations/src/generated/prisma-sqlite/internal/prismaNamespace.js +100 -0
- package/dist/apps/monolith/apps/integrations/src/generated/prisma-sqlite/internal/prismaNamespace.js.map +1 -0
- package/dist/apps/monolith/apps/integrations/src/generated/prisma-sqlite/models/IntegrationEntity.d.ts +519 -0
- package/dist/apps/monolith/apps/integrations/src/generated/prisma-sqlite/models/IntegrationEntity.js +3 -0
- package/dist/apps/monolith/apps/integrations/src/generated/prisma-sqlite/models/IntegrationEntity.js.map +1 -0
- package/dist/apps/monolith/apps/integrations/src/generated/prisma-sqlite/models.d.ts +2 -0
- package/dist/apps/monolith/apps/integrations/src/generated/prisma-sqlite/models.js +3 -0
- package/dist/apps/monolith/apps/integrations/src/generated/prisma-sqlite/models.js.map +1 -0
- package/dist/apps/monolith/apps/integrations/src/integrations-core.module.d.ts +4 -0
- package/dist/apps/monolith/apps/integrations/src/integrations-core.module.js +61 -0
- package/dist/apps/monolith/apps/integrations/src/integrations-core.module.js.map +1 -0
- package/dist/apps/monolith/apps/integrations/src/modules/auth-flow/auth-flow.module.d.ts +2 -0
- package/dist/apps/monolith/apps/integrations/src/modules/auth-flow/auth-flow.module.js +34 -0
- package/dist/apps/monolith/apps/integrations/src/modules/auth-flow/auth-flow.module.js.map +1 -0
- package/dist/apps/monolith/apps/integrations/src/modules/auth-flow/auth-flow.service.d.ts +52 -0
- package/dist/apps/monolith/apps/integrations/src/modules/auth-flow/auth-flow.service.js +185 -0
- package/dist/apps/monolith/apps/integrations/src/modules/auth-flow/auth-flow.service.js.map +1 -0
- package/dist/apps/monolith/apps/integrations/src/modules/auth-flow/scheduler.service.d.ts +14 -0
- package/dist/apps/monolith/apps/integrations/src/modules/auth-flow/scheduler.service.js +69 -0
- package/dist/apps/monolith/apps/integrations/src/modules/auth-flow/scheduler.service.js.map +1 -0
- package/dist/apps/monolith/apps/integrations/src/modules/connections/connections.module.d.ts +2 -0
- package/dist/apps/monolith/apps/integrations/src/modules/connections/connections.module.js +24 -0
- package/dist/apps/monolith/apps/integrations/src/modules/connections/connections.module.js.map +1 -0
- package/dist/apps/monolith/apps/integrations/src/modules/connections/connections.service.d.ts +31 -0
- package/dist/apps/monolith/apps/integrations/src/modules/connections/connections.service.js +91 -0
- package/dist/apps/monolith/apps/integrations/src/modules/connections/connections.service.js.map +1 -0
- package/dist/apps/monolith/apps/integrations/src/modules/credentials/credentials.module.d.ts +2 -0
- package/dist/apps/monolith/apps/integrations/src/modules/credentials/credentials.module.js +24 -0
- package/dist/apps/monolith/apps/integrations/src/modules/credentials/credentials.module.js.map +1 -0
- package/dist/apps/monolith/apps/integrations/src/modules/credentials/encryption.service.d.ts +14 -0
- package/dist/apps/monolith/apps/integrations/src/modules/credentials/encryption.service.js +62 -0
- package/dist/apps/monolith/apps/integrations/src/modules/credentials/encryption.service.js.map +1 -0
- package/dist/apps/monolith/apps/integrations/src/modules/credentials/token-store.service.d.ts +12 -0
- package/dist/apps/monolith/apps/integrations/src/modules/credentials/token-store.service.js +70 -0
- package/dist/apps/monolith/apps/integrations/src/modules/credentials/token-store.service.js.map +1 -0
- package/dist/apps/monolith/apps/integrations/src/modules/discovery/discovery.module.d.ts +2 -0
- package/dist/apps/monolith/apps/integrations/src/modules/discovery/discovery.module.js +21 -0
- package/dist/apps/monolith/apps/integrations/src/modules/discovery/discovery.module.js.map +1 -0
- package/dist/apps/monolith/apps/integrations/src/modules/discovery/oidc-discovery.service.d.ts +25 -0
- package/dist/apps/monolith/apps/integrations/src/modules/discovery/oidc-discovery.service.js +83 -0
- package/dist/apps/monolith/apps/integrations/src/modules/discovery/oidc-discovery.service.js.map +1 -0
- package/dist/apps/monolith/apps/integrations/src/modules/platform/metadata-store.service.d.ts +31 -0
- package/dist/apps/monolith/apps/integrations/src/modules/platform/metadata-store.service.js +278 -0
- package/dist/apps/monolith/apps/integrations/src/modules/platform/metadata-store.service.js.map +1 -0
- package/dist/apps/monolith/apps/integrations/src/modules/platform/platform.module.d.ts +2 -0
- package/dist/apps/monolith/apps/integrations/src/modules/platform/platform.module.js +21 -0
- package/dist/apps/monolith/apps/integrations/src/modules/platform/platform.module.js.map +1 -0
- package/dist/apps/monolith/apps/integrations/src/modules/platform/platform.types.d.ts +9 -0
- package/dist/apps/monolith/apps/integrations/src/modules/platform/platform.types.js +3 -0
- package/dist/apps/monolith/apps/integrations/src/modules/platform/platform.types.js.map +1 -0
- package/dist/apps/monolith/apps/integrations/src/modules/platform/resilient-fetch.d.ts +6 -0
- package/dist/apps/monolith/apps/integrations/src/modules/platform/resilient-fetch.js +38 -0
- package/dist/apps/monolith/apps/integrations/src/modules/platform/resilient-fetch.js.map +1 -0
- package/dist/apps/monolith/apps/integrations/src/modules/providers/base/api-key.provider.d.ts +9 -0
- package/dist/apps/monolith/apps/integrations/src/modules/providers/base/api-key.provider.js +34 -0
- package/dist/apps/monolith/apps/integrations/src/modules/providers/base/api-key.provider.js.map +1 -0
- package/dist/apps/monolith/apps/integrations/src/modules/providers/base/basic-auth.provider.d.ts +9 -0
- package/dist/apps/monolith/apps/integrations/src/modules/providers/base/basic-auth.provider.js +35 -0
- package/dist/apps/monolith/apps/integrations/src/modules/providers/base/basic-auth.provider.js.map +1 -0
- package/dist/apps/monolith/apps/integrations/src/modules/providers/base/oauth2.provider.d.ts +13 -0
- package/dist/apps/monolith/apps/integrations/src/modules/providers/base/oauth2.provider.js +162 -0
- package/dist/apps/monolith/apps/integrations/src/modules/providers/base/oauth2.provider.js.map +1 -0
- package/dist/apps/monolith/apps/integrations/src/modules/providers/base/oidc.provider.d.ts +14 -0
- package/dist/apps/monolith/apps/integrations/src/modules/providers/base/oidc.provider.js +55 -0
- package/dist/apps/monolith/apps/integrations/src/modules/providers/base/oidc.provider.js.map +1 -0
- package/dist/apps/monolith/apps/integrations/src/modules/providers/builtin/google-drive.provider.d.ts +3 -0
- package/dist/apps/monolith/apps/integrations/src/modules/providers/builtin/google-drive.provider.js +39 -0
- package/dist/apps/monolith/apps/integrations/src/modules/providers/builtin/google-drive.provider.js.map +1 -0
- package/dist/apps/monolith/apps/integrations/src/modules/providers/provider.factory.d.ts +11 -0
- package/dist/apps/monolith/apps/integrations/src/modules/providers/provider.factory.js +70 -0
- package/dist/apps/monolith/apps/integrations/src/modules/providers/provider.factory.js.map +1 -0
- package/dist/apps/monolith/apps/integrations/src/modules/providers/provider.registry.d.ts +20 -0
- package/dist/apps/monolith/apps/integrations/src/modules/providers/provider.registry.js +114 -0
- package/dist/apps/monolith/apps/integrations/src/modules/providers/provider.registry.js.map +1 -0
- package/dist/apps/monolith/apps/integrations/src/modules/providers/provider.types.d.ts +160 -0
- package/dist/apps/monolith/apps/integrations/src/modules/providers/provider.types.js +20 -0
- package/dist/apps/monolith/apps/integrations/src/modules/providers/provider.types.js.map +1 -0
- package/dist/apps/monolith/apps/integrations/src/modules/providers/providers.module.d.ts +2 -0
- package/dist/apps/monolith/apps/integrations/src/modules/providers/providers.module.js +46 -0
- package/dist/apps/monolith/apps/integrations/src/modules/providers/providers.module.js.map +1 -0
- package/dist/apps/monolith/apps/integrations/src/modules/tenant-config/tenant-config.module.d.ts +2 -0
- package/dist/apps/monolith/apps/integrations/src/modules/tenant-config/tenant-config.module.js +24 -0
- package/dist/apps/monolith/apps/integrations/src/modules/tenant-config/tenant-config.module.js.map +1 -0
- package/dist/apps/monolith/apps/integrations/src/modules/tenant-config/tenant-config.service.d.ts +48 -0
- package/dist/apps/monolith/apps/integrations/src/modules/tenant-config/tenant-config.service.js +136 -0
- package/dist/apps/monolith/apps/integrations/src/modules/tenant-config/tenant-config.service.js.map +1 -0
- package/dist/apps/monolith/apps/monolith/src/app.module.d.ts +2 -0
- package/dist/apps/monolith/apps/monolith/src/app.module.js +73 -0
- package/dist/apps/monolith/apps/monolith/src/app.module.js.map +1 -0
- package/dist/apps/monolith/apps/monolith/src/config/configuration.d.ts +26 -0
- package/dist/apps/monolith/apps/monolith/src/config/configuration.js +82 -0
- package/dist/apps/monolith/apps/monolith/src/config/configuration.js.map +1 -0
- package/dist/apps/monolith/apps/monolith/src/health/health.controller.d.ts +7 -0
- package/dist/apps/monolith/apps/monolith/src/health/health.controller.js +41 -0
- package/dist/apps/monolith/apps/monolith/src/health/health.controller.js.map +1 -0
- package/dist/apps/monolith/apps/monolith/src/health/health.module.d.ts +2 -0
- package/dist/apps/monolith/apps/monolith/src/health/health.module.js +22 -0
- package/dist/apps/monolith/apps/monolith/src/health/health.module.js.map +1 -0
- package/dist/apps/monolith/apps/monolith/src/main.d.ts +1 -0
- package/dist/apps/monolith/apps/monolith/src/main.js +46 -0
- package/dist/apps/monolith/apps/monolith/src/main.js.map +1 -0
- package/dist/apps/monolith/libs/agentcraft/src/agentcraft.module.d.ts +13 -0
- package/dist/apps/monolith/libs/agentcraft/src/agentcraft.module.js +137 -0
- package/dist/apps/monolith/libs/agentcraft/src/agentcraft.module.js.map +1 -0
- package/dist/apps/monolith/libs/agentcraft/src/constants.d.ts +2 -0
- package/dist/apps/monolith/libs/agentcraft/src/constants.js +6 -0
- package/dist/apps/monolith/libs/agentcraft/src/constants.js.map +1 -0
- package/dist/apps/monolith/libs/agentcraft/src/dto/submit-action.dto.d.ts +32 -0
- package/dist/apps/monolith/libs/agentcraft/src/dto/submit-action.dto.js +23 -0
- package/dist/apps/monolith/libs/agentcraft/src/dto/submit-action.dto.js.map +1 -0
- package/dist/apps/monolith/libs/agentcraft/src/errors/domain.error.d.ts +8 -0
- package/dist/apps/monolith/libs/agentcraft/src/errors/domain.error.js +19 -0
- package/dist/apps/monolith/libs/agentcraft/src/errors/domain.error.js.map +1 -0
- package/dist/apps/monolith/libs/agentcraft/src/errors/llm.errors.d.ts +10 -0
- package/dist/apps/monolith/libs/agentcraft/src/errors/llm.errors.js +23 -0
- package/dist/apps/monolith/libs/agentcraft/src/errors/llm.errors.js.map +1 -0
- package/dist/apps/monolith/libs/agentcraft/src/index.d.ts +44 -0
- package/dist/apps/monolith/libs/agentcraft/src/index.js +91 -0
- package/dist/apps/monolith/libs/agentcraft/src/index.js.map +1 -0
- package/dist/apps/monolith/libs/agentcraft/src/instructions/step6-data-model.d.ts +1 -0
- package/dist/apps/monolith/libs/agentcraft/src/instructions/step6-data-model.js +185 -0
- package/dist/apps/monolith/libs/agentcraft/src/instructions/step6-data-model.js.map +1 -0
- package/dist/apps/monolith/libs/agentcraft/src/instructions/step7-workflows.d.ts +1 -0
- package/dist/apps/monolith/libs/agentcraft/src/instructions/step7-workflows.js +548 -0
- package/dist/apps/monolith/libs/agentcraft/src/instructions/step7-workflows.js.map +1 -0
- package/dist/apps/monolith/libs/agentcraft/src/instructions/step8-agents.d.ts +1 -0
- package/dist/apps/monolith/libs/agentcraft/src/instructions/step8-agents.js +118 -0
- package/dist/apps/monolith/libs/agentcraft/src/instructions/step8-agents.js.map +1 -0
- package/dist/apps/monolith/libs/agentcraft/src/interfaces/llm-provider.interface.d.ts +8 -0
- package/dist/apps/monolith/libs/agentcraft/src/interfaces/llm-provider.interface.js +3 -0
- package/dist/apps/monolith/libs/agentcraft/src/interfaces/llm-provider.interface.js.map +1 -0
- package/dist/apps/monolith/libs/agentcraft/src/prompts/assembly.prompt.d.ts +1 -0
- package/dist/apps/monolith/libs/agentcraft/src/prompts/assembly.prompt.js +103 -0
- package/dist/apps/monolith/libs/agentcraft/src/prompts/assembly.prompt.js.map +1 -0
- package/dist/apps/monolith/libs/agentcraft/src/prompts/codegen.prompt.d.ts +2 -0
- package/dist/apps/monolith/libs/agentcraft/src/prompts/codegen.prompt.js +80 -0
- package/dist/apps/monolith/libs/agentcraft/src/prompts/codegen.prompt.js.map +1 -0
- package/dist/apps/monolith/libs/agentcraft/src/prompts/decomposition.prompt.d.ts +1 -0
- package/dist/apps/monolith/libs/agentcraft/src/prompts/decomposition.prompt.js +36 -0
- package/dist/apps/monolith/libs/agentcraft/src/prompts/decomposition.prompt.js.map +1 -0
- package/dist/apps/monolith/libs/agentcraft/src/prompts/examples-provider.d.ts +6 -0
- package/dist/apps/monolith/libs/agentcraft/src/prompts/examples-provider.js +50 -0
- package/dist/apps/monolith/libs/agentcraft/src/prompts/examples-provider.js.map +1 -0
- package/dist/apps/monolith/libs/agentcraft/src/prompts/planning.prompt.d.ts +1 -0
- package/dist/apps/monolith/libs/agentcraft/src/prompts/planning.prompt.js +56 -0
- package/dist/apps/monolith/libs/agentcraft/src/prompts/planning.prompt.js.map +1 -0
- package/dist/apps/monolith/libs/agentcraft/src/prompts/resolver.prompt.d.ts +9 -0
- package/dist/apps/monolith/libs/agentcraft/src/prompts/resolver.prompt.js +320 -0
- package/dist/apps/monolith/libs/agentcraft/src/prompts/resolver.prompt.js.map +1 -0
- package/dist/apps/monolith/libs/agentcraft/src/prompts/semantics-guide.d.ts +1 -0
- package/dist/apps/monolith/libs/agentcraft/src/prompts/semantics-guide.js +130 -0
- package/dist/apps/monolith/libs/agentcraft/src/prompts/semantics-guide.js.map +1 -0
- package/dist/apps/monolith/libs/agentcraft/src/services/anthropic-craft-llm.service.d.ts +13 -0
- package/dist/apps/monolith/libs/agentcraft/src/services/anthropic-craft-llm.service.js +167 -0
- package/dist/apps/monolith/libs/agentcraft/src/services/anthropic-craft-llm.service.js.map +1 -0
- package/dist/apps/monolith/libs/agentcraft/src/services/anthropic-llm.service.d.ts +9 -0
- package/dist/apps/monolith/libs/agentcraft/src/services/anthropic-llm.service.js +67 -0
- package/dist/apps/monolith/libs/agentcraft/src/services/anthropic-llm.service.js.map +1 -0
- package/dist/apps/monolith/libs/agentcraft/src/services/api-adapter.service.d.ts +43 -0
- package/dist/apps/monolith/libs/agentcraft/src/services/api-adapter.service.js +154 -0
- package/dist/apps/monolith/libs/agentcraft/src/services/api-adapter.service.js.map +1 -0
- package/dist/apps/monolith/libs/agentcraft/src/services/architect-loop.service.d.ts +36 -0
- package/dist/apps/monolith/libs/agentcraft/src/services/architect-loop.service.js +282 -0
- package/dist/apps/monolith/libs/agentcraft/src/services/architect-loop.service.js.map +1 -0
- package/dist/apps/monolith/libs/agentcraft/src/services/autonomous-runner.service.d.ts +16 -0
- package/dist/apps/monolith/libs/agentcraft/src/services/autonomous-runner.service.js +135 -0
- package/dist/apps/monolith/libs/agentcraft/src/services/autonomous-runner.service.js.map +1 -0
- package/dist/apps/monolith/libs/agentcraft/src/services/craft-config.service.d.ts +11 -0
- package/dist/apps/monolith/libs/agentcraft/src/services/craft-config.service.js +91 -0
- package/dist/apps/monolith/libs/agentcraft/src/services/craft-config.service.js.map +1 -0
- package/dist/apps/monolith/libs/agentcraft/src/services/craft-llm-adapter.service.d.ts +9 -0
- package/dist/apps/monolith/libs/agentcraft/src/services/craft-llm-adapter.service.js +57 -0
- package/dist/apps/monolith/libs/agentcraft/src/services/craft-llm-adapter.service.js.map +1 -0
- package/dist/apps/monolith/libs/agentcraft/src/services/decomposer.service.d.ts +9 -0
- package/dist/apps/monolith/libs/agentcraft/src/services/decomposer.service.js +100 -0
- package/dist/apps/monolith/libs/agentcraft/src/services/decomposer.service.js.map +1 -0
- package/dist/apps/monolith/libs/agentcraft/src/services/design-generator.service.d.ts +14 -0
- package/dist/apps/monolith/libs/agentcraft/src/services/design-generator.service.js +544 -0
- package/dist/apps/monolith/libs/agentcraft/src/services/design-generator.service.js.map +1 -0
- package/dist/apps/monolith/libs/agentcraft/src/services/executor.service.d.ts +17 -0
- package/dist/apps/monolith/libs/agentcraft/src/services/executor.service.js +347 -0
- package/dist/apps/monolith/libs/agentcraft/src/services/executor.service.js.map +1 -0
- package/dist/apps/monolith/libs/agentcraft/src/services/kb-watcher.service.d.ts +12 -0
- package/dist/apps/monolith/libs/agentcraft/src/services/kb-watcher.service.js +141 -0
- package/dist/apps/monolith/libs/agentcraft/src/services/kb-watcher.service.js.map +1 -0
- package/dist/apps/monolith/libs/agentcraft/src/services/openai-llm.service.d.ts +9 -0
- package/dist/apps/monolith/libs/agentcraft/src/services/openai-llm.service.js +69 -0
- package/dist/apps/monolith/libs/agentcraft/src/services/openai-llm.service.js.map +1 -0
- package/dist/apps/monolith/libs/agentcraft/src/services/output-parser.service.d.ts +9 -0
- package/dist/apps/monolith/libs/agentcraft/src/services/output-parser.service.js +68 -0
- package/dist/apps/monolith/libs/agentcraft/src/services/output-parser.service.js.map +1 -0
- package/dist/apps/monolith/libs/agentcraft/src/services/pipeline-state.service.d.ts +15 -0
- package/dist/apps/monolith/libs/agentcraft/src/services/pipeline-state.service.js +106 -0
- package/dist/apps/monolith/libs/agentcraft/src/services/pipeline-state.service.js.map +1 -0
- package/dist/apps/monolith/libs/agentcraft/src/services/pipeline-steps.service.d.ts +10 -0
- package/dist/apps/monolith/libs/agentcraft/src/services/pipeline-steps.service.js +134 -0
- package/dist/apps/monolith/libs/agentcraft/src/services/pipeline-steps.service.js.map +1 -0
- package/dist/apps/monolith/libs/agentcraft/src/services/planner.service.d.ts +13 -0
- package/dist/apps/monolith/libs/agentcraft/src/services/planner.service.js +165 -0
- package/dist/apps/monolith/libs/agentcraft/src/services/planner.service.js.map +1 -0
- package/dist/apps/monolith/libs/agentcraft/src/services/readme-generator.service.d.ts +10 -0
- package/dist/apps/monolith/libs/agentcraft/src/services/readme-generator.service.js +195 -0
- package/dist/apps/monolith/libs/agentcraft/src/services/readme-generator.service.js.map +1 -0
- package/dist/apps/monolith/libs/agentcraft/src/services/registry-client.service.d.ts +14 -0
- package/dist/apps/monolith/libs/agentcraft/src/services/registry-client.service.js +130 -0
- package/dist/apps/monolith/libs/agentcraft/src/services/registry-client.service.js.map +1 -0
- package/dist/apps/monolith/libs/agentcraft/src/services/requirements-generator.service.d.ts +12 -0
- package/dist/apps/monolith/libs/agentcraft/src/services/requirements-generator.service.js +198 -0
- package/dist/apps/monolith/libs/agentcraft/src/services/requirements-generator.service.js.map +1 -0
- package/dist/apps/monolith/libs/agentcraft/src/services/spec-fetcher.service.d.ts +3 -0
- package/dist/apps/monolith/libs/agentcraft/src/services/spec-fetcher.service.js +30 -0
- package/dist/apps/monolith/libs/agentcraft/src/services/spec-fetcher.service.js.map +1 -0
- package/dist/apps/monolith/libs/agentcraft/src/services/ui-blueprint-generator.service.d.ts +14 -0
- package/dist/apps/monolith/libs/agentcraft/src/services/ui-blueprint-generator.service.js +346 -0
- package/dist/apps/monolith/libs/agentcraft/src/services/ui-blueprint-generator.service.js.map +1 -0
- package/dist/apps/monolith/libs/agentcraft/src/types/architect.types.d.ts +122 -0
- package/dist/apps/monolith/libs/agentcraft/src/types/architect.types.js +3 -0
- package/dist/apps/monolith/libs/agentcraft/src/types/architect.types.js.map +1 -0
- package/dist/apps/monolith/libs/agentcraft/src/types/autonomous.types.d.ts +56 -0
- package/dist/apps/monolith/libs/agentcraft/src/types/autonomous.types.js +3 -0
- package/dist/apps/monolith/libs/agentcraft/src/types/autonomous.types.js.map +1 -0
- package/dist/apps/monolith/libs/agentcraft/src/types/llm.types.d.ts +55 -0
- package/dist/apps/monolith/libs/agentcraft/src/types/llm.types.js +3 -0
- package/dist/apps/monolith/libs/agentcraft/src/types/llm.types.js.map +1 -0
- package/dist/apps/monolith/libs/agentcraft/src/types/pipeline.types.d.ts +55 -0
- package/dist/apps/monolith/libs/agentcraft/src/types/pipeline.types.js +34 -0
- package/dist/apps/monolith/libs/agentcraft/src/types/pipeline.types.js.map +1 -0
- package/dist/apps/monolith/libs/agentcraft/src/types/resolver.types.d.ts +27 -0
- package/dist/apps/monolith/libs/agentcraft/src/types/resolver.types.js +3 -0
- package/dist/apps/monolith/libs/agentcraft/src/types/resolver.types.js.map +1 -0
- package/dist/apps/monolith/libs/agentcraft/src/types/signal.types.d.ts +11 -0
- package/dist/apps/monolith/libs/agentcraft/src/types/signal.types.js +3 -0
- package/dist/apps/monolith/libs/agentcraft/src/types/signal.types.js.map +1 -0
- package/dist/apps/monolith/libs/agentcraft/src/utils/kb-loader.d.ts +1 -0
- package/dist/apps/monolith/libs/agentcraft/src/utils/kb-loader.js +61 -0
- package/dist/apps/monolith/libs/agentcraft/src/utils/kb-loader.js.map +1 -0
- package/dist/apps/monolith/libs/agentcraft/src/utils/output-writer.d.ts +6 -0
- package/dist/apps/monolith/libs/agentcraft/src/utils/output-writer.js +57 -0
- package/dist/apps/monolith/libs/agentcraft/src/utils/output-writer.js.map +1 -0
- package/dist/apps/monolith/libs/agentcraft/src/utils/spec-fetcher.d.ts +1 -0
- package/dist/apps/monolith/libs/agentcraft/src/utils/spec-fetcher.js +20 -0
- package/dist/apps/monolith/libs/agentcraft/src/utils/spec-fetcher.js.map +1 -0
- package/dist/apps/monolith/libs/agentcraft/src/utils/spec-trimmer.d.ts +9 -0
- package/dist/apps/monolith/libs/agentcraft/src/utils/spec-trimmer.js +235 -0
- package/dist/apps/monolith/libs/agentcraft/src/utils/spec-trimmer.js.map +1 -0
- package/dist/apps/monolith/libs/agentcraft/src/utils/text-utils.d.ts +5 -0
- package/dist/apps/monolith/libs/agentcraft/src/utils/text-utils.js +36 -0
- package/dist/apps/monolith/libs/agentcraft/src/utils/text-utils.js.map +1 -0
- package/dist/apps/monolith/libs/agentcraft/src/utils/validator.d.ts +8 -0
- package/dist/apps/monolith/libs/agentcraft/src/utils/validator.js +187 -0
- package/dist/apps/monolith/libs/agentcraft/src/utils/validator.js.map +1 -0
- package/dist/apps/monolith/libs/common/src/database/data-source.service.d.ts +15 -0
- package/dist/apps/monolith/libs/common/src/database/data-source.service.js +77 -0
- package/dist/apps/monolith/libs/common/src/database/data-source.service.js.map +1 -0
- package/dist/apps/monolith/libs/common/src/database/database-connection.holder.d.ts +15 -0
- package/dist/apps/monolith/libs/common/src/database/database-connection.holder.js +47 -0
- package/dist/apps/monolith/libs/common/src/database/database-connection.holder.js.map +1 -0
- package/dist/apps/monolith/libs/common/src/database/database.config.d.ts +13 -0
- package/dist/apps/monolith/libs/common/src/database/database.config.js +5 -0
- package/dist/apps/monolith/libs/common/src/database/database.config.js.map +1 -0
- package/dist/apps/monolith/libs/common/src/database/database.module.d.ts +9 -0
- package/dist/apps/monolith/libs/common/src/database/database.module.js +48 -0
- package/dist/apps/monolith/libs/common/src/database/database.module.js.map +1 -0
- package/dist/apps/monolith/libs/common/src/database/embedded-database.service.d.ts +12 -0
- package/dist/apps/monolith/libs/common/src/database/embedded-database.service.js +108 -0
- package/dist/apps/monolith/libs/common/src/database/embedded-database.service.js.map +1 -0
- package/dist/apps/monolith/libs/common/src/database/file-store.d.ts +10 -0
- package/dist/apps/monolith/libs/common/src/database/file-store.factory.d.ts +8 -0
- package/dist/apps/monolith/libs/common/src/database/file-store.factory.js +37 -0
- package/dist/apps/monolith/libs/common/src/database/file-store.factory.js.map +1 -0
- package/dist/apps/monolith/libs/common/src/database/file-store.js +52 -0
- package/dist/apps/monolith/libs/common/src/database/file-store.js.map +1 -0
- package/dist/apps/monolith/libs/common/src/errors/domain.error.d.ts +4 -0
- package/dist/apps/monolith/libs/common/src/errors/domain.error.js +12 -0
- package/dist/apps/monolith/libs/common/src/errors/domain.error.js.map +1 -0
- package/dist/apps/monolith/libs/common/src/filters/domain-exception.filter.d.ts +8 -0
- package/dist/apps/monolith/libs/common/src/filters/domain-exception.filter.js +46 -0
- package/dist/apps/monolith/libs/common/src/filters/domain-exception.filter.js.map +1 -0
- package/dist/apps/monolith/libs/common/src/index.d.ts +13 -0
- package/dist/apps/monolith/libs/common/src/index.js +24 -0
- package/dist/apps/monolith/libs/common/src/index.js.map +1 -0
- package/dist/apps/monolith/libs/common/src/interceptors/logging.interceptor.d.ts +6 -0
- package/dist/apps/monolith/libs/common/src/interceptors/logging.interceptor.js +56 -0
- package/dist/apps/monolith/libs/common/src/interceptors/logging.interceptor.js.map +1 -0
- package/dist/apps/monolith/libs/project-provider/src/constants.d.ts +7 -0
- package/dist/apps/monolith/libs/project-provider/src/constants.js +11 -0
- package/dist/apps/monolith/libs/project-provider/src/constants.js.map +1 -0
- package/dist/apps/monolith/libs/project-provider/src/errors/domain.error.d.ts +1 -0
- package/dist/apps/monolith/libs/project-provider/src/errors/domain.error.js +6 -0
- package/dist/apps/monolith/libs/project-provider/src/errors/domain.error.js.map +1 -0
- package/dist/apps/monolith/libs/project-provider/src/errors/employee-code.errors.d.ts +13 -0
- package/dist/apps/monolith/libs/project-provider/src/errors/employee-code.errors.js +29 -0
- package/dist/apps/monolith/libs/project-provider/src/errors/employee-code.errors.js.map +1 -0
- package/dist/apps/monolith/libs/project-provider/src/errors/inbox.errors.d.ts +13 -0
- package/dist/apps/monolith/libs/project-provider/src/errors/inbox.errors.js +29 -0
- package/dist/apps/monolith/libs/project-provider/src/errors/inbox.errors.js.map +1 -0
- package/dist/apps/monolith/libs/project-provider/src/errors/registry.errors.d.ts +16 -0
- package/dist/apps/monolith/libs/project-provider/src/errors/registry.errors.js +35 -0
- package/dist/apps/monolith/libs/project-provider/src/errors/registry.errors.js.map +1 -0
- package/dist/apps/monolith/libs/project-provider/src/index.d.ts +23 -0
- package/dist/apps/monolith/libs/project-provider/src/index.js +50 -0
- package/dist/apps/monolith/libs/project-provider/src/index.js.map +1 -0
- package/dist/apps/monolith/libs/project-provider/src/interfaces/employee-code-provider.interface.d.ts +11 -0
- package/dist/apps/monolith/libs/project-provider/src/interfaces/employee-code-provider.interface.js +3 -0
- package/dist/apps/monolith/libs/project-provider/src/interfaces/employee-code-provider.interface.js.map +1 -0
- package/dist/apps/monolith/libs/project-provider/src/interfaces/inbox-client.interface.d.ts +3 -0
- package/dist/apps/monolith/libs/project-provider/src/interfaces/inbox-client.interface.js +3 -0
- package/dist/apps/monolith/libs/project-provider/src/interfaces/inbox-client.interface.js.map +1 -0
- package/dist/apps/monolith/libs/project-provider/src/interfaces/inbox-handler.interface.d.ts +5 -0
- package/dist/apps/monolith/libs/project-provider/src/interfaces/inbox-handler.interface.js +5 -0
- package/dist/apps/monolith/libs/project-provider/src/interfaces/inbox-handler.interface.js.map +1 -0
- package/dist/apps/monolith/libs/project-provider/src/interfaces/knowledge-base.interface.d.ts +5 -0
- package/dist/apps/monolith/libs/project-provider/src/interfaces/knowledge-base.interface.js +3 -0
- package/dist/apps/monolith/libs/project-provider/src/interfaces/knowledge-base.interface.js.map +1 -0
- package/dist/apps/monolith/libs/project-provider/src/interfaces/registry-provider.interface.d.ts +18 -0
- package/dist/apps/monolith/libs/project-provider/src/interfaces/registry-provider.interface.js +3 -0
- package/dist/apps/monolith/libs/project-provider/src/interfaces/registry-provider.interface.js.map +1 -0
- package/dist/apps/monolith/libs/project-provider/src/project-provider.module.d.ts +10 -0
- package/dist/apps/monolith/libs/project-provider/src/project-provider.module.js +115 -0
- package/dist/apps/monolith/libs/project-provider/src/project-provider.module.js.map +1 -0
- package/dist/apps/monolith/libs/project-provider/src/services/al-parser.service.d.ts +6 -0
- package/dist/apps/monolith/libs/project-provider/src/services/al-parser.service.js +94 -0
- package/dist/apps/monolith/libs/project-provider/src/services/al-parser.service.js.map +1 -0
- package/dist/apps/monolith/libs/project-provider/src/services/direct-inbox-client.service.d.ts +8 -0
- package/dist/apps/monolith/libs/project-provider/src/services/direct-inbox-client.service.js +42 -0
- package/dist/apps/monolith/libs/project-provider/src/services/direct-inbox-client.service.js.map +1 -0
- package/dist/apps/monolith/libs/project-provider/src/services/file-knowledge-base.service.d.ts +8 -0
- package/dist/apps/monolith/libs/project-provider/src/services/file-knowledge-base.service.js +126 -0
- package/dist/apps/monolith/libs/project-provider/src/services/file-knowledge-base.service.js.map +1 -0
- package/dist/apps/monolith/libs/project-provider/src/services/filesystem-employee-code.service.d.ts +24 -0
- package/dist/apps/monolith/libs/project-provider/src/services/filesystem-employee-code.service.js +163 -0
- package/dist/apps/monolith/libs/project-provider/src/services/filesystem-employee-code.service.js.map +1 -0
- package/dist/apps/monolith/libs/project-provider/src/services/filesystem-registry.service.d.ts +27 -0
- package/dist/apps/monolith/libs/project-provider/src/services/filesystem-registry.service.js +223 -0
- package/dist/apps/monolith/libs/project-provider/src/services/filesystem-registry.service.js.map +1 -0
- package/dist/apps/monolith/libs/project-provider/src/services/http-inbox-client.service.d.ts +7 -0
- package/dist/apps/monolith/libs/project-provider/src/services/http-inbox-client.service.js +46 -0
- package/dist/apps/monolith/libs/project-provider/src/services/http-inbox-client.service.js.map +1 -0
- package/dist/apps/monolith/libs/project-provider/src/services/noop-inbox-client.service.d.ts +4 -0
- package/dist/apps/monolith/libs/project-provider/src/services/noop-inbox-client.service.js +19 -0
- package/dist/apps/monolith/libs/project-provider/src/services/noop-inbox-client.service.js.map +1 -0
- package/dist/apps/monolith/libs/project-provider/src/types/messaging.types.d.ts +45 -0
- package/dist/apps/monolith/libs/project-provider/src/types/messaging.types.js +11 -0
- package/dist/apps/monolith/libs/project-provider/src/types/messaging.types.js.map +1 -0
- package/dist/apps/monolith/libs/project-provider/src/types/project.types.d.ts +47 -0
- package/dist/apps/monolith/libs/project-provider/src/types/project.types.js +3 -0
- package/dist/apps/monolith/libs/project-provider/src/types/project.types.js.map +1 -0
- package/dist/apps/monolith/tsconfig.app.tsbuildinfo +1 -0
- package/package.json +3 -1
- package/scripts/agentmanager.mjs +22 -2
- package/scripts/monolith-daemon-run.mjs +3 -1
- package/scripts/monolith-daemon-run.sh +1 -1
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
var DeploymentEventsService_1;
|
|
12
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
|
+
exports.DeploymentEventsService = void 0;
|
|
14
|
+
const common_1 = require("@nestjs/common");
|
|
15
|
+
const deployment_events_store_1 = require("./deployment-events.store");
|
|
16
|
+
let DeploymentEventsService = DeploymentEventsService_1 = class DeploymentEventsService {
|
|
17
|
+
store;
|
|
18
|
+
logger = new common_1.Logger(DeploymentEventsService_1.name);
|
|
19
|
+
constructor(store) {
|
|
20
|
+
this.store = store;
|
|
21
|
+
}
|
|
22
|
+
create(data) {
|
|
23
|
+
const event = {
|
|
24
|
+
id: this.store.generateId(),
|
|
25
|
+
userId: data.userId ?? null,
|
|
26
|
+
projectId: data.projectId,
|
|
27
|
+
employeeId: data.employeeId,
|
|
28
|
+
env: data.env,
|
|
29
|
+
type: data.type,
|
|
30
|
+
message: data.message,
|
|
31
|
+
retryCount: data.retryCount,
|
|
32
|
+
createdAt: new Date().toISOString(),
|
|
33
|
+
};
|
|
34
|
+
this.store.create(event);
|
|
35
|
+
this.logger.debug(`Event [${data.type}] ${data.projectId}/${data.employeeId} (${data.env}): ${data.message}`);
|
|
36
|
+
return event;
|
|
37
|
+
}
|
|
38
|
+
getAll(options) {
|
|
39
|
+
return this.store.getAll(options);
|
|
40
|
+
}
|
|
41
|
+
getByProjectAndEmployee(projectId, employeeId, options) {
|
|
42
|
+
return this.store.getByProjectAndEmployee(projectId, employeeId, options);
|
|
43
|
+
}
|
|
44
|
+
};
|
|
45
|
+
exports.DeploymentEventsService = DeploymentEventsService;
|
|
46
|
+
exports.DeploymentEventsService = DeploymentEventsService = DeploymentEventsService_1 = __decorate([
|
|
47
|
+
(0, common_1.Injectable)(),
|
|
48
|
+
__metadata("design:paramtypes", [deployment_events_store_1.DeploymentEventsStore])
|
|
49
|
+
], DeploymentEventsService);
|
|
50
|
+
//# sourceMappingURL=deployment-events.service.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"deployment-events.service.js","sourceRoot":"","sources":["../../../../../../../apps/fabric/src/deployment-events/deployment-events.service.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,2CAAoD;AACpD,uEAAkE;AAO3D,IAAM,uBAAuB,+BAA7B,MAAM,uBAAuB;IAGL;IAFZ,MAAM,GAAG,IAAI,eAAM,CAAC,yBAAuB,CAAC,IAAI,CAAC,CAAC;IAEnE,YAA6B,KAA4B;QAA5B,UAAK,GAAL,KAAK,CAAuB;IAAG,CAAC;IAE7D,MAAM,CAAC,IAQN;QACC,MAAM,KAAK,GAAoB;YAC7B,EAAE,EAAE,IAAI,CAAC,KAAK,CAAC,UAAU,EAAE;YAC3B,MAAM,EAAE,IAAI,CAAC,MAAM,IAAI,IAAI;YAC3B,SAAS,EAAE,IAAI,CAAC,SAAS;YACzB,UAAU,EAAE,IAAI,CAAC,UAAU;YAC3B,GAAG,EAAE,IAAI,CAAC,GAAG;YACb,IAAI,EAAE,IAAI,CAAC,IAAI;YACf,OAAO,EAAE,IAAI,CAAC,OAAO;YACrB,UAAU,EAAE,IAAI,CAAC,UAAU;YAC3B,SAAS,EAAE,IAAI,IAAI,EAAE,CAAC,WAAW,EAAE;SACpC,CAAC;QAEF,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;QACzB,IAAI,CAAC,MAAM,CAAC,KAAK,CACf,UAAU,IAAI,CAAC,IAAI,KAAK,IAAI,CAAC,SAAS,IAAI,IAAI,CAAC,UAAU,KAAK,IAAI,CAAC,GAAG,MAAM,IAAI,CAAC,OAAO,EAAE,CAC3F,CAAC;QACF,OAAO,KAAK,CAAC;IACf,CAAC;IAED,MAAM,CAAC,OAKN;QACC,OAAO,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;IACpC,CAAC;IAED,uBAAuB,CACrB,SAAiB,EACjB,UAAkB,EAClB,OAA4B;QAE5B,OAAO,IAAI,CAAC,KAAK,CAAC,uBAAuB,CAAC,SAAS,EAAE,UAAU,EAAE,OAAO,CAAC,CAAC;IAC5E,CAAC;CACF,CAAA;AAjDY,0DAAuB;kCAAvB,uBAAuB;IADnC,IAAA,mBAAU,GAAE;qCAIyB,+CAAqB;GAH9C,uBAAuB,CAiDnC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { OnModuleInit, OnModuleDestroy } from '@nestjs/common';
|
|
2
|
+
import { FileStoreFactory, DataSourceService } from '@app/common';
|
|
3
|
+
import type { DeploymentEvent } from './deployment-events.types';
|
|
4
|
+
export declare class DeploymentEventsStore implements OnModuleInit, OnModuleDestroy {
|
|
5
|
+
private readonly dataSourceService;
|
|
6
|
+
private readonly logger;
|
|
7
|
+
private readonly events;
|
|
8
|
+
private readonly fileStore;
|
|
9
|
+
private counter;
|
|
10
|
+
private repo;
|
|
11
|
+
constructor(fileStoreFactory: FileStoreFactory, dataSourceService: DataSourceService);
|
|
12
|
+
onModuleInit(): Promise<void>;
|
|
13
|
+
private entityToEvent;
|
|
14
|
+
private eventToEntity;
|
|
15
|
+
private persist;
|
|
16
|
+
generateId(): string;
|
|
17
|
+
create(event: DeploymentEvent): DeploymentEvent;
|
|
18
|
+
getAll(options?: {
|
|
19
|
+
projectId?: string;
|
|
20
|
+
employeeId?: string;
|
|
21
|
+
userId?: string;
|
|
22
|
+
limit?: number;
|
|
23
|
+
}): DeploymentEvent[];
|
|
24
|
+
getByProjectAndEmployee(projectId: string, employeeId: string, options?: {
|
|
25
|
+
limit?: number;
|
|
26
|
+
}): DeploymentEvent[];
|
|
27
|
+
onModuleDestroy(): Promise<void>;
|
|
28
|
+
}
|
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
var DeploymentEventsStore_1;
|
|
12
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
|
+
exports.DeploymentEventsStore = void 0;
|
|
14
|
+
const common_1 = require("@nestjs/common");
|
|
15
|
+
const common_2 = require("../../../../libs/common/src");
|
|
16
|
+
const entities_1 = require("../database/entities");
|
|
17
|
+
let DeploymentEventsStore = DeploymentEventsStore_1 = class DeploymentEventsStore {
|
|
18
|
+
dataSourceService;
|
|
19
|
+
logger = new common_1.Logger(DeploymentEventsStore_1.name);
|
|
20
|
+
events = [];
|
|
21
|
+
fileStore;
|
|
22
|
+
counter = 0;
|
|
23
|
+
repo = null;
|
|
24
|
+
constructor(fileStoreFactory, dataSourceService) {
|
|
25
|
+
this.dataSourceService = dataSourceService;
|
|
26
|
+
this.fileStore = fileStoreFactory.create('deployment-events.json');
|
|
27
|
+
}
|
|
28
|
+
async onModuleInit() {
|
|
29
|
+
this.repo = this.dataSourceService.getRepository(entities_1.DeploymentEventEntity);
|
|
30
|
+
if (this.repo) {
|
|
31
|
+
const rows = await this.repo.find({
|
|
32
|
+
order: { createdAt: 'ASC' },
|
|
33
|
+
});
|
|
34
|
+
for (const row of rows) {
|
|
35
|
+
this.events.push(this.entityToEvent(row));
|
|
36
|
+
}
|
|
37
|
+
for (const event of this.events) {
|
|
38
|
+
const match = event.id.match(/^evt-(\d+)$/);
|
|
39
|
+
if (match) {
|
|
40
|
+
this.counter = Math.max(this.counter, parseInt(match[1], 10));
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
this.logger.log(`Loaded ${this.events.length} deployment events from database`);
|
|
44
|
+
}
|
|
45
|
+
else {
|
|
46
|
+
const data = await this.fileStore.load();
|
|
47
|
+
if (data) {
|
|
48
|
+
this.counter = data.counter ?? 0;
|
|
49
|
+
this.events.push(...(data.events ?? []));
|
|
50
|
+
this.logger.log(`Loaded ${this.events.length} deployment events from disk`);
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
entityToEvent(entity) {
|
|
55
|
+
return {
|
|
56
|
+
id: entity.id,
|
|
57
|
+
userId: entity.userId,
|
|
58
|
+
projectId: entity.projectId,
|
|
59
|
+
employeeId: entity.employeeId,
|
|
60
|
+
env: entity.env,
|
|
61
|
+
type: entity.type,
|
|
62
|
+
message: entity.message,
|
|
63
|
+
retryCount: entity.retryCount ?? undefined,
|
|
64
|
+
createdAt: entity.createdAt,
|
|
65
|
+
};
|
|
66
|
+
}
|
|
67
|
+
eventToEntity(event) {
|
|
68
|
+
const entity = new entities_1.DeploymentEventEntity();
|
|
69
|
+
entity.id = event.id;
|
|
70
|
+
entity.userId = event.userId;
|
|
71
|
+
entity.projectId = event.projectId;
|
|
72
|
+
entity.employeeId = event.employeeId;
|
|
73
|
+
entity.env = event.env;
|
|
74
|
+
entity.type = event.type;
|
|
75
|
+
entity.message = event.message;
|
|
76
|
+
entity.retryCount = event.retryCount;
|
|
77
|
+
entity.createdAt = event.createdAt;
|
|
78
|
+
return entity;
|
|
79
|
+
}
|
|
80
|
+
persist() {
|
|
81
|
+
if (!this.repo) {
|
|
82
|
+
this.fileStore.save({ counter: this.counter, events: this.events });
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
generateId() {
|
|
86
|
+
this.counter += 1;
|
|
87
|
+
return `evt-${this.counter}`;
|
|
88
|
+
}
|
|
89
|
+
create(event) {
|
|
90
|
+
this.events.push(event);
|
|
91
|
+
if (this.repo) {
|
|
92
|
+
this.repo
|
|
93
|
+
.save(this.eventToEntity(event))
|
|
94
|
+
.catch((err) => this.logger.error(`Failed to persist deployment event: ${err}`));
|
|
95
|
+
}
|
|
96
|
+
else {
|
|
97
|
+
this.persist();
|
|
98
|
+
}
|
|
99
|
+
return event;
|
|
100
|
+
}
|
|
101
|
+
getAll(options) {
|
|
102
|
+
let results = [...this.events];
|
|
103
|
+
if (options?.projectId) {
|
|
104
|
+
results = results.filter((e) => e.projectId === options.projectId);
|
|
105
|
+
}
|
|
106
|
+
if (options?.employeeId) {
|
|
107
|
+
results = results.filter((e) => e.employeeId === options.employeeId);
|
|
108
|
+
}
|
|
109
|
+
if (options?.userId) {
|
|
110
|
+
results = results.filter((e) => e.userId === options.userId);
|
|
111
|
+
}
|
|
112
|
+
results.sort((a, b) => new Date(b.createdAt).getTime() - new Date(a.createdAt).getTime());
|
|
113
|
+
const limit = options?.limit ?? 500;
|
|
114
|
+
return results.slice(0, limit);
|
|
115
|
+
}
|
|
116
|
+
getByProjectAndEmployee(projectId, employeeId, options) {
|
|
117
|
+
return this.getAll({ projectId, employeeId, limit: options?.limit });
|
|
118
|
+
}
|
|
119
|
+
async onModuleDestroy() {
|
|
120
|
+
if (!this.repo) {
|
|
121
|
+
await this.fileStore.flush();
|
|
122
|
+
}
|
|
123
|
+
this.logger.log(`DeploymentEventsStore shutting down with ${this.events.length} events`);
|
|
124
|
+
}
|
|
125
|
+
};
|
|
126
|
+
exports.DeploymentEventsStore = DeploymentEventsStore;
|
|
127
|
+
exports.DeploymentEventsStore = DeploymentEventsStore = DeploymentEventsStore_1 = __decorate([
|
|
128
|
+
(0, common_1.Injectable)(),
|
|
129
|
+
__metadata("design:paramtypes", [common_2.FileStoreFactory,
|
|
130
|
+
common_2.DataSourceService])
|
|
131
|
+
], DeploymentEventsStore);
|
|
132
|
+
//# sourceMappingURL=deployment-events.store.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"deployment-events.store.js","sourceRoot":"","sources":["../../../../../../../apps/fabric/src/deployment-events/deployment-events.store.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export type DeploymentEventType = 'start' | 'restart' | 'stop' | 'error' | 'remove' | 'healthcheck_failed' | 'healthcheck_retry' | 'healthcheck_exhausted' | 'watcher_recover' | 'probe_restart' | 'probe_escalate';
|
|
2
|
+
export interface DeploymentEvent {
|
|
3
|
+
id: string;
|
|
4
|
+
userId: string | null;
|
|
5
|
+
projectId: string;
|
|
6
|
+
employeeId: string;
|
|
7
|
+
env: string;
|
|
8
|
+
type: DeploymentEventType;
|
|
9
|
+
message: string;
|
|
10
|
+
retryCount?: number;
|
|
11
|
+
createdAt: string;
|
|
12
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"deployment-events.types.js","sourceRoot":"","sources":["../../../../../../../apps/fabric/src/deployment-events/deployment-events.types.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const RuntimeTrackSchema: z.ZodObject<{
|
|
3
|
+
env: z.ZodEnum<{
|
|
4
|
+
draft: "draft";
|
|
5
|
+
live: "live";
|
|
6
|
+
}>;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const RuntimeTrackDto_base: import("nestjs-zod").ZodDto<z.ZodObject<{
|
|
9
|
+
env: z.ZodEnum<{
|
|
10
|
+
draft: "draft";
|
|
11
|
+
live: "live";
|
|
12
|
+
}>;
|
|
13
|
+
}, z.core.$strip>, false>;
|
|
14
|
+
export declare class RuntimeTrackDto extends RuntimeTrackDto_base {
|
|
15
|
+
}
|
|
16
|
+
export declare const DeployRequestSchema: z.ZodObject<{
|
|
17
|
+
env: z.ZodString;
|
|
18
|
+
track: z.ZodDefault<z.ZodEnum<{
|
|
19
|
+
draft: "draft";
|
|
20
|
+
live: "live";
|
|
21
|
+
}>>;
|
|
22
|
+
source: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
23
|
+
type: z.ZodLiteral<"github">;
|
|
24
|
+
org: z.ZodString;
|
|
25
|
+
repo: z.ZodString;
|
|
26
|
+
branch: z.ZodOptional<z.ZodString>;
|
|
27
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
28
|
+
type: z.ZodLiteral<"local">;
|
|
29
|
+
path: z.ZodString;
|
|
30
|
+
}, z.core.$strip>], "type">>;
|
|
31
|
+
}, z.core.$strip>;
|
|
32
|
+
declare const DeployRequestDto_base: import("nestjs-zod").ZodDto<z.ZodObject<{
|
|
33
|
+
env: z.ZodString;
|
|
34
|
+
track: z.ZodDefault<z.ZodEnum<{
|
|
35
|
+
draft: "draft";
|
|
36
|
+
live: "live";
|
|
37
|
+
}>>;
|
|
38
|
+
source: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
39
|
+
type: z.ZodLiteral<"github">;
|
|
40
|
+
org: z.ZodString;
|
|
41
|
+
repo: z.ZodString;
|
|
42
|
+
branch: z.ZodOptional<z.ZodString>;
|
|
43
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
44
|
+
type: z.ZodLiteral<"local">;
|
|
45
|
+
path: z.ZodString;
|
|
46
|
+
}, z.core.$strip>], "type">>;
|
|
47
|
+
}, z.core.$strip>, false>;
|
|
48
|
+
export declare class DeployRequestDto extends DeployRequestDto_base {
|
|
49
|
+
}
|
|
50
|
+
export declare const UndeployRequestSchema: z.ZodObject<{
|
|
51
|
+
env: z.ZodString;
|
|
52
|
+
track: z.ZodDefault<z.ZodEnum<{
|
|
53
|
+
draft: "draft";
|
|
54
|
+
live: "live";
|
|
55
|
+
}>>;
|
|
56
|
+
}, z.core.$strip>;
|
|
57
|
+
declare const UndeployRequestDto_base: import("nestjs-zod").ZodDto<z.ZodObject<{
|
|
58
|
+
env: z.ZodString;
|
|
59
|
+
track: z.ZodDefault<z.ZodEnum<{
|
|
60
|
+
draft: "draft";
|
|
61
|
+
live: "live";
|
|
62
|
+
}>>;
|
|
63
|
+
}, z.core.$strip>, false>;
|
|
64
|
+
export declare class UndeployRequestDto extends UndeployRequestDto_base {
|
|
65
|
+
}
|
|
66
|
+
export declare const EnvQuerySchema: z.ZodObject<{
|
|
67
|
+
env: z.ZodOptional<z.ZodEnum<{
|
|
68
|
+
draft: "draft";
|
|
69
|
+
live: "live";
|
|
70
|
+
}>>;
|
|
71
|
+
tail: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
72
|
+
}, z.core.$strip>;
|
|
73
|
+
declare const EnvQueryDto_base: import("nestjs-zod").ZodDto<z.ZodObject<{
|
|
74
|
+
env: z.ZodOptional<z.ZodEnum<{
|
|
75
|
+
draft: "draft";
|
|
76
|
+
live: "live";
|
|
77
|
+
}>>;
|
|
78
|
+
tail: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
79
|
+
}, z.core.$strip>, false>;
|
|
80
|
+
export declare class EnvQueryDto extends EnvQueryDto_base {
|
|
81
|
+
}
|
|
82
|
+
export declare const RollbackSchema: z.ZodObject<{
|
|
83
|
+
versionId: z.ZodOptional<z.ZodString>;
|
|
84
|
+
}, z.core.$strip>;
|
|
85
|
+
declare const RollbackDto_base: import("nestjs-zod").ZodDto<z.ZodObject<{
|
|
86
|
+
versionId: z.ZodOptional<z.ZodString>;
|
|
87
|
+
}, z.core.$strip>, false>;
|
|
88
|
+
export declare class RollbackDto extends RollbackDto_base {
|
|
89
|
+
}
|
|
90
|
+
export declare const LogQuerySchema: z.ZodObject<{
|
|
91
|
+
track: z.ZodOptional<z.ZodEnum<{
|
|
92
|
+
draft: "draft";
|
|
93
|
+
live: "live";
|
|
94
|
+
}>>;
|
|
95
|
+
env: z.ZodOptional<z.ZodEnum<{
|
|
96
|
+
draft: "draft";
|
|
97
|
+
live: "live";
|
|
98
|
+
}>>;
|
|
99
|
+
type: z.ZodOptional<z.ZodEnum<{
|
|
100
|
+
file: "file";
|
|
101
|
+
stdout: "stdout";
|
|
102
|
+
}>>;
|
|
103
|
+
date: z.ZodOptional<z.ZodString>;
|
|
104
|
+
tail: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
105
|
+
}, z.core.$strip>;
|
|
106
|
+
declare const LogQueryDto_base: import("nestjs-zod").ZodDto<z.ZodObject<{
|
|
107
|
+
track: z.ZodOptional<z.ZodEnum<{
|
|
108
|
+
draft: "draft";
|
|
109
|
+
live: "live";
|
|
110
|
+
}>>;
|
|
111
|
+
env: z.ZodOptional<z.ZodEnum<{
|
|
112
|
+
draft: "draft";
|
|
113
|
+
live: "live";
|
|
114
|
+
}>>;
|
|
115
|
+
type: z.ZodOptional<z.ZodEnum<{
|
|
116
|
+
file: "file";
|
|
117
|
+
stdout: "stdout";
|
|
118
|
+
}>>;
|
|
119
|
+
date: z.ZodOptional<z.ZodString>;
|
|
120
|
+
tail: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
121
|
+
}, z.core.$strip>, false>;
|
|
122
|
+
export declare class LogQueryDto extends LogQueryDto_base {
|
|
123
|
+
}
|
|
124
|
+
export {};
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.LogQueryDto = exports.LogQuerySchema = exports.RollbackDto = exports.RollbackSchema = exports.EnvQueryDto = exports.EnvQuerySchema = exports.UndeployRequestDto = exports.UndeployRequestSchema = exports.DeployRequestDto = exports.DeployRequestSchema = exports.RuntimeTrackDto = exports.RuntimeTrackSchema = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const nestjs_zod_1 = require("nestjs-zod");
|
|
6
|
+
const SourceSchema = zod_1.z.discriminatedUnion('type', [
|
|
7
|
+
zod_1.z.object({
|
|
8
|
+
type: zod_1.z.literal('github'),
|
|
9
|
+
org: zod_1.z.string().min(1),
|
|
10
|
+
repo: zod_1.z.string().min(1),
|
|
11
|
+
branch: zod_1.z.string().optional(),
|
|
12
|
+
}),
|
|
13
|
+
zod_1.z.object({
|
|
14
|
+
type: zod_1.z.literal('local'),
|
|
15
|
+
path: zod_1.z.string().min(1),
|
|
16
|
+
}),
|
|
17
|
+
]);
|
|
18
|
+
exports.RuntimeTrackSchema = zod_1.z.object({
|
|
19
|
+
env: zod_1.z.enum(['draft', 'live']),
|
|
20
|
+
});
|
|
21
|
+
class RuntimeTrackDto extends (0, nestjs_zod_1.createZodDto)(exports.RuntimeTrackSchema) {
|
|
22
|
+
}
|
|
23
|
+
exports.RuntimeTrackDto = RuntimeTrackDto;
|
|
24
|
+
exports.DeployRequestSchema = zod_1.z.object({
|
|
25
|
+
env: zod_1.z.string().min(1),
|
|
26
|
+
track: zod_1.z.enum(['draft', 'live']).default('draft'),
|
|
27
|
+
source: SourceSchema.optional(),
|
|
28
|
+
});
|
|
29
|
+
class DeployRequestDto extends (0, nestjs_zod_1.createZodDto)(exports.DeployRequestSchema) {
|
|
30
|
+
}
|
|
31
|
+
exports.DeployRequestDto = DeployRequestDto;
|
|
32
|
+
exports.UndeployRequestSchema = zod_1.z.object({
|
|
33
|
+
env: zod_1.z.string().min(1),
|
|
34
|
+
track: zod_1.z.enum(['draft', 'live']).default('draft'),
|
|
35
|
+
});
|
|
36
|
+
class UndeployRequestDto extends (0, nestjs_zod_1.createZodDto)(exports.UndeployRequestSchema) {
|
|
37
|
+
}
|
|
38
|
+
exports.UndeployRequestDto = UndeployRequestDto;
|
|
39
|
+
exports.EnvQuerySchema = zod_1.z.object({
|
|
40
|
+
env: zod_1.z.enum(['draft', 'live']).optional(),
|
|
41
|
+
tail: zod_1.z.coerce.number().int().positive().optional(),
|
|
42
|
+
});
|
|
43
|
+
class EnvQueryDto extends (0, nestjs_zod_1.createZodDto)(exports.EnvQuerySchema) {
|
|
44
|
+
}
|
|
45
|
+
exports.EnvQueryDto = EnvQueryDto;
|
|
46
|
+
exports.RollbackSchema = zod_1.z.object({
|
|
47
|
+
versionId: zod_1.z.string().optional(),
|
|
48
|
+
});
|
|
49
|
+
class RollbackDto extends (0, nestjs_zod_1.createZodDto)(exports.RollbackSchema) {
|
|
50
|
+
}
|
|
51
|
+
exports.RollbackDto = RollbackDto;
|
|
52
|
+
exports.LogQuerySchema = zod_1.z.object({
|
|
53
|
+
track: zod_1.z.enum(['draft', 'live']).optional(),
|
|
54
|
+
env: zod_1.z.enum(['draft', 'live']).optional(),
|
|
55
|
+
type: zod_1.z.enum(['stdout', 'file']).optional(),
|
|
56
|
+
date: zod_1.z.string().optional(),
|
|
57
|
+
tail: zod_1.z.coerce.number().int().positive().optional(),
|
|
58
|
+
});
|
|
59
|
+
class LogQueryDto extends (0, nestjs_zod_1.createZodDto)(exports.LogQuerySchema) {
|
|
60
|
+
}
|
|
61
|
+
exports.LogQueryDto = LogQueryDto;
|
|
62
|
+
//# sourceMappingURL=deploy.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"deploy.dto.js","sourceRoot":"","sources":["../../../../../../../../apps/fabric/src/employees/dto/deploy.dto.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { EmployeesService } from './employees.service';
|
|
2
|
+
import { DeployRequestDto, UndeployRequestDto, RuntimeTrackDto, EnvQueryDto, RollbackDto, LogQueryDto } from './dto/deploy.dto';
|
|
3
|
+
export declare class EmployeesController {
|
|
4
|
+
private readonly employeesService;
|
|
5
|
+
constructor(employeesService: EmployeesService);
|
|
6
|
+
deploy(projectId: string, employeeId: string, dto: DeployRequestDto, userId: string): Promise<import("./employees.types").DeployResult>;
|
|
7
|
+
undeploy(projectId: string, employeeId: string, dto: UndeployRequestDto): Promise<{
|
|
8
|
+
removed: boolean;
|
|
9
|
+
projectId: string;
|
|
10
|
+
employeeId: string;
|
|
11
|
+
env: import("./employees.types").Env;
|
|
12
|
+
}>;
|
|
13
|
+
stop(projectId: string, employeeId: string, dto: RuntimeTrackDto): Promise<import("./employees.types").DeployResult>;
|
|
14
|
+
pause(projectId: string, employeeId: string, dto: RuntimeTrackDto): Promise<import("./employees.types").DeployResult>;
|
|
15
|
+
resume(projectId: string, employeeId: string, dto: RuntimeTrackDto): Promise<import("./employees.types").DeployResult>;
|
|
16
|
+
restart(projectId: string, employeeId: string, dto: RuntimeTrackDto): Promise<import("./employees.types").DeployResult>;
|
|
17
|
+
publish(projectId: string, employeeId: string): Promise<import("./employees.types").DeployResult>;
|
|
18
|
+
unpublish(projectId: string, employeeId: string): Promise<import("./employees.types").DeployResult>;
|
|
19
|
+
rollback(projectId: string, employeeId: string, dto: RollbackDto): Promise<import("./employees.types").DeployResult>;
|
|
20
|
+
remove(projectId: string, employeeId: string, query: EnvQueryDto): Promise<{
|
|
21
|
+
removed: boolean;
|
|
22
|
+
}>;
|
|
23
|
+
bulkStatus(projectId: string): {
|
|
24
|
+
data: import("./employees.types").EmployeeStatus[];
|
|
25
|
+
};
|
|
26
|
+
status(projectId: string, employeeId: string): import("./employees.types").EmployeeStatus;
|
|
27
|
+
health(projectId: string, employeeId: string, query: EnvQueryDto): Promise<{
|
|
28
|
+
ok: boolean;
|
|
29
|
+
status?: number;
|
|
30
|
+
error?: string;
|
|
31
|
+
healthData?: Record<string, unknown>;
|
|
32
|
+
}>;
|
|
33
|
+
logs(projectId: string, employeeId: string, query: LogQueryDto): Promise<{
|
|
34
|
+
logs: string;
|
|
35
|
+
error?: string;
|
|
36
|
+
}>;
|
|
37
|
+
resolve(projectId: string, employeeId: string, query: EnvQueryDto): import("./employees.types").ResolveResult;
|
|
38
|
+
}
|