@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 @@
|
|
|
1
|
+
{"version":3,"file":"provider.registry.js","sourceRoot":"","sources":["../../../../../../../../apps/integrations/src/modules/providers/provider.registry.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2CAMwB;AACxB,+EAA0E;AAC1E,yDAAqD;AACrD,qDAI0B;AAGnB,IAAM,gBAAgB,wBAAtB,MAAM,gBAAgB;IAMR;IACA;IACA;IAPF,MAAM,GAAG,IAAI,eAAM,CAAC,kBAAgB,CAAC,IAAI,CAAC,CAAC;IAC3C,SAAS,GAAG,IAAI,GAAG,EAA+B,CAAC;IAEpE,YAEmB,gBAAuC,EACvC,aAAmC,EACnC,OAAwB;QAFxB,qBAAgB,GAAhB,gBAAgB,CAAuB;QACvC,kBAAa,GAAb,aAAa,CAAsB;QACnC,YAAO,GAAP,OAAO,CAAiB;IACxC,CAAC;IAEG,KAAK,CAAC,YAAY;QACvB,KAAK,MAAM,QAAQ,IAAI,IAAI,CAAC,gBAAgB,EAAE,CAAC;YAC7C,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,QAAQ,CAAC,QAAQ,CAAC,EAAE,EAAE,QAAQ,CAAC,CAAC;YACnD,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,gCAAgC,QAAQ,CAAC,QAAQ,CAAC,EAAE,EAAE,CAAC,CAAC;QAC1E,CAAC;QAED,MAAM,IAAI,CAAC,kBAAkB,EAAE,CAAC;IAClC,CAAC;IAEM,GAAG,CAAC,EAAU;QACnB,MAAM,QAAQ,GAAG,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC;QACxC,IAAI,CAAC,QAAQ,EAAE,CAAC;YACd,MAAM,IAAI,0BAAiB,CAAC,aAAa,EAAE,aAAa,CAAC,CAAC;QAC5D,CAAC;QACD,OAAO,QAAQ,CAAC;IAClB,CAAC;IAEM,MAAM;QACX,OAAO,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,SAAS,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gB;2BAAhB,gBAAgB;IAD5B,IAAA,mBAAU,GAAE;IAMR,WAAA,IAAA,eAAM,EAAC,kCAAiB,CAAC,CAAA;4CAEM,6CAAoB;QAC1B,kCAAe;GARhC,gBAAgB,CA0G5B"}
|
|
@@ -0,0 +1,160 @@
|
|
|
1
|
+
export declare enum AuthStrategy {
|
|
2
|
+
OAuth2 = "oauth2",
|
|
3
|
+
OIDC = "oidc",
|
|
4
|
+
ApiKey = "api_key",
|
|
5
|
+
BasicAuth = "basic_auth"
|
|
6
|
+
}
|
|
7
|
+
export declare enum ConnectionStatus {
|
|
8
|
+
Pending = "pending",
|
|
9
|
+
Active = "active",
|
|
10
|
+
Expired = "expired",
|
|
11
|
+
Revoked = "revoked",
|
|
12
|
+
Error = "error"
|
|
13
|
+
}
|
|
14
|
+
export interface ScopeDefinition {
|
|
15
|
+
name: string;
|
|
16
|
+
description?: string;
|
|
17
|
+
required?: boolean;
|
|
18
|
+
}
|
|
19
|
+
export interface OAuth2Config {
|
|
20
|
+
authorizeUrl: string;
|
|
21
|
+
tokenUrl: string;
|
|
22
|
+
revokeUrl?: string;
|
|
23
|
+
userinfoUrl?: string;
|
|
24
|
+
extraAuthorizeParams?: Record<string, string>;
|
|
25
|
+
tokenResponseMapping?: Record<string, string>;
|
|
26
|
+
refreshMethod?: 'body' | 'header';
|
|
27
|
+
usePkce?: boolean;
|
|
28
|
+
}
|
|
29
|
+
export interface OidcDiscoveryConfig {
|
|
30
|
+
issuerUrl: string;
|
|
31
|
+
}
|
|
32
|
+
export interface TokenSet {
|
|
33
|
+
accessToken: string;
|
|
34
|
+
refreshToken?: string;
|
|
35
|
+
idToken?: string;
|
|
36
|
+
tokenType?: string;
|
|
37
|
+
expiresAt?: number;
|
|
38
|
+
scope?: string;
|
|
39
|
+
raw?: Record<string, unknown>;
|
|
40
|
+
}
|
|
41
|
+
export interface ProviderMetadata {
|
|
42
|
+
id: string;
|
|
43
|
+
name: string;
|
|
44
|
+
description?: string;
|
|
45
|
+
icon?: string;
|
|
46
|
+
category?: string;
|
|
47
|
+
authStrategy: AuthStrategy;
|
|
48
|
+
oauth2?: OAuth2Config;
|
|
49
|
+
oidc?: OidcDiscoveryConfig;
|
|
50
|
+
defaultScopes?: ScopeDefinition[];
|
|
51
|
+
builtin?: boolean;
|
|
52
|
+
}
|
|
53
|
+
export interface AuthInitiateParams {
|
|
54
|
+
providerId: string;
|
|
55
|
+
tenantId: string;
|
|
56
|
+
connectionId: string;
|
|
57
|
+
redirectUri: string;
|
|
58
|
+
scopes?: string[];
|
|
59
|
+
state?: string;
|
|
60
|
+
clientId: string;
|
|
61
|
+
clientSecret: string;
|
|
62
|
+
codeVerifier?: string;
|
|
63
|
+
}
|
|
64
|
+
export interface AuthInitiateResult {
|
|
65
|
+
authorizeUrl: string;
|
|
66
|
+
connectionId: string;
|
|
67
|
+
state: string;
|
|
68
|
+
codeVerifier?: string;
|
|
69
|
+
}
|
|
70
|
+
export interface AuthCompleteParams {
|
|
71
|
+
providerId: string;
|
|
72
|
+
tenantId: string;
|
|
73
|
+
connectionId: string;
|
|
74
|
+
redirectUri: string;
|
|
75
|
+
code: string;
|
|
76
|
+
clientId: string;
|
|
77
|
+
clientSecret: string;
|
|
78
|
+
codeVerifier?: string;
|
|
79
|
+
}
|
|
80
|
+
export interface AuthCompleteResult {
|
|
81
|
+
connectionId: string;
|
|
82
|
+
tokenSet: TokenSet;
|
|
83
|
+
}
|
|
84
|
+
export interface IntegrationProvider {
|
|
85
|
+
readonly metadata: ProviderMetadata;
|
|
86
|
+
initiateAuth(params: AuthInitiateParams): Promise<AuthInitiateResult>;
|
|
87
|
+
completeAuth(params: AuthCompleteParams): Promise<AuthCompleteResult>;
|
|
88
|
+
refreshToken(refreshToken: string, clientId: string, clientSecret: string): Promise<TokenSet>;
|
|
89
|
+
revokeToken(token: string, clientId: string, clientSecret: string): Promise<void>;
|
|
90
|
+
}
|
|
91
|
+
export interface ProviderDefinitionData {
|
|
92
|
+
[key: string]: unknown;
|
|
93
|
+
id: string;
|
|
94
|
+
name: string;
|
|
95
|
+
description?: string;
|
|
96
|
+
icon?: string;
|
|
97
|
+
category?: string;
|
|
98
|
+
authStrategy: AuthStrategy;
|
|
99
|
+
oauth2?: OAuth2Config;
|
|
100
|
+
oidc?: OidcDiscoveryConfig;
|
|
101
|
+
defaultScopes?: ScopeDefinition[];
|
|
102
|
+
createdAt?: string;
|
|
103
|
+
updatedAt?: string;
|
|
104
|
+
}
|
|
105
|
+
export interface TenantProviderConfigData {
|
|
106
|
+
[key: string]: unknown;
|
|
107
|
+
id: string;
|
|
108
|
+
tenantId: string;
|
|
109
|
+
providerId: string;
|
|
110
|
+
clientId: string;
|
|
111
|
+
encryptedClientSecret: string;
|
|
112
|
+
clientSecretIv: string;
|
|
113
|
+
clientSecretAuthTag: string;
|
|
114
|
+
scopes?: string[];
|
|
115
|
+
enabled: boolean;
|
|
116
|
+
redirectUri?: string;
|
|
117
|
+
createdAt?: string;
|
|
118
|
+
updatedAt?: string;
|
|
119
|
+
}
|
|
120
|
+
export interface ConnectionData {
|
|
121
|
+
[key: string]: unknown;
|
|
122
|
+
id: string;
|
|
123
|
+
tenantId: string;
|
|
124
|
+
providerId: string;
|
|
125
|
+
userId?: string;
|
|
126
|
+
status: ConnectionStatus;
|
|
127
|
+
metadata?: Record<string, unknown>;
|
|
128
|
+
createdAt?: string;
|
|
129
|
+
updatedAt?: string;
|
|
130
|
+
}
|
|
131
|
+
export interface CredentialData {
|
|
132
|
+
[key: string]: unknown;
|
|
133
|
+
id: string;
|
|
134
|
+
connectionId: string;
|
|
135
|
+
tenantId: string;
|
|
136
|
+
providerId: string;
|
|
137
|
+
encryptedTokenSet: string;
|
|
138
|
+
iv: string;
|
|
139
|
+
authTag: string;
|
|
140
|
+
createdAt?: string;
|
|
141
|
+
updatedAt?: string;
|
|
142
|
+
}
|
|
143
|
+
export interface AuthStateData {
|
|
144
|
+
[key: string]: unknown;
|
|
145
|
+
id: string;
|
|
146
|
+
connectionId: string;
|
|
147
|
+
tenantId: string;
|
|
148
|
+
providerId: string;
|
|
149
|
+
state: string;
|
|
150
|
+
codeVerifier?: string;
|
|
151
|
+
redirectUri: string;
|
|
152
|
+
clientId: string;
|
|
153
|
+
encryptedClientSecret: string;
|
|
154
|
+
clientSecretIv: string;
|
|
155
|
+
clientSecretAuthTag: string;
|
|
156
|
+
scopes?: string[];
|
|
157
|
+
expiresAt: string;
|
|
158
|
+
createdAt?: string;
|
|
159
|
+
}
|
|
160
|
+
export declare const BUILTIN_PROVIDERS = "BUILTIN_PROVIDERS";
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.BUILTIN_PROVIDERS = exports.ConnectionStatus = exports.AuthStrategy = void 0;
|
|
4
|
+
var AuthStrategy;
|
|
5
|
+
(function (AuthStrategy) {
|
|
6
|
+
AuthStrategy["OAuth2"] = "oauth2";
|
|
7
|
+
AuthStrategy["OIDC"] = "oidc";
|
|
8
|
+
AuthStrategy["ApiKey"] = "api_key";
|
|
9
|
+
AuthStrategy["BasicAuth"] = "basic_auth";
|
|
10
|
+
})(AuthStrategy || (exports.AuthStrategy = AuthStrategy = {}));
|
|
11
|
+
var ConnectionStatus;
|
|
12
|
+
(function (ConnectionStatus) {
|
|
13
|
+
ConnectionStatus["Pending"] = "pending";
|
|
14
|
+
ConnectionStatus["Active"] = "active";
|
|
15
|
+
ConnectionStatus["Expired"] = "expired";
|
|
16
|
+
ConnectionStatus["Revoked"] = "revoked";
|
|
17
|
+
ConnectionStatus["Error"] = "error";
|
|
18
|
+
})(ConnectionStatus || (exports.ConnectionStatus = ConnectionStatus = {}));
|
|
19
|
+
exports.BUILTIN_PROVIDERS = 'BUILTIN_PROVIDERS';
|
|
20
|
+
//# sourceMappingURL=provider.types.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"provider.types.js","sourceRoot":"","sources":["../../../../../../../../apps/integrations/src/modules/providers/provider.types.ts"],"names":[],"mappings":";;;AAAA,IAAY,YAKX;AALD,WAAY,YAAY;IACtB,iCAAiB,CAAA;IACjB,6BAAa,CAAA;IACb,kCAAkB,CAAA;IAClB,wCAAwB,CAAA;AAC1B,CAAC,EALW,YAAY,4BAAZ,YAAY,QAKvB;AAED,IAAY,gBAMX;AAND,WAAY,gBAAgB;IAC1B,uCAAmB,CAAA;IACnB,qCAAiB,CAAA;IACjB,uCAAmB,CAAA;IACnB,uCAAmB,CAAA;IACnB,mCAAe,CAAA;AACjB,CAAC,EANW,gBAAgB,gCAAhB,gBAAgB,QAM3B;AA2KY,QAAA,iBAAiB,GAAG,mBAAmB,CAAC"}
|
|
@@ -0,0 +1,46 @@
|
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
+
exports.ProvidersModule = void 0;
|
|
10
|
+
const common_1 = require("@nestjs/common");
|
|
11
|
+
const config_1 = require("@nestjs/config");
|
|
12
|
+
const discovery_module_1 = require("../discovery/discovery.module");
|
|
13
|
+
const platform_module_1 = require("../platform/platform.module");
|
|
14
|
+
const google_drive_provider_1 = require("./builtin/google-drive.provider");
|
|
15
|
+
const provider_factory_1 = require("./provider.factory");
|
|
16
|
+
const provider_registry_1 = require("./provider.registry");
|
|
17
|
+
const provider_types_1 = require("./provider.types");
|
|
18
|
+
let ProvidersModule = class ProvidersModule {
|
|
19
|
+
};
|
|
20
|
+
exports.ProvidersModule = ProvidersModule;
|
|
21
|
+
exports.ProvidersModule = ProvidersModule = __decorate([
|
|
22
|
+
(0, common_1.Module)({
|
|
23
|
+
imports: [platform_module_1.PlatformModule, discovery_module_1.DiscoveryModule],
|
|
24
|
+
providers: [
|
|
25
|
+
provider_factory_1.ProviderFactory,
|
|
26
|
+
provider_registry_1.ProviderRegistry,
|
|
27
|
+
{
|
|
28
|
+
provide: provider_types_1.BUILTIN_PROVIDERS,
|
|
29
|
+
useFactory: (configService) => {
|
|
30
|
+
const fetchOptions = {
|
|
31
|
+
timeoutMs: configService.get('httpTimeoutMs', {
|
|
32
|
+
infer: true,
|
|
33
|
+
}),
|
|
34
|
+
maxRetries: configService.get('httpMaxRetries', {
|
|
35
|
+
infer: true,
|
|
36
|
+
}),
|
|
37
|
+
};
|
|
38
|
+
return [(0, google_drive_provider_1.createGoogleDriveProvider)(fetchOptions)];
|
|
39
|
+
},
|
|
40
|
+
inject: [config_1.ConfigService],
|
|
41
|
+
},
|
|
42
|
+
],
|
|
43
|
+
exports: [provider_registry_1.ProviderRegistry, provider_factory_1.ProviderFactory],
|
|
44
|
+
})
|
|
45
|
+
], ProvidersModule);
|
|
46
|
+
//# sourceMappingURL=providers.module.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"providers.module.js","sourceRoot":"","sources":["../../../../../../../../apps/integrations/src/modules/providers/providers.module.ts"],"names":[],"mappings":";;;;;;;;;AAAA,2CAAwC;AACxC,2CAA+C;AAC/C,oEAAgE;AAChE,iEAA6D;AAC7D,2EAA4E;AAC5E,yDAAqD;AACrD,2DAAuD;AACvD,qDAAqD;AA0B9C,IAAM,eAAe,GAArB,MAAM,eAAe;CAAG,CAAA;AAAlB,0CAAe;0BAAf,eAAe;IAvB3B,IAAA,eAAM,EAAC;QACN,OAAO,EAAE,CAAC,gCAAc,EAAE,kCAAe,CAAC;QAC1C,SAAS,EAAE;YACT,kCAAe;YACf,oCAAgB;YAChB;gBACE,OAAO,EAAE,kCAAiB;gBAC1B,UAAU,EAAE,CAAC,aAA8C,EAAE,EAAE;oBAC7D,MAAM,YAAY,GAAG;wBACnB,SAAS,EAAE,aAAa,CAAC,GAAG,CAAS,eAAe,EAAE;4BACpD,KAAK,EAAE,IAAI;yBACZ,CAAC;wBACF,UAAU,EAAE,aAAa,CAAC,GAAG,CAAS,gBAAgB,EAAE;4BACtD,KAAK,EAAE,IAAI;yBACZ,CAAC;qBACH,CAAC;oBACF,OAAO,CAAC,IAAA,iDAAyB,EAAC,YAAY,CAAC,CAAC,CAAC;gBACnD,CAAC;gBACD,MAAM,EAAE,CAAC,sBAAa,CAAC;aACxB;SACF;QACD,OAAO,EAAE,CAAC,oCAAgB,EAAE,kCAAe,CAAC;KAC7C,CAAC;GACW,eAAe,CAAG"}
|
package/dist/apps/monolith/apps/integrations/src/modules/tenant-config/tenant-config.module.js
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
+
exports.TenantConfigModule = void 0;
|
|
10
|
+
const common_1 = require("@nestjs/common");
|
|
11
|
+
const credentials_module_1 = require("../credentials/credentials.module");
|
|
12
|
+
const platform_module_1 = require("../platform/platform.module");
|
|
13
|
+
const tenant_config_service_1 = require("./tenant-config.service");
|
|
14
|
+
let TenantConfigModule = class TenantConfigModule {
|
|
15
|
+
};
|
|
16
|
+
exports.TenantConfigModule = TenantConfigModule;
|
|
17
|
+
exports.TenantConfigModule = TenantConfigModule = __decorate([
|
|
18
|
+
(0, common_1.Module)({
|
|
19
|
+
imports: [platform_module_1.PlatformModule, credentials_module_1.CredentialsModule],
|
|
20
|
+
providers: [tenant_config_service_1.TenantConfigService],
|
|
21
|
+
exports: [tenant_config_service_1.TenantConfigService],
|
|
22
|
+
})
|
|
23
|
+
], TenantConfigModule);
|
|
24
|
+
//# sourceMappingURL=tenant-config.module.js.map
|
package/dist/apps/monolith/apps/integrations/src/modules/tenant-config/tenant-config.module.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tenant-config.module.js","sourceRoot":"","sources":["../../../../../../../../apps/integrations/src/modules/tenant-config/tenant-config.module.ts"],"names":[],"mappings":";;;;;;;;;AAAA,2CAAwC;AACxC,0EAAsE;AACtE,iEAA6D;AAC7D,mEAA8D;AAOvD,IAAM,kBAAkB,GAAxB,MAAM,kBAAkB;CAAG,CAAA;AAArB,gDAAkB;6BAAlB,kBAAkB;IAL9B,IAAA,eAAM,EAAC;QACN,OAAO,EAAE,CAAC,gCAAc,EAAE,sCAAiB,CAAC;QAC5C,SAAS,EAAE,CAAC,2CAAmB,CAAC;QAChC,OAAO,EAAE,CAAC,2CAAmB,CAAC;KAC/B,CAAC;GACW,kBAAkB,CAAG"}
|
package/dist/apps/monolith/apps/integrations/src/modules/tenant-config/tenant-config.service.d.ts
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { EncryptionService } from '../credentials/encryption.service';
|
|
2
|
+
import { MetadataStoreService } from '../platform/metadata-store.service';
|
|
3
|
+
import { ScopeDefinition, TenantProviderConfigData } from '../providers/provider.types';
|
|
4
|
+
export interface CreateTenantConfigInput {
|
|
5
|
+
tenantId: string;
|
|
6
|
+
providerId: string;
|
|
7
|
+
clientId: string;
|
|
8
|
+
clientSecret: string;
|
|
9
|
+
scopes?: string[];
|
|
10
|
+
enabled?: boolean;
|
|
11
|
+
redirectUri?: string;
|
|
12
|
+
}
|
|
13
|
+
export interface UpdateTenantConfigInput {
|
|
14
|
+
clientId?: string;
|
|
15
|
+
clientSecret?: string;
|
|
16
|
+
scopes?: string[];
|
|
17
|
+
enabled?: boolean;
|
|
18
|
+
redirectUri?: string;
|
|
19
|
+
}
|
|
20
|
+
export interface TenantConfigPublic {
|
|
21
|
+
id: string;
|
|
22
|
+
tenantId: string;
|
|
23
|
+
providerId: string;
|
|
24
|
+
clientId: string;
|
|
25
|
+
scopes?: string[];
|
|
26
|
+
enabled: boolean;
|
|
27
|
+
redirectUri?: string;
|
|
28
|
+
createdAt?: string;
|
|
29
|
+
updatedAt?: string;
|
|
30
|
+
}
|
|
31
|
+
export declare class TenantConfigService {
|
|
32
|
+
private readonly metadataStore;
|
|
33
|
+
private readonly encryption;
|
|
34
|
+
private readonly logger;
|
|
35
|
+
constructor(metadataStore: MetadataStoreService, encryption: EncryptionService);
|
|
36
|
+
private compositeId;
|
|
37
|
+
get(tenantId: string, providerId: string): Promise<TenantConfigPublic>;
|
|
38
|
+
listByTenant(tenantId: string): Promise<TenantConfigPublic[]>;
|
|
39
|
+
upsert(input: CreateTenantConfigInput): Promise<TenantConfigPublic>;
|
|
40
|
+
update(tenantId: string, providerId: string, input: UpdateTenantConfigInput): Promise<TenantConfigPublic>;
|
|
41
|
+
remove(tenantId: string, providerId: string): Promise<{
|
|
42
|
+
success: boolean;
|
|
43
|
+
}>;
|
|
44
|
+
decryptClientSecret(config: TenantProviderConfigData): string;
|
|
45
|
+
getFullConfig(tenantId: string, providerId: string): Promise<TenantProviderConfigData>;
|
|
46
|
+
resolveScopes(callerScopes?: string[], tenantScopes?: string[], providerDefaults?: ScopeDefinition[]): string[];
|
|
47
|
+
private toPublic;
|
|
48
|
+
}
|
package/dist/apps/monolith/apps/integrations/src/modules/tenant-config/tenant-config.service.js
ADDED
|
@@ -0,0 +1,136 @@
|
|
|
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 TenantConfigService_1;
|
|
12
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
|
+
exports.TenantConfigService = void 0;
|
|
14
|
+
const common_1 = require("@nestjs/common");
|
|
15
|
+
const encryption_service_1 = require("../credentials/encryption.service");
|
|
16
|
+
const metadata_store_service_1 = require("../platform/metadata-store.service");
|
|
17
|
+
let TenantConfigService = TenantConfigService_1 = class TenantConfigService {
|
|
18
|
+
metadataStore;
|
|
19
|
+
encryption;
|
|
20
|
+
logger = new common_1.Logger(TenantConfigService_1.name);
|
|
21
|
+
constructor(metadataStore, encryption) {
|
|
22
|
+
this.metadataStore = metadataStore;
|
|
23
|
+
this.encryption = encryption;
|
|
24
|
+
}
|
|
25
|
+
compositeId(tenantId, providerId) {
|
|
26
|
+
return `${tenantId}:${providerId}`;
|
|
27
|
+
}
|
|
28
|
+
async get(tenantId, providerId) {
|
|
29
|
+
const id = this.compositeId(tenantId, providerId);
|
|
30
|
+
const record = await this.metadataStore.getById('TenantConfig', id);
|
|
31
|
+
if (!record) {
|
|
32
|
+
throw new common_1.NotFoundException(`Config for tenant=${tenantId} provider=${providerId} not found`);
|
|
33
|
+
}
|
|
34
|
+
return this.toPublic(record);
|
|
35
|
+
}
|
|
36
|
+
async listByTenant(tenantId) {
|
|
37
|
+
const records = await this.metadataStore.list('TenantConfig', {
|
|
38
|
+
filters: { tenantId },
|
|
39
|
+
});
|
|
40
|
+
return records.map((r) => this.toPublic(r));
|
|
41
|
+
}
|
|
42
|
+
async upsert(input) {
|
|
43
|
+
this.logger.debug(`Upserting config for tenant=${input.tenantId} provider=${input.providerId}`);
|
|
44
|
+
const id = this.compositeId(input.tenantId, input.providerId);
|
|
45
|
+
const now = new Date().toISOString();
|
|
46
|
+
const encrypted = this.encryption.encrypt(input.clientSecret);
|
|
47
|
+
const record = {
|
|
48
|
+
id,
|
|
49
|
+
tenantId: input.tenantId,
|
|
50
|
+
providerId: input.providerId,
|
|
51
|
+
clientId: input.clientId,
|
|
52
|
+
encryptedClientSecret: encrypted.ciphertext,
|
|
53
|
+
clientSecretIv: encrypted.iv,
|
|
54
|
+
clientSecretAuthTag: encrypted.authTag,
|
|
55
|
+
scopes: input.scopes,
|
|
56
|
+
enabled: input.enabled ?? true,
|
|
57
|
+
redirectUri: input.redirectUri,
|
|
58
|
+
createdAt: now,
|
|
59
|
+
updatedAt: now,
|
|
60
|
+
};
|
|
61
|
+
await this.metadataStore.upsert('TenantConfig', record);
|
|
62
|
+
return this.toPublic(record);
|
|
63
|
+
}
|
|
64
|
+
async update(tenantId, providerId, input) {
|
|
65
|
+
this.logger.debug(`Updating config for tenant=${tenantId} provider=${providerId}`);
|
|
66
|
+
const id = this.compositeId(tenantId, providerId);
|
|
67
|
+
const existing = await this.metadataStore.getById('TenantConfig', id);
|
|
68
|
+
if (!existing) {
|
|
69
|
+
throw new common_1.NotFoundException(`Config for tenant=${tenantId} provider=${providerId} not found`);
|
|
70
|
+
}
|
|
71
|
+
const current = existing;
|
|
72
|
+
const now = new Date().toISOString();
|
|
73
|
+
const updated = {
|
|
74
|
+
...current,
|
|
75
|
+
clientId: input.clientId ?? current.clientId,
|
|
76
|
+
scopes: input.scopes ?? current.scopes,
|
|
77
|
+
enabled: input.enabled ?? current.enabled,
|
|
78
|
+
redirectUri: input.redirectUri ?? current.redirectUri,
|
|
79
|
+
updatedAt: now,
|
|
80
|
+
};
|
|
81
|
+
if (input.clientSecret) {
|
|
82
|
+
const encrypted = this.encryption.encrypt(input.clientSecret);
|
|
83
|
+
updated.encryptedClientSecret = encrypted.ciphertext;
|
|
84
|
+
updated.clientSecretIv = encrypted.iv;
|
|
85
|
+
updated.clientSecretAuthTag = encrypted.authTag;
|
|
86
|
+
}
|
|
87
|
+
await this.metadataStore.upsert('TenantConfig', updated);
|
|
88
|
+
return this.toPublic(updated);
|
|
89
|
+
}
|
|
90
|
+
async remove(tenantId, providerId) {
|
|
91
|
+
this.logger.debug(`Removing config for tenant=${tenantId} provider=${providerId}`);
|
|
92
|
+
const id = this.compositeId(tenantId, providerId);
|
|
93
|
+
const deleted = await this.metadataStore.remove('TenantConfig', id);
|
|
94
|
+
return { success: deleted };
|
|
95
|
+
}
|
|
96
|
+
decryptClientSecret(config) {
|
|
97
|
+
return this.encryption.decrypt(config.encryptedClientSecret, config.clientSecretIv, config.clientSecretAuthTag);
|
|
98
|
+
}
|
|
99
|
+
async getFullConfig(tenantId, providerId) {
|
|
100
|
+
const id = this.compositeId(tenantId, providerId);
|
|
101
|
+
const record = await this.metadataStore.getById('TenantConfig', id);
|
|
102
|
+
if (!record) {
|
|
103
|
+
throw new common_1.NotFoundException(`Config for tenant=${tenantId} provider=${providerId} not found`);
|
|
104
|
+
}
|
|
105
|
+
return record;
|
|
106
|
+
}
|
|
107
|
+
resolveScopes(callerScopes, tenantScopes, providerDefaults) {
|
|
108
|
+
if (callerScopes && callerScopes.length > 0) {
|
|
109
|
+
return callerScopes;
|
|
110
|
+
}
|
|
111
|
+
if (tenantScopes && tenantScopes.length > 0) {
|
|
112
|
+
return tenantScopes;
|
|
113
|
+
}
|
|
114
|
+
return providerDefaults?.map((s) => s.name) ?? [];
|
|
115
|
+
}
|
|
116
|
+
toPublic(record) {
|
|
117
|
+
return {
|
|
118
|
+
id: record.id,
|
|
119
|
+
tenantId: record.tenantId,
|
|
120
|
+
providerId: record.providerId,
|
|
121
|
+
clientId: record.clientId,
|
|
122
|
+
scopes: record.scopes,
|
|
123
|
+
enabled: record.enabled,
|
|
124
|
+
redirectUri: record.redirectUri,
|
|
125
|
+
createdAt: record.createdAt,
|
|
126
|
+
updatedAt: record.updatedAt,
|
|
127
|
+
};
|
|
128
|
+
}
|
|
129
|
+
};
|
|
130
|
+
exports.TenantConfigService = TenantConfigService;
|
|
131
|
+
exports.TenantConfigService = TenantConfigService = TenantConfigService_1 = __decorate([
|
|
132
|
+
(0, common_1.Injectable)(),
|
|
133
|
+
__metadata("design:paramtypes", [metadata_store_service_1.MetadataStoreService,
|
|
134
|
+
encryption_service_1.EncryptionService])
|
|
135
|
+
], TenantConfigService);
|
|
136
|
+
//# sourceMappingURL=tenant-config.service.js.map
|
package/dist/apps/monolith/apps/integrations/src/modules/tenant-config/tenant-config.service.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tenant-config.service.js","sourceRoot":"","sources":["../../../../../../../../apps/integrations/src/modules/tenant-config/tenant-config.service.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,2CAAuE;AACvE,0EAAsE;AACtE,+EAA0E;AAqCnE,IAAM,mBAAmB,2BAAzB,MAAM,mBAAmB;IAIX;IACA;IAJF,MAAM,GAAG,IAAI,eAAM,CAAC,qBAAmB,CAAC,IAAI,CAAC,CAAC;IAE/D,YACmB,aAAmC,EACnC,UAA6B;QAD7B,kBAAa,GAAb,aAAa,CAAsB;QACnC,eAAU,GAAV,UAAU,CAAmB;IAC7C,CAAC;IAEI,WAAW,CAAC,QAAgB,EAAE,UAAkB;QACtD,OAAO,GAAG,QAAQ,IAAI,UAAU,EAAE,CAAC;IACrC,CAAC;IAEM,KAAK,CAAC,GAAG,CACd,QA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__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 __importDefault = (this && this.__importDefault) || function (mod) {
|
|
9
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.MonolithAppModule = void 0;
|
|
13
|
+
const common_1 = require("@nestjs/common");
|
|
14
|
+
const core_1 = require("@nestjs/core");
|
|
15
|
+
const config_1 = require("@nestjs/config");
|
|
16
|
+
const throttler_1 = require("@nestjs/throttler");
|
|
17
|
+
const project_provider_1 = require("../../../libs/project-provider/src");
|
|
18
|
+
const agentcraft_1 = require("../../../libs/agentcraft/src");
|
|
19
|
+
const common_2 = require("../../../libs/common/src");
|
|
20
|
+
const agentmanager_core_module_1 = require("../../agentmanager/src/agentmanager-core.module");
|
|
21
|
+
const agentcraft_core_module_1 = require("../../agentcraft/src/agentcraft-core.module");
|
|
22
|
+
const fabric_core_module_1 = require("../../fabric/src/fabric-core.module");
|
|
23
|
+
const integrations_core_module_1 = require("../../integrations/src/integrations-core.module");
|
|
24
|
+
const inbox_service_1 = require("../../agentmanager/src/inbox/inbox.service");
|
|
25
|
+
const configuration_1 = __importDefault(require("./config/configuration"));
|
|
26
|
+
const configuration_2 = __importDefault(require("../../fabric/src/config/configuration"));
|
|
27
|
+
const entities_1 = require("../../fabric/src/database/entities");
|
|
28
|
+
const health_module_1 = require("./health/health.module");
|
|
29
|
+
let MonolithAppModule = class MonolithAppModule {
|
|
30
|
+
};
|
|
31
|
+
exports.MonolithAppModule = MonolithAppModule;
|
|
32
|
+
exports.MonolithAppModule = MonolithAppModule = __decorate([
|
|
33
|
+
(0, common_1.Module)({
|
|
34
|
+
imports: [
|
|
35
|
+
config_1.ConfigModule.forRoot({
|
|
36
|
+
isGlobal: true,
|
|
37
|
+
load: [configuration_1.default, configuration_2.default],
|
|
38
|
+
}),
|
|
39
|
+
throttler_1.ThrottlerModule.forRoot([{ ttl: 60_000, limit: 100 }]),
|
|
40
|
+
common_2.DatabaseModule.forRootAsync({
|
|
41
|
+
inject: [configuration_2.default.KEY],
|
|
42
|
+
useFactory: (config) => ({
|
|
43
|
+
dataPath: config.dataPath,
|
|
44
|
+
database: config.database,
|
|
45
|
+
embeddedDbPort: config.embeddedDbPort,
|
|
46
|
+
embeddedDbName: config.embeddedDbName,
|
|
47
|
+
entities: entities_1.fabricEntities,
|
|
48
|
+
}),
|
|
49
|
+
}),
|
|
50
|
+
project_provider_1.ProjectProviderModule.forRootAsync(),
|
|
51
|
+
agentcraft_1.AgentcraftModule.forRootAsync(),
|
|
52
|
+
agentmanager_core_module_1.AgentManagerCoreModule.forRoot('agentmanager/api'),
|
|
53
|
+
agentcraft_core_module_1.AgentcraftCoreModule.forRoot('agentcraft/api'),
|
|
54
|
+
fabric_core_module_1.FabricCoreModule.forRoot('fabric/api'),
|
|
55
|
+
integrations_core_module_1.IntegrationsCoreModule.forRoot('integrations/api'),
|
|
56
|
+
health_module_1.MonolithHealthModule,
|
|
57
|
+
],
|
|
58
|
+
providers: [
|
|
59
|
+
{ provide: core_1.APP_FILTER, useClass: common_2.DomainExceptionFilter },
|
|
60
|
+
{ provide: core_1.APP_GUARD, useClass: throttler_1.ThrottlerGuard },
|
|
61
|
+
{ provide: core_1.APP_INTERCEPTOR, useClass: common_2.LoggingInterceptor },
|
|
62
|
+
{
|
|
63
|
+
provide: project_provider_1.INBOX_HANDLER,
|
|
64
|
+
useExisting: inbox_service_1.InboxService,
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
provide: project_provider_1.INBOX_CLIENT,
|
|
68
|
+
useClass: project_provider_1.DirectInboxClientService,
|
|
69
|
+
},
|
|
70
|
+
],
|
|
71
|
+
})
|
|
72
|
+
], MonolithAppModule);
|
|
73
|
+
//# sourceMappingURL=app.module.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"app.module.js","sourceRoot":"","sources":["../../../../../../apps/monolith/src/app.module.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2CAAwC;AACxC,uCAAsE;AACtE,2CAA8C;AAE9C,iDAAoE;AACpE,yEAK+B;AAC/B,6DAAmD;AACnD,qDAIqB;AACrB,8FAAyF;AACzF,wFAAmF;AACnF,4EAAuE;AACvE,8FAAyF;AACzF,8EAA0E;AAC1E,2EAAoD;AACpD,0FAAiE;AACjE,iEAAoE;AACpE,0DAA8D;AAiDvD,IAAM,iBAAiB,GAAvB,MAAM,iBAAiB;CAAG,CAAA;AAApB,8CAAiB;4BAAjB,iBAAiB;IA/C7B,IAAA,eAAM,EAAC;QACN,OAAO,EAAE;YACP,qBAAY,CAAC,OAAO,CAAC;gBACnB,QAAQ,EAAE,IAAI;gBACd,IAAI,EAAE,CAAC,uBAAc,EAAE,uBAAY,CAAC;aACrC,CAAC;YACF,2BAAe,CAAC,OAAO,CAAC,CAAC,EAAE,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,EAAE,CAAC,CAAC;YAGtD,uBAAc,CAAC,YAAY,CAAC;gBAC1B,MAAM,EAAE,CAAC,uBAAY,CAAC,GAAG,CAAC;gBAC1B,UAAU,EAAE,CAAC,MAAuC,EAAE,EAAE,CAAC,CAAC;oBACxD,QAAQ,EAAE,MAAM,CAAC,QAAQ;oBACzB,QAAQ,EAAE,MAAM,CAAC,QAAQ;oBACzB,cAAc,EAAE,MAAM,CAAC,cAAc;oBACrC,cAAc,EAAE,MAAM,CAAC,cAAc;oBACrC,QAAQ,EAAE,yBAAc;iBACzB,CAAC;aACH,CAAC;YAGF,wCAAqB,CAAC,YAAY,EAAE;YACpC,6BAAgB,CAAC,YAAY,EAAE;YAG/B,iDAAsB,CAAC,OAAO,CAAC,kBAAkB,CAAC;YAClD,6CAAoB,CAAC,OAAO,CAAC,gBAAgB,CAAC;YAC9C,qCAAgB,CAAC,OAAO,CAAC,YAAY,CAAC;YACtC,iDAAsB,CAAC,OAAO,CAAC,kBAAkB,CAAC;YAElD,oCAAoB;SACrB;QACD,SAAS,EAAE;YACT,EAAE,OAAO,EAAE,iBAAU,EAAE,QAAQ,EAAE,8BAAqB,EAAE;YACxD,EAAE,OAAO,EAAE,gBAAS,EAAE,QAAQ,EAAE,0BAAc,EAAE;YAChD,EAAE,OAAO,EAAE,sBAAe,EAAE,QAAQ,EAAE,2BAAkB,EAAE;YAE1D;gBACE,OAAO,EAAE,gCAAa;gBACtB,WAAW,EAAE,4BAAY;aAC1B;YACD;gBACE,OAAO,EAAE,+BAAY;gBACrB,QAAQ,EAAE,2CAAwB;aACnC;SACF;KACF,CAAC;GACW,iBAAiB,CAAG"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
declare const configSchema: z.ZodObject<{
|
|
3
|
+
port: z.ZodNumber;
|
|
4
|
+
registryPath: z.ZodString;
|
|
5
|
+
inboxesPath: z.ZodString;
|
|
6
|
+
outputDir: z.ZodString;
|
|
7
|
+
llm: z.ZodNullable<z.ZodObject<{
|
|
8
|
+
provider: z.ZodString;
|
|
9
|
+
model: z.ZodString;
|
|
10
|
+
apiKey: z.ZodString;
|
|
11
|
+
}, z.core.$strip>>;
|
|
12
|
+
architect: z.ZodObject<{
|
|
13
|
+
debounceMs: z.ZodNumber;
|
|
14
|
+
phaseRetries: z.ZodNumber;
|
|
15
|
+
subAppRetries: z.ZodNumber;
|
|
16
|
+
}, z.core.$strip>;
|
|
17
|
+
deploymentService: z.ZodOptional<z.ZodObject<{
|
|
18
|
+
baseUrl: z.ZodString;
|
|
19
|
+
}, z.core.$strip>>;
|
|
20
|
+
cors: z.ZodObject<{
|
|
21
|
+
origins: z.ZodArray<z.ZodString>;
|
|
22
|
+
}, z.core.$strip>;
|
|
23
|
+
}, z.core.$strip>;
|
|
24
|
+
export type MonolithConfiguration = z.infer<typeof configSchema>;
|
|
25
|
+
declare const _default: () => MonolithConfiguration;
|
|
26
|
+
export default _default;
|