@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.
Files changed (815) hide show
  1. package/dist/apps/monolith/apps/agentcraft/src/agentcraft-core.module.d.ts +4 -0
  2. package/dist/apps/monolith/apps/agentcraft/src/agentcraft-core.module.js +49 -0
  3. package/dist/apps/monolith/apps/agentcraft/src/agentcraft-core.module.js.map +1 -0
  4. package/dist/apps/monolith/apps/agentcraft/src/architect/architect.controller.d.ts +17 -0
  5. package/dist/apps/monolith/apps/agentcraft/src/architect/architect.controller.js +87 -0
  6. package/dist/apps/monolith/apps/agentcraft/src/architect/architect.controller.js.map +1 -0
  7. package/dist/apps/monolith/apps/agentcraft/src/architect/architect.module.d.ts +2 -0
  8. package/dist/apps/monolith/apps/agentcraft/src/architect/architect.module.js +24 -0
  9. package/dist/apps/monolith/apps/agentcraft/src/architect/architect.module.js.map +1 -0
  10. package/dist/apps/monolith/apps/agentcraft/src/architect/architect.service.d.ts +34 -0
  11. package/dist/apps/monolith/apps/agentcraft/src/architect/architect.service.js +170 -0
  12. package/dist/apps/monolith/apps/agentcraft/src/architect/architect.service.js.map +1 -0
  13. package/dist/apps/monolith/apps/agentcraft/src/architect/architect.store.d.ts +25 -0
  14. package/dist/apps/monolith/apps/agentcraft/src/architect/architect.store.js +50 -0
  15. package/dist/apps/monolith/apps/agentcraft/src/architect/architect.store.js.map +1 -0
  16. package/dist/apps/monolith/apps/agentcraft/src/architect/dto/ingest-signal.dto.d.ts +40 -0
  17. package/dist/apps/monolith/apps/agentcraft/src/architect/dto/ingest-signal.dto.js +24 -0
  18. package/dist/apps/monolith/apps/agentcraft/src/architect/dto/ingest-signal.dto.js.map +1 -0
  19. package/dist/apps/monolith/apps/agentcraft/src/architect/interfaces/architect.interfaces.d.ts +21 -0
  20. package/dist/apps/monolith/apps/agentcraft/src/architect/interfaces/architect.interfaces.js +3 -0
  21. package/dist/apps/monolith/apps/agentcraft/src/architect/interfaces/architect.interfaces.js.map +1 -0
  22. package/dist/apps/monolith/apps/agentcraft/src/autonomous/autonomous.controller.d.ts +17 -0
  23. package/dist/apps/monolith/apps/agentcraft/src/autonomous/autonomous.controller.js +117 -0
  24. package/dist/apps/monolith/apps/agentcraft/src/autonomous/autonomous.controller.js.map +1 -0
  25. package/dist/apps/monolith/apps/agentcraft/src/autonomous/autonomous.module.d.ts +2 -0
  26. package/dist/apps/monolith/apps/agentcraft/src/autonomous/autonomous.module.js +22 -0
  27. package/dist/apps/monolith/apps/agentcraft/src/autonomous/autonomous.module.js.map +1 -0
  28. package/dist/apps/monolith/apps/agentcraft/src/autonomous/autonomous.service.d.ts +48 -0
  29. package/dist/apps/monolith/apps/agentcraft/src/autonomous/autonomous.service.js +121 -0
  30. package/dist/apps/monolith/apps/agentcraft/src/autonomous/autonomous.service.js.map +1 -0
  31. package/dist/apps/monolith/apps/agentcraft/src/autonomous/dto/run-autonomous.dto.d.ts +26 -0
  32. package/dist/apps/monolith/apps/agentcraft/src/autonomous/dto/run-autonomous.dto.js +20 -0
  33. package/dist/apps/monolith/apps/agentcraft/src/autonomous/dto/run-autonomous.dto.js.map +1 -0
  34. package/dist/apps/monolith/apps/agentcraft/src/autonomous/dto/watch-kb.dto.d.ts +18 -0
  35. package/dist/apps/monolith/apps/agentcraft/src/autonomous/dto/watch-kb.dto.js +20 -0
  36. package/dist/apps/monolith/apps/agentcraft/src/autonomous/dto/watch-kb.dto.js.map +1 -0
  37. package/dist/apps/monolith/apps/agentcraft/src/health/health.controller.d.ts +7 -0
  38. package/dist/apps/monolith/apps/agentcraft/src/health/health.controller.js +41 -0
  39. package/dist/apps/monolith/apps/agentcraft/src/health/health.controller.js.map +1 -0
  40. package/dist/apps/monolith/apps/agentcraft/src/health/health.module.d.ts +2 -0
  41. package/dist/apps/monolith/apps/agentcraft/src/health/health.module.js +22 -0
  42. package/dist/apps/monolith/apps/agentcraft/src/health/health.module.js.map +1 -0
  43. package/dist/apps/monolith/apps/agentcraft/src/resolver/dto/create-resolver.dto.d.ts +22 -0
  44. package/dist/apps/monolith/apps/agentcraft/src/resolver/dto/create-resolver.dto.js +18 -0
  45. package/dist/apps/monolith/apps/agentcraft/src/resolver/dto/create-resolver.dto.js.map +1 -0
  46. package/dist/apps/monolith/apps/agentcraft/src/resolver/dto/install-registry.dto.d.ts +14 -0
  47. package/dist/apps/monolith/apps/agentcraft/src/resolver/dto/install-registry.dto.js +14 -0
  48. package/dist/apps/monolith/apps/agentcraft/src/resolver/dto/install-registry.dto.js.map +1 -0
  49. package/dist/apps/monolith/apps/agentcraft/src/resolver/dto/search-registry-query.dto.d.ts +10 -0
  50. package/dist/apps/monolith/apps/agentcraft/src/resolver/dto/search-registry-query.dto.js +12 -0
  51. package/dist/apps/monolith/apps/agentcraft/src/resolver/dto/search-registry-query.dto.js.map +1 -0
  52. package/dist/apps/monolith/apps/agentcraft/src/resolver/dto/submit-action.dto.d.ts +1 -0
  53. package/dist/apps/monolith/apps/agentcraft/src/resolver/dto/submit-action.dto.js +7 -0
  54. package/dist/apps/monolith/apps/agentcraft/src/resolver/dto/submit-action.dto.js.map +1 -0
  55. package/dist/apps/monolith/apps/agentcraft/src/resolver/resolver-session.store.d.ts +19 -0
  56. package/dist/apps/monolith/apps/agentcraft/src/resolver/resolver-session.store.js +39 -0
  57. package/dist/apps/monolith/apps/agentcraft/src/resolver/resolver-session.store.js.map +1 -0
  58. package/dist/apps/monolith/apps/agentcraft/src/resolver/resolver.controller.d.ts +36 -0
  59. package/dist/apps/monolith/apps/agentcraft/src/resolver/resolver.controller.js +121 -0
  60. package/dist/apps/monolith/apps/agentcraft/src/resolver/resolver.controller.js.map +1 -0
  61. package/dist/apps/monolith/apps/agentcraft/src/resolver/resolver.module.d.ts +2 -0
  62. package/dist/apps/monolith/apps/agentcraft/src/resolver/resolver.module.js +23 -0
  63. package/dist/apps/monolith/apps/agentcraft/src/resolver/resolver.module.js.map +1 -0
  64. package/dist/apps/monolith/apps/agentcraft/src/resolver/resolver.service.d.ts +42 -0
  65. package/dist/apps/monolith/apps/agentcraft/src/resolver/resolver.service.js +101 -0
  66. package/dist/apps/monolith/apps/agentcraft/src/resolver/resolver.service.js.map +1 -0
  67. package/dist/apps/monolith/apps/agentcraft/src/sessions/dto/create-session.dto.d.ts +18 -0
  68. package/dist/apps/monolith/apps/agentcraft/src/sessions/dto/create-session.dto.js +16 -0
  69. package/dist/apps/monolith/apps/agentcraft/src/sessions/dto/create-session.dto.js.map +1 -0
  70. package/dist/apps/monolith/apps/agentcraft/src/sessions/dto/submit-action.dto.d.ts +1 -0
  71. package/dist/apps/monolith/apps/agentcraft/src/sessions/dto/submit-action.dto.js +7 -0
  72. package/dist/apps/monolith/apps/agentcraft/src/sessions/dto/submit-action.dto.js.map +1 -0
  73. package/dist/apps/monolith/apps/agentcraft/src/sessions/dto/submit-idea.dto.d.ts +10 -0
  74. package/dist/apps/monolith/apps/agentcraft/src/sessions/dto/submit-idea.dto.js +12 -0
  75. package/dist/apps/monolith/apps/agentcraft/src/sessions/dto/submit-idea.dto.js.map +1 -0
  76. package/dist/apps/monolith/apps/agentcraft/src/sessions/session.store.d.ts +19 -0
  77. package/dist/apps/monolith/apps/agentcraft/src/sessions/session.store.js +39 -0
  78. package/dist/apps/monolith/apps/agentcraft/src/sessions/session.store.js.map +1 -0
  79. package/dist/apps/monolith/apps/agentcraft/src/sessions/sessions.controller.d.ts +47 -0
  80. package/dist/apps/monolith/apps/agentcraft/src/sessions/sessions.controller.js +139 -0
  81. package/dist/apps/monolith/apps/agentcraft/src/sessions/sessions.controller.js.map +1 -0
  82. package/dist/apps/monolith/apps/agentcraft/src/sessions/sessions.module.d.ts +2 -0
  83. package/dist/apps/monolith/apps/agentcraft/src/sessions/sessions.module.js +23 -0
  84. package/dist/apps/monolith/apps/agentcraft/src/sessions/sessions.module.js.map +1 -0
  85. package/dist/apps/monolith/apps/agentcraft/src/sessions/sessions.service.d.ts +60 -0
  86. package/dist/apps/monolith/apps/agentcraft/src/sessions/sessions.service.js +203 -0
  87. package/dist/apps/monolith/apps/agentcraft/src/sessions/sessions.service.js.map +1 -0
  88. package/dist/apps/monolith/apps/agentmanager/src/agentmanager-core.module.d.ts +4 -0
  89. package/dist/apps/monolith/apps/agentmanager/src/agentmanager-core.module.js +54 -0
  90. package/dist/apps/monolith/apps/agentmanager/src/agentmanager-core.module.js.map +1 -0
  91. package/dist/apps/monolith/apps/agentmanager/src/deployments/deployments.controller.d.ts +9 -0
  92. package/dist/apps/monolith/apps/agentmanager/src/deployments/deployments.controller.js +50 -0
  93. package/dist/apps/monolith/apps/agentmanager/src/deployments/deployments.controller.js.map +1 -0
  94. package/dist/apps/monolith/apps/agentmanager/src/deployments/deployments.module.d.ts +2 -0
  95. package/dist/apps/monolith/apps/agentmanager/src/deployments/deployments.module.js +23 -0
  96. package/dist/apps/monolith/apps/agentmanager/src/deployments/deployments.module.js.map +1 -0
  97. package/dist/apps/monolith/apps/agentmanager/src/deployments/deployments.service.d.ts +17 -0
  98. package/dist/apps/monolith/apps/agentmanager/src/deployments/deployments.service.js +169 -0
  99. package/dist/apps/monolith/apps/agentmanager/src/deployments/deployments.service.js.map +1 -0
  100. package/dist/apps/monolith/apps/agentmanager/src/deployments/errors/deployment.errors.d.ts +7 -0
  101. package/dist/apps/monolith/apps/agentmanager/src/deployments/errors/deployment.errors.js +17 -0
  102. package/dist/apps/monolith/apps/agentmanager/src/deployments/errors/deployment.errors.js.map +1 -0
  103. package/dist/apps/monolith/apps/agentmanager/src/deployments/interfaces/deployment.interfaces.d.ts +22 -0
  104. package/dist/apps/monolith/apps/agentmanager/src/deployments/interfaces/deployment.interfaces.js +3 -0
  105. package/dist/apps/monolith/apps/agentmanager/src/deployments/interfaces/deployment.interfaces.js.map +1 -0
  106. package/dist/apps/monolith/apps/agentmanager/src/discovery/discovery.controller.d.ts +7 -0
  107. package/dist/apps/monolith/apps/agentmanager/src/discovery/discovery.controller.js +41 -0
  108. package/dist/apps/monolith/apps/agentmanager/src/discovery/discovery.controller.js.map +1 -0
  109. package/dist/apps/monolith/apps/agentmanager/src/discovery/discovery.module.d.ts +2 -0
  110. package/dist/apps/monolith/apps/agentmanager/src/discovery/discovery.module.js +41 -0
  111. package/dist/apps/monolith/apps/agentmanager/src/discovery/discovery.module.js.map +1 -0
  112. package/dist/apps/monolith/apps/agentmanager/src/discovery/discovery.service.d.ts +17 -0
  113. package/dist/apps/monolith/apps/agentmanager/src/discovery/discovery.service.js +160 -0
  114. package/dist/apps/monolith/apps/agentmanager/src/discovery/discovery.service.js.map +1 -0
  115. package/dist/apps/monolith/apps/agentmanager/src/discovery/dto/discover.dto.d.ts +10 -0
  116. package/dist/apps/monolith/apps/agentmanager/src/discovery/dto/discover.dto.js +12 -0
  117. package/dist/apps/monolith/apps/agentmanager/src/discovery/dto/discover.dto.js.map +1 -0
  118. package/dist/apps/monolith/apps/agentmanager/src/discovery/interfaces/discovery.interfaces.d.ts +21 -0
  119. package/dist/apps/monolith/apps/agentmanager/src/discovery/interfaces/discovery.interfaces.js +3 -0
  120. package/dist/apps/monolith/apps/agentmanager/src/discovery/interfaces/discovery.interfaces.js.map +1 -0
  121. package/dist/apps/monolith/apps/agentmanager/src/discovery/llm/anthropic-llm.service.d.ts +8 -0
  122. package/dist/apps/monolith/apps/agentmanager/src/discovery/llm/anthropic-llm.service.js +67 -0
  123. package/dist/apps/monolith/apps/agentmanager/src/discovery/llm/anthropic-llm.service.js.map +1 -0
  124. package/dist/apps/monolith/apps/agentmanager/src/discovery/llm/llm-provider.interface.d.ts +14 -0
  125. package/dist/apps/monolith/apps/agentmanager/src/discovery/llm/llm-provider.interface.js +5 -0
  126. package/dist/apps/monolith/apps/agentmanager/src/discovery/llm/llm-provider.interface.js.map +1 -0
  127. package/dist/apps/monolith/apps/agentmanager/src/discovery/llm/llm.errors.d.ts +4 -0
  128. package/dist/apps/monolith/apps/agentmanager/src/discovery/llm/llm.errors.js +11 -0
  129. package/dist/apps/monolith/apps/agentmanager/src/discovery/llm/llm.errors.js.map +1 -0
  130. package/dist/apps/monolith/apps/agentmanager/src/discovery/llm/openai-llm.service.d.ts +8 -0
  131. package/dist/apps/monolith/apps/agentmanager/src/discovery/llm/openai-llm.service.js +69 -0
  132. package/dist/apps/monolith/apps/agentmanager/src/discovery/llm/openai-llm.service.js.map +1 -0
  133. package/dist/apps/monolith/apps/agentmanager/src/employee-code/dto/put-config.dto.d.ts +10 -0
  134. package/dist/apps/monolith/apps/agentmanager/src/employee-code/dto/put-config.dto.js +12 -0
  135. package/dist/apps/monolith/apps/agentmanager/src/employee-code/dto/put-config.dto.js.map +1 -0
  136. package/dist/apps/monolith/apps/agentmanager/src/employee-code/dto/put-module.dto.d.ts +10 -0
  137. package/dist/apps/monolith/apps/agentmanager/src/employee-code/dto/put-module.dto.js +12 -0
  138. package/dist/apps/monolith/apps/agentmanager/src/employee-code/dto/put-module.dto.js.map +1 -0
  139. package/dist/apps/monolith/apps/agentmanager/src/employee-code/dto/put-package.dto.d.ts +16 -0
  140. package/dist/apps/monolith/apps/agentmanager/src/employee-code/dto/put-package.dto.js +17 -0
  141. package/dist/apps/monolith/apps/agentmanager/src/employee-code/dto/put-package.dto.js.map +1 -0
  142. package/dist/apps/monolith/apps/agentmanager/src/employee-code/employee-code.controller.d.ts +20 -0
  143. package/dist/apps/monolith/apps/agentmanager/src/employee-code/employee-code.controller.js +130 -0
  144. package/dist/apps/monolith/apps/agentmanager/src/employee-code/employee-code.controller.js.map +1 -0
  145. package/dist/apps/monolith/apps/agentmanager/src/employee-code/employee-code.module.d.ts +2 -0
  146. package/dist/apps/monolith/apps/agentmanager/src/employee-code/employee-code.module.js +23 -0
  147. package/dist/apps/monolith/apps/agentmanager/src/employee-code/employee-code.module.js.map +1 -0
  148. package/dist/apps/monolith/apps/agentmanager/src/employee-code/employee-code.service.d.ts +13 -0
  149. package/dist/apps/monolith/apps/agentmanager/src/employee-code/employee-code.service.js +54 -0
  150. package/dist/apps/monolith/apps/agentmanager/src/employee-code/employee-code.service.js.map +1 -0
  151. package/dist/apps/monolith/apps/agentmanager/src/employees/dto/register-employee.dto.d.ts +12 -0
  152. package/dist/apps/monolith/apps/agentmanager/src/employees/dto/register-employee.dto.js +13 -0
  153. package/dist/apps/monolith/apps/agentmanager/src/employees/dto/register-employee.dto.js.map +1 -0
  154. package/dist/apps/monolith/apps/agentmanager/src/employees/employees.controller.d.ts +12 -0
  155. package/dist/apps/monolith/apps/agentmanager/src/employees/employees.controller.js +76 -0
  156. package/dist/apps/monolith/apps/agentmanager/src/employees/employees.controller.js.map +1 -0
  157. package/dist/apps/monolith/apps/agentmanager/src/employees/employees.module.d.ts +2 -0
  158. package/dist/apps/monolith/apps/agentmanager/src/employees/employees.module.js +23 -0
  159. package/dist/apps/monolith/apps/agentmanager/src/employees/employees.module.js.map +1 -0
  160. package/dist/apps/monolith/apps/agentmanager/src/employees/employees.service.d.ts +9 -0
  161. package/dist/apps/monolith/apps/agentmanager/src/employees/employees.service.js +42 -0
  162. package/dist/apps/monolith/apps/agentmanager/src/employees/employees.service.js.map +1 -0
  163. package/dist/apps/monolith/apps/agentmanager/src/health/health.controller.d.ts +7 -0
  164. package/dist/apps/monolith/apps/agentmanager/src/health/health.controller.js +41 -0
  165. package/dist/apps/monolith/apps/agentmanager/src/health/health.controller.js.map +1 -0
  166. package/dist/apps/monolith/apps/agentmanager/src/health/health.module.d.ts +2 -0
  167. package/dist/apps/monolith/apps/agentmanager/src/health/health.module.js +22 -0
  168. package/dist/apps/monolith/apps/agentmanager/src/health/health.module.js.map +1 -0
  169. package/dist/apps/monolith/apps/agentmanager/src/inbox/dto/list-messages-query.dto.d.ts +30 -0
  170. package/dist/apps/monolith/apps/agentmanager/src/inbox/dto/list-messages-query.dto.js +14 -0
  171. package/dist/apps/monolith/apps/agentmanager/src/inbox/dto/list-messages-query.dto.js.map +1 -0
  172. package/dist/apps/monolith/apps/agentmanager/src/inbox/dto/push-message.dto.d.ts +80 -0
  173. package/dist/apps/monolith/apps/agentmanager/src/inbox/dto/push-message.dto.js +49 -0
  174. package/dist/apps/monolith/apps/agentmanager/src/inbox/dto/push-message.dto.js.map +1 -0
  175. package/dist/apps/monolith/apps/agentmanager/src/inbox/dto/respond-message.dto.d.ts +12 -0
  176. package/dist/apps/monolith/apps/agentmanager/src/inbox/dto/respond-message.dto.js +13 -0
  177. package/dist/apps/monolith/apps/agentmanager/src/inbox/dto/respond-message.dto.js.map +1 -0
  178. package/dist/apps/monolith/apps/agentmanager/src/inbox/inbox.controller.d.ts +15 -0
  179. package/dist/apps/monolith/apps/agentmanager/src/inbox/inbox.controller.js +103 -0
  180. package/dist/apps/monolith/apps/agentmanager/src/inbox/inbox.controller.js.map +1 -0
  181. package/dist/apps/monolith/apps/agentmanager/src/inbox/inbox.module.d.ts +2 -0
  182. package/dist/apps/monolith/apps/agentmanager/src/inbox/inbox.module.js +23 -0
  183. package/dist/apps/monolith/apps/agentmanager/src/inbox/inbox.module.js.map +1 -0
  184. package/dist/apps/monolith/apps/agentmanager/src/inbox/inbox.service.d.ts +16 -0
  185. package/dist/apps/monolith/apps/agentmanager/src/inbox/inbox.service.js +173 -0
  186. package/dist/apps/monolith/apps/agentmanager/src/inbox/inbox.service.js.map +1 -0
  187. package/dist/apps/monolith/apps/agentmanager/src/projects/dto/create-project.dto.d.ts +14 -0
  188. package/dist/apps/monolith/apps/agentmanager/src/projects/dto/create-project.dto.js +14 -0
  189. package/dist/apps/monolith/apps/agentmanager/src/projects/dto/create-project.dto.js.map +1 -0
  190. package/dist/apps/monolith/apps/agentmanager/src/projects/projects.controller.d.ts +17 -0
  191. package/dist/apps/monolith/apps/agentmanager/src/projects/projects.controller.js +73 -0
  192. package/dist/apps/monolith/apps/agentmanager/src/projects/projects.controller.js.map +1 -0
  193. package/dist/apps/monolith/apps/agentmanager/src/projects/projects.module.d.ts +2 -0
  194. package/dist/apps/monolith/apps/agentmanager/src/projects/projects.module.js +23 -0
  195. package/dist/apps/monolith/apps/agentmanager/src/projects/projects.module.js.map +1 -0
  196. package/dist/apps/monolith/apps/agentmanager/src/projects/projects.service.d.ts +11 -0
  197. package/dist/apps/monolith/apps/agentmanager/src/projects/projects.service.js +39 -0
  198. package/dist/apps/monolith/apps/agentmanager/src/projects/projects.service.js.map +1 -0
  199. package/dist/apps/monolith/apps/fabric/src/ai-agent/ai-agent.module.d.ts +2 -0
  200. package/dist/apps/monolith/apps/fabric/src/ai-agent/ai-agent.module.js +82 -0
  201. package/dist/apps/monolith/apps/fabric/src/ai-agent/ai-agent.module.js.map +1 -0
  202. package/dist/apps/monolith/apps/fabric/src/ai-agent/ai-agent.service.d.ts +63 -0
  203. package/dist/apps/monolith/apps/fabric/src/ai-agent/ai-agent.service.js +295 -0
  204. package/dist/apps/monolith/apps/fabric/src/ai-agent/ai-agent.service.js.map +1 -0
  205. package/dist/apps/monolith/apps/fabric/src/ai-agent/probe-investigation.types.d.ts +19 -0
  206. package/dist/apps/monolith/apps/fabric/src/ai-agent/probe-investigation.types.js +3 -0
  207. package/dist/apps/monolith/apps/fabric/src/ai-agent/probe-investigation.types.js.map +1 -0
  208. package/dist/apps/monolith/apps/fabric/src/auth/current-user.decorator.d.ts +2 -0
  209. package/dist/apps/monolith/apps/fabric/src/auth/current-user.decorator.js +11 -0
  210. package/dist/apps/monolith/apps/fabric/src/auth/current-user.decorator.js.map +1 -0
  211. package/dist/apps/monolith/apps/fabric/src/auth/request-user.d.ts +4 -0
  212. package/dist/apps/monolith/apps/fabric/src/auth/request-user.js +3 -0
  213. package/dist/apps/monolith/apps/fabric/src/auth/request-user.js.map +1 -0
  214. package/dist/apps/monolith/apps/fabric/src/config/configuration.d.ts +57 -0
  215. package/dist/apps/monolith/apps/fabric/src/config/configuration.js +185 -0
  216. package/dist/apps/monolith/apps/fabric/src/config/configuration.js.map +1 -0
  217. package/dist/apps/monolith/apps/fabric/src/database/entities/deployment-event.entity.d.ts +11 -0
  218. package/dist/apps/monolith/apps/fabric/src/database/entities/deployment-event.entity.js +67 -0
  219. package/dist/apps/monolith/apps/fabric/src/database/entities/deployment-event.entity.js.map +1 -0
  220. package/dist/apps/monolith/apps/fabric/src/database/entities/environment.entity.d.ts +9 -0
  221. package/dist/apps/monolith/apps/fabric/src/database/entities/environment.entity.js +55 -0
  222. package/dist/apps/monolith/apps/fabric/src/database/entities/environment.entity.js.map +1 -0
  223. package/dist/apps/monolith/apps/fabric/src/database/entities/index.d.ts +8 -0
  224. package/dist/apps/monolith/apps/fabric/src/database/entities/index.js +24 -0
  225. package/dist/apps/monolith/apps/fabric/src/database/entities/index.js.map +1 -0
  226. package/dist/apps/monolith/apps/fabric/src/database/entities/project.entity.d.ts +9 -0
  227. package/dist/apps/monolith/apps/fabric/src/database/entities/project.entity.js +55 -0
  228. package/dist/apps/monolith/apps/fabric/src/database/entities/project.entity.js.map +1 -0
  229. package/dist/apps/monolith/apps/fabric/src/database/entities/runtime.entity.d.ts +19 -0
  230. package/dist/apps/monolith/apps/fabric/src/database/entities/runtime.entity.js +105 -0
  231. package/dist/apps/monolith/apps/fabric/src/database/entities/runtime.entity.js.map +1 -0
  232. package/dist/apps/monolith/apps/fabric/src/database/entities/user-config.entity.d.ts +8 -0
  233. package/dist/apps/monolith/apps/fabric/src/database/entities/user-config.entity.js +50 -0
  234. package/dist/apps/monolith/apps/fabric/src/database/entities/user-config.entity.js.map +1 -0
  235. package/dist/apps/monolith/apps/fabric/src/database/entities/version.entity.d.ts +8 -0
  236. package/dist/apps/monolith/apps/fabric/src/database/entities/version.entity.js +50 -0
  237. package/dist/apps/monolith/apps/fabric/src/database/entities/version.entity.js.map +1 -0
  238. package/dist/apps/monolith/apps/fabric/src/deployment-events/deployment-events.controller.d.ts +8 -0
  239. package/dist/apps/monolith/apps/fabric/src/deployment-events/deployment-events.controller.js +49 -0
  240. package/dist/apps/monolith/apps/fabric/src/deployment-events/deployment-events.controller.js.map +1 -0
  241. package/dist/apps/monolith/apps/fabric/src/deployment-events/deployment-events.module.d.ts +2 -0
  242. package/dist/apps/monolith/apps/fabric/src/deployment-events/deployment-events.module.js +24 -0
  243. package/dist/apps/monolith/apps/fabric/src/deployment-events/deployment-events.module.js.map +1 -0
  244. package/dist/apps/monolith/apps/fabric/src/deployment-events/deployment-events.service.d.ts +25 -0
  245. package/dist/apps/monolith/apps/fabric/src/deployment-events/deployment-events.service.js +50 -0
  246. package/dist/apps/monolith/apps/fabric/src/deployment-events/deployment-events.service.js.map +1 -0
  247. package/dist/apps/monolith/apps/fabric/src/deployment-events/deployment-events.store.d.ts +28 -0
  248. package/dist/apps/monolith/apps/fabric/src/deployment-events/deployment-events.store.js +132 -0
  249. package/dist/apps/monolith/apps/fabric/src/deployment-events/deployment-events.store.js.map +1 -0
  250. package/dist/apps/monolith/apps/fabric/src/deployment-events/deployment-events.types.d.ts +12 -0
  251. package/dist/apps/monolith/apps/fabric/src/deployment-events/deployment-events.types.js +3 -0
  252. package/dist/apps/monolith/apps/fabric/src/deployment-events/deployment-events.types.js.map +1 -0
  253. package/dist/apps/monolith/apps/fabric/src/employees/dto/deploy.dto.d.ts +124 -0
  254. package/dist/apps/monolith/apps/fabric/src/employees/dto/deploy.dto.js +62 -0
  255. package/dist/apps/monolith/apps/fabric/src/employees/dto/deploy.dto.js.map +1 -0
  256. package/dist/apps/monolith/apps/fabric/src/employees/employees.controller.d.ts +38 -0
  257. package/dist/apps/monolith/apps/fabric/src/employees/employees.controller.js +222 -0
  258. package/dist/apps/monolith/apps/fabric/src/employees/employees.controller.js.map +1 -0
  259. package/dist/apps/monolith/apps/fabric/src/employees/employees.module.d.ts +2 -0
  260. package/dist/apps/monolith/apps/fabric/src/employees/employees.module.js +45 -0
  261. package/dist/apps/monolith/apps/fabric/src/employees/employees.module.js.map +1 -0
  262. package/dist/apps/monolith/apps/fabric/src/employees/employees.service.d.ts +81 -0
  263. package/dist/apps/monolith/apps/fabric/src/employees/employees.service.js +952 -0
  264. package/dist/apps/monolith/apps/fabric/src/employees/employees.service.js.map +1 -0
  265. package/dist/apps/monolith/apps/fabric/src/employees/employees.types.d.ts +43 -0
  266. package/dist/apps/monolith/apps/fabric/src/employees/employees.types.js +12 -0
  267. package/dist/apps/monolith/apps/fabric/src/employees/employees.types.js.map +1 -0
  268. package/dist/apps/monolith/apps/fabric/src/employees/errors/employee-deployment.errors.d.ts +25 -0
  269. package/dist/apps/monolith/apps/fabric/src/employees/errors/employee-deployment.errors.js +54 -0
  270. package/dist/apps/monolith/apps/fabric/src/employees/errors/employee-deployment.errors.js.map +1 -0
  271. package/dist/apps/monolith/apps/fabric/src/employees/runtime.store.d.ts +52 -0
  272. package/dist/apps/monolith/apps/fabric/src/employees/runtime.store.js +222 -0
  273. package/dist/apps/monolith/apps/fabric/src/employees/runtime.store.js.map +1 -0
  274. package/dist/apps/monolith/apps/fabric/src/environments/dto/environment.dto.d.ts +48 -0
  275. package/dist/apps/monolith/apps/fabric/src/environments/dto/environment.dto.js +25 -0
  276. package/dist/apps/monolith/apps/fabric/src/environments/dto/environment.dto.js.map +1 -0
  277. package/dist/apps/monolith/apps/fabric/src/environments/environments.controller.d.ts +13 -0
  278. package/dist/apps/monolith/apps/fabric/src/environments/environments.controller.js +82 -0
  279. package/dist/apps/monolith/apps/fabric/src/environments/environments.controller.js.map +1 -0
  280. package/dist/apps/monolith/apps/fabric/src/environments/environments.module.d.ts +2 -0
  281. package/dist/apps/monolith/apps/fabric/src/environments/environments.module.js +24 -0
  282. package/dist/apps/monolith/apps/fabric/src/environments/environments.module.js.map +1 -0
  283. package/dist/apps/monolith/apps/fabric/src/environments/environments.service.d.ts +24 -0
  284. package/dist/apps/monolith/apps/fabric/src/environments/environments.service.js +82 -0
  285. package/dist/apps/monolith/apps/fabric/src/environments/environments.service.js.map +1 -0
  286. package/dist/apps/monolith/apps/fabric/src/environments/environments.store.d.ts +22 -0
  287. package/dist/apps/monolith/apps/fabric/src/environments/environments.store.js +131 -0
  288. package/dist/apps/monolith/apps/fabric/src/environments/environments.store.js.map +1 -0
  289. package/dist/apps/monolith/apps/fabric/src/environments/environments.types.d.ts +10 -0
  290. package/dist/apps/monolith/apps/fabric/src/environments/environments.types.js +3 -0
  291. package/dist/apps/monolith/apps/fabric/src/environments/environments.types.js.map +1 -0
  292. package/dist/apps/monolith/apps/fabric/src/environments/errors/environment.errors.d.ts +7 -0
  293. package/dist/apps/monolith/apps/fabric/src/environments/errors/environment.errors.js +18 -0
  294. package/dist/apps/monolith/apps/fabric/src/environments/errors/environment.errors.js.map +1 -0
  295. package/dist/apps/monolith/apps/fabric/src/fabric-core.module.d.ts +4 -0
  296. package/dist/apps/monolith/apps/fabric/src/fabric-core.module.js +57 -0
  297. package/dist/apps/monolith/apps/fabric/src/fabric-core.module.js.map +1 -0
  298. package/dist/apps/monolith/apps/fabric/src/health/health.controller.d.ts +8 -0
  299. package/dist/apps/monolith/apps/fabric/src/health/health.controller.js +42 -0
  300. package/dist/apps/monolith/apps/fabric/src/health/health.controller.js.map +1 -0
  301. package/dist/apps/monolith/apps/fabric/src/health/health.module.d.ts +2 -0
  302. package/dist/apps/monolith/apps/fabric/src/health/health.module.js +25 -0
  303. package/dist/apps/monolith/apps/fabric/src/health/health.module.js.map +1 -0
  304. package/dist/apps/monolith/apps/fabric/src/health/provider-health.indicator.d.ts +7 -0
  305. package/dist/apps/monolith/apps/fabric/src/health/provider-health.indicator.js +42 -0
  306. package/dist/apps/monolith/apps/fabric/src/health/provider-health.indicator.js.map +1 -0
  307. package/dist/apps/monolith/apps/fabric/src/healthcheck/healthcheck.module.d.ts +2 -0
  308. package/dist/apps/monolith/apps/fabric/src/healthcheck/healthcheck.module.js +37 -0
  309. package/dist/apps/monolith/apps/fabric/src/healthcheck/healthcheck.module.js.map +1 -0
  310. package/dist/apps/monolith/apps/fabric/src/healthcheck/healthcheck.service.d.ts +40 -0
  311. package/dist/apps/monolith/apps/fabric/src/healthcheck/healthcheck.service.js +392 -0
  312. package/dist/apps/monolith/apps/fabric/src/healthcheck/healthcheck.service.js.map +1 -0
  313. package/dist/apps/monolith/apps/fabric/src/logs/logs.module.d.ts +2 -0
  314. package/dist/apps/monolith/apps/fabric/src/logs/logs.module.js +23 -0
  315. package/dist/apps/monolith/apps/fabric/src/logs/logs.module.js.map +1 -0
  316. package/dist/apps/monolith/apps/fabric/src/logs/logs.service.d.ts +22 -0
  317. package/dist/apps/monolith/apps/fabric/src/logs/logs.service.js +167 -0
  318. package/dist/apps/monolith/apps/fabric/src/logs/logs.service.js.map +1 -0
  319. package/dist/apps/monolith/apps/fabric/src/notifications/notifications.module.d.ts +2 -0
  320. package/dist/apps/monolith/apps/fabric/src/notifications/notifications.module.js +70 -0
  321. package/dist/apps/monolith/apps/fabric/src/notifications/notifications.module.js.map +1 -0
  322. package/dist/apps/monolith/apps/fabric/src/notifications/notifications.service.d.ts +35 -0
  323. package/dist/apps/monolith/apps/fabric/src/notifications/notifications.service.js +122 -0
  324. package/dist/apps/monolith/apps/fabric/src/notifications/notifications.service.js.map +1 -0
  325. package/dist/apps/monolith/apps/fabric/src/project-source/errors/project-source.errors.d.ts +4 -0
  326. package/dist/apps/monolith/apps/fabric/src/project-source/errors/project-source.errors.js +12 -0
  327. package/dist/apps/monolith/apps/fabric/src/project-source/errors/project-source.errors.js.map +1 -0
  328. package/dist/apps/monolith/apps/fabric/src/project-source/project-source.module.d.ts +2 -0
  329. package/dist/apps/monolith/apps/fabric/src/project-source/project-source.module.js +21 -0
  330. package/dist/apps/monolith/apps/fabric/src/project-source/project-source.module.js.map +1 -0
  331. package/dist/apps/monolith/apps/fabric/src/project-source/project-source.service.d.ts +12 -0
  332. package/dist/apps/monolith/apps/fabric/src/project-source/project-source.service.js +79 -0
  333. package/dist/apps/monolith/apps/fabric/src/project-source/project-source.service.js.map +1 -0
  334. package/dist/apps/monolith/apps/fabric/src/project-source/project-source.types.d.ts +10 -0
  335. package/dist/apps/monolith/apps/fabric/src/project-source/project-source.types.js +3 -0
  336. package/dist/apps/monolith/apps/fabric/src/project-source/project-source.types.js.map +1 -0
  337. package/dist/apps/monolith/apps/fabric/src/projects/dto/project.dto.d.ts +40 -0
  338. package/dist/apps/monolith/apps/fabric/src/projects/dto/project.dto.js +28 -0
  339. package/dist/apps/monolith/apps/fabric/src/projects/dto/project.dto.js.map +1 -0
  340. package/dist/apps/monolith/apps/fabric/src/projects/errors/project.errors.d.ts +7 -0
  341. package/dist/apps/monolith/apps/fabric/src/projects/errors/project.errors.js +18 -0
  342. package/dist/apps/monolith/apps/fabric/src/projects/errors/project.errors.js.map +1 -0
  343. package/dist/apps/monolith/apps/fabric/src/projects/projects-data.service.d.ts +11 -0
  344. package/dist/apps/monolith/apps/fabric/src/projects/projects-data.service.js +73 -0
  345. package/dist/apps/monolith/apps/fabric/src/projects/projects-data.service.js.map +1 -0
  346. package/dist/apps/monolith/apps/fabric/src/projects/projects.controller.d.ts +23 -0
  347. package/dist/apps/monolith/apps/fabric/src/projects/projects.controller.js +130 -0
  348. package/dist/apps/monolith/apps/fabric/src/projects/projects.controller.js.map +1 -0
  349. package/dist/apps/monolith/apps/fabric/src/projects/projects.module.d.ts +2 -0
  350. package/dist/apps/monolith/apps/fabric/src/projects/projects.module.js +33 -0
  351. package/dist/apps/monolith/apps/fabric/src/projects/projects.module.js.map +1 -0
  352. package/dist/apps/monolith/apps/fabric/src/projects/projects.service.d.ts +39 -0
  353. package/dist/apps/monolith/apps/fabric/src/projects/projects.service.js +245 -0
  354. package/dist/apps/monolith/apps/fabric/src/projects/projects.service.js.map +1 -0
  355. package/dist/apps/monolith/apps/fabric/src/projects/projects.store.d.ts +22 -0
  356. package/dist/apps/monolith/apps/fabric/src/projects/projects.store.js +130 -0
  357. package/dist/apps/monolith/apps/fabric/src/projects/projects.store.js.map +1 -0
  358. package/dist/apps/monolith/apps/fabric/src/projects/projects.types.d.ts +9 -0
  359. package/dist/apps/monolith/apps/fabric/src/projects/projects.types.js +3 -0
  360. package/dist/apps/monolith/apps/fabric/src/projects/projects.types.js.map +1 -0
  361. package/dist/apps/monolith/apps/fabric/src/providers/docker-provider.d.ts +17 -0
  362. package/dist/apps/monolith/apps/fabric/src/providers/docker-provider.js +128 -0
  363. package/dist/apps/monolith/apps/fabric/src/providers/docker-provider.js.map +1 -0
  364. package/dist/apps/monolith/apps/fabric/src/providers/eks-provider.d.ts +24 -0
  365. package/dist/apps/monolith/apps/fabric/src/providers/eks-provider.js +236 -0
  366. package/dist/apps/monolith/apps/fabric/src/providers/eks-provider.js.map +1 -0
  367. package/dist/apps/monolith/apps/fabric/src/providers/pm2-provider.d.ts +22 -0
  368. package/dist/apps/monolith/apps/fabric/src/providers/pm2-provider.js +177 -0
  369. package/dist/apps/monolith/apps/fabric/src/providers/pm2-provider.js.map +1 -0
  370. package/dist/apps/monolith/apps/fabric/src/providers/port-allocator.d.ts +9 -0
  371. package/dist/apps/monolith/apps/fabric/src/providers/port-allocator.js +62 -0
  372. package/dist/apps/monolith/apps/fabric/src/providers/port-allocator.js.map +1 -0
  373. package/dist/apps/monolith/apps/fabric/src/providers/provider-factory.d.ts +10 -0
  374. package/dist/apps/monolith/apps/fabric/src/providers/provider-factory.js +42 -0
  375. package/dist/apps/monolith/apps/fabric/src/providers/provider-factory.js.map +1 -0
  376. package/dist/apps/monolith/apps/fabric/src/providers/provider.interface.d.ts +28 -0
  377. package/dist/apps/monolith/apps/fabric/src/providers/provider.interface.js +5 -0
  378. package/dist/apps/monolith/apps/fabric/src/providers/provider.interface.js.map +1 -0
  379. package/dist/apps/monolith/apps/fabric/src/providers/providers.module.d.ts +2 -0
  380. package/dist/apps/monolith/apps/fabric/src/providers/providers.module.js +35 -0
  381. package/dist/apps/monolith/apps/fabric/src/providers/providers.module.js.map +1 -0
  382. package/dist/apps/monolith/apps/fabric/src/provisioners/cognito-provisioner.service.d.ts +33 -0
  383. package/dist/apps/monolith/apps/fabric/src/provisioners/cognito-provisioner.service.js +129 -0
  384. package/dist/apps/monolith/apps/fabric/src/provisioners/cognito-provisioner.service.js.map +1 -0
  385. package/dist/apps/monolith/apps/fabric/src/provisioners/postgres-provisioner.service.d.ts +36 -0
  386. package/dist/apps/monolith/apps/fabric/src/provisioners/postgres-provisioner.service.js +107 -0
  387. package/dist/apps/monolith/apps/fabric/src/provisioners/postgres-provisioner.service.js.map +1 -0
  388. package/dist/apps/monolith/apps/fabric/src/provisioners/provisioners.module.d.ts +2 -0
  389. package/dist/apps/monolith/apps/fabric/src/provisioners/provisioners.module.js +82 -0
  390. package/dist/apps/monolith/apps/fabric/src/provisioners/provisioners.module.js.map +1 -0
  391. package/dist/apps/monolith/apps/fabric/src/user-config/user-config.module.d.ts +2 -0
  392. package/dist/apps/monolith/apps/fabric/src/user-config/user-config.module.js +22 -0
  393. package/dist/apps/monolith/apps/fabric/src/user-config/user-config.module.js.map +1 -0
  394. package/dist/apps/monolith/apps/fabric/src/user-config/user-config.service.d.ts +17 -0
  395. package/dist/apps/monolith/apps/fabric/src/user-config/user-config.service.js +57 -0
  396. package/dist/apps/monolith/apps/fabric/src/user-config/user-config.service.js.map +1 -0
  397. package/dist/apps/monolith/apps/fabric/src/user-config/user-config.store.d.ts +19 -0
  398. package/dist/apps/monolith/apps/fabric/src/user-config/user-config.store.js +115 -0
  399. package/dist/apps/monolith/apps/fabric/src/user-config/user-config.store.js.map +1 -0
  400. package/dist/apps/monolith/apps/fabric/src/user-config/user-config.types.d.ts +10 -0
  401. package/dist/apps/monolith/apps/fabric/src/user-config/user-config.types.js +6 -0
  402. package/dist/apps/monolith/apps/fabric/src/user-config/user-config.types.js.map +1 -0
  403. package/dist/apps/monolith/apps/fabric/src/versions/versions.controller.d.ts +9 -0
  404. package/dist/apps/monolith/apps/fabric/src/versions/versions.controller.js +52 -0
  405. package/dist/apps/monolith/apps/fabric/src/versions/versions.controller.js.map +1 -0
  406. package/dist/apps/monolith/apps/fabric/src/versions/versions.module.d.ts +2 -0
  407. package/dist/apps/monolith/apps/fabric/src/versions/versions.module.js +24 -0
  408. package/dist/apps/monolith/apps/fabric/src/versions/versions.module.js.map +1 -0
  409. package/dist/apps/monolith/apps/fabric/src/versions/versions.service.d.ts +12 -0
  410. package/dist/apps/monolith/apps/fabric/src/versions/versions.service.js +62 -0
  411. package/dist/apps/monolith/apps/fabric/src/versions/versions.service.js.map +1 -0
  412. package/dist/apps/monolith/apps/fabric/src/versions/versions.store.d.ts +24 -0
  413. package/dist/apps/monolith/apps/fabric/src/versions/versions.store.js +133 -0
  414. package/dist/apps/monolith/apps/fabric/src/versions/versions.store.js.map +1 -0
  415. package/dist/apps/monolith/apps/fabric/src/versions/versions.types.d.ts +11 -0
  416. package/dist/apps/monolith/apps/fabric/src/versions/versions.types.js +3 -0
  417. package/dist/apps/monolith/apps/fabric/src/versions/versions.types.js.map +1 -0
  418. package/dist/apps/monolith/apps/fabric/src/watcher/deployment-watcher.module.d.ts +2 -0
  419. package/dist/apps/monolith/apps/fabric/src/watcher/deployment-watcher.module.js +35 -0
  420. package/dist/apps/monolith/apps/fabric/src/watcher/deployment-watcher.module.js.map +1 -0
  421. package/dist/apps/monolith/apps/fabric/src/watcher/deployment-watcher.service.d.ts +18 -0
  422. package/dist/apps/monolith/apps/fabric/src/watcher/deployment-watcher.service.js +84 -0
  423. package/dist/apps/monolith/apps/fabric/src/watcher/deployment-watcher.service.js.map +1 -0
  424. package/dist/apps/monolith/apps/fabric/src/watcher/pod-probe.service.d.ts +28 -0
  425. package/dist/apps/monolith/apps/fabric/src/watcher/pod-probe.service.js +211 -0
  426. package/dist/apps/monolith/apps/fabric/src/watcher/pod-probe.service.js.map +1 -0
  427. package/dist/apps/monolith/apps/integrations/src/config/configuration.d.ts +27 -0
  428. package/dist/apps/monolith/apps/integrations/src/config/configuration.js +85 -0
  429. package/dist/apps/monolith/apps/integrations/src/config/configuration.js.map +1 -0
  430. package/dist/apps/monolith/apps/integrations/src/generated/prisma-postgres/client.d.ts +9 -0
  431. package/dist/apps/monolith/apps/integrations/src/generated/prisma-postgres/client.js +46 -0
  432. package/dist/apps/monolith/apps/integrations/src/generated/prisma-postgres/client.js.map +1 -0
  433. package/dist/apps/monolith/apps/integrations/src/generated/prisma-postgres/commonInputTypes.d.ts +246 -0
  434. package/dist/apps/monolith/apps/integrations/src/generated/prisma-postgres/commonInputTypes.js +3 -0
  435. package/dist/apps/monolith/apps/integrations/src/generated/prisma-postgres/commonInputTypes.js.map +1 -0
  436. package/dist/apps/monolith/apps/integrations/src/generated/prisma-postgres/enums.d.ts +1 -0
  437. package/dist/apps/monolith/apps/integrations/src/generated/prisma-postgres/enums.js +3 -0
  438. package/dist/apps/monolith/apps/integrations/src/generated/prisma-postgres/enums.js.map +1 -0
  439. package/dist/apps/monolith/apps/integrations/src/generated/prisma-postgres/internal/class.d.ts +35 -0
  440. package/dist/apps/monolith/apps/integrations/src/generated/prisma-postgres/internal/class.js +75 -0
  441. package/dist/apps/monolith/apps/integrations/src/generated/prisma-postgres/internal/class.js.map +1 -0
  442. package/dist/apps/monolith/apps/integrations/src/generated/prisma-postgres/internal/prismaNamespace.d.ts +374 -0
  443. package/dist/apps/monolith/apps/integrations/src/generated/prisma-postgres/internal/prismaNamespace.js +103 -0
  444. package/dist/apps/monolith/apps/integrations/src/generated/prisma-postgres/internal/prismaNamespace.js.map +1 -0
  445. package/dist/apps/monolith/apps/integrations/src/generated/prisma-postgres/models/IntegrationEntity.d.ts +521 -0
  446. package/dist/apps/monolith/apps/integrations/src/generated/prisma-postgres/models/IntegrationEntity.js +3 -0
  447. package/dist/apps/monolith/apps/integrations/src/generated/prisma-postgres/models/IntegrationEntity.js.map +1 -0
  448. package/dist/apps/monolith/apps/integrations/src/generated/prisma-postgres/models.d.ts +2 -0
  449. package/dist/apps/monolith/apps/integrations/src/generated/prisma-postgres/models.js +3 -0
  450. package/dist/apps/monolith/apps/integrations/src/generated/prisma-postgres/models.js.map +1 -0
  451. package/dist/apps/monolith/apps/integrations/src/generated/prisma-sqlite/client.d.ts +9 -0
  452. package/dist/apps/monolith/apps/integrations/src/generated/prisma-sqlite/client.js +46 -0
  453. package/dist/apps/monolith/apps/integrations/src/generated/prisma-sqlite/client.js.map +1 -0
  454. package/dist/apps/monolith/apps/integrations/src/generated/prisma-sqlite/commonInputTypes.d.ts +227 -0
  455. package/dist/apps/monolith/apps/integrations/src/generated/prisma-sqlite/commonInputTypes.js +3 -0
  456. package/dist/apps/monolith/apps/integrations/src/generated/prisma-sqlite/commonInputTypes.js.map +1 -0
  457. package/dist/apps/monolith/apps/integrations/src/generated/prisma-sqlite/enums.d.ts +1 -0
  458. package/dist/apps/monolith/apps/integrations/src/generated/prisma-sqlite/enums.js +3 -0
  459. package/dist/apps/monolith/apps/integrations/src/generated/prisma-sqlite/enums.js.map +1 -0
  460. package/dist/apps/monolith/apps/integrations/src/generated/prisma-sqlite/internal/class.d.ts +35 -0
  461. package/dist/apps/monolith/apps/integrations/src/generated/prisma-sqlite/internal/class.js +75 -0
  462. package/dist/apps/monolith/apps/integrations/src/generated/prisma-sqlite/internal/class.js.map +1 -0
  463. package/dist/apps/monolith/apps/integrations/src/generated/prisma-sqlite/internal/prismaNamespace.d.ts +368 -0
  464. package/dist/apps/monolith/apps/integrations/src/generated/prisma-sqlite/internal/prismaNamespace.js +100 -0
  465. package/dist/apps/monolith/apps/integrations/src/generated/prisma-sqlite/internal/prismaNamespace.js.map +1 -0
  466. package/dist/apps/monolith/apps/integrations/src/generated/prisma-sqlite/models/IntegrationEntity.d.ts +519 -0
  467. package/dist/apps/monolith/apps/integrations/src/generated/prisma-sqlite/models/IntegrationEntity.js +3 -0
  468. package/dist/apps/monolith/apps/integrations/src/generated/prisma-sqlite/models/IntegrationEntity.js.map +1 -0
  469. package/dist/apps/monolith/apps/integrations/src/generated/prisma-sqlite/models.d.ts +2 -0
  470. package/dist/apps/monolith/apps/integrations/src/generated/prisma-sqlite/models.js +3 -0
  471. package/dist/apps/monolith/apps/integrations/src/generated/prisma-sqlite/models.js.map +1 -0
  472. package/dist/apps/monolith/apps/integrations/src/integrations-core.module.d.ts +4 -0
  473. package/dist/apps/monolith/apps/integrations/src/integrations-core.module.js +61 -0
  474. package/dist/apps/monolith/apps/integrations/src/integrations-core.module.js.map +1 -0
  475. package/dist/apps/monolith/apps/integrations/src/modules/auth-flow/auth-flow.module.d.ts +2 -0
  476. package/dist/apps/monolith/apps/integrations/src/modules/auth-flow/auth-flow.module.js +34 -0
  477. package/dist/apps/monolith/apps/integrations/src/modules/auth-flow/auth-flow.module.js.map +1 -0
  478. package/dist/apps/monolith/apps/integrations/src/modules/auth-flow/auth-flow.service.d.ts +52 -0
  479. package/dist/apps/monolith/apps/integrations/src/modules/auth-flow/auth-flow.service.js +185 -0
  480. package/dist/apps/monolith/apps/integrations/src/modules/auth-flow/auth-flow.service.js.map +1 -0
  481. package/dist/apps/monolith/apps/integrations/src/modules/auth-flow/scheduler.service.d.ts +14 -0
  482. package/dist/apps/monolith/apps/integrations/src/modules/auth-flow/scheduler.service.js +69 -0
  483. package/dist/apps/monolith/apps/integrations/src/modules/auth-flow/scheduler.service.js.map +1 -0
  484. package/dist/apps/monolith/apps/integrations/src/modules/connections/connections.module.d.ts +2 -0
  485. package/dist/apps/monolith/apps/integrations/src/modules/connections/connections.module.js +24 -0
  486. package/dist/apps/monolith/apps/integrations/src/modules/connections/connections.module.js.map +1 -0
  487. package/dist/apps/monolith/apps/integrations/src/modules/connections/connections.service.d.ts +31 -0
  488. package/dist/apps/monolith/apps/integrations/src/modules/connections/connections.service.js +91 -0
  489. package/dist/apps/monolith/apps/integrations/src/modules/connections/connections.service.js.map +1 -0
  490. package/dist/apps/monolith/apps/integrations/src/modules/credentials/credentials.module.d.ts +2 -0
  491. package/dist/apps/monolith/apps/integrations/src/modules/credentials/credentials.module.js +24 -0
  492. package/dist/apps/monolith/apps/integrations/src/modules/credentials/credentials.module.js.map +1 -0
  493. package/dist/apps/monolith/apps/integrations/src/modules/credentials/encryption.service.d.ts +14 -0
  494. package/dist/apps/monolith/apps/integrations/src/modules/credentials/encryption.service.js +62 -0
  495. package/dist/apps/monolith/apps/integrations/src/modules/credentials/encryption.service.js.map +1 -0
  496. package/dist/apps/monolith/apps/integrations/src/modules/credentials/token-store.service.d.ts +12 -0
  497. package/dist/apps/monolith/apps/integrations/src/modules/credentials/token-store.service.js +70 -0
  498. package/dist/apps/monolith/apps/integrations/src/modules/credentials/token-store.service.js.map +1 -0
  499. package/dist/apps/monolith/apps/integrations/src/modules/discovery/discovery.module.d.ts +2 -0
  500. package/dist/apps/monolith/apps/integrations/src/modules/discovery/discovery.module.js +21 -0
  501. package/dist/apps/monolith/apps/integrations/src/modules/discovery/discovery.module.js.map +1 -0
  502. package/dist/apps/monolith/apps/integrations/src/modules/discovery/oidc-discovery.service.d.ts +25 -0
  503. package/dist/apps/monolith/apps/integrations/src/modules/discovery/oidc-discovery.service.js +83 -0
  504. package/dist/apps/monolith/apps/integrations/src/modules/discovery/oidc-discovery.service.js.map +1 -0
  505. package/dist/apps/monolith/apps/integrations/src/modules/platform/metadata-store.service.d.ts +31 -0
  506. package/dist/apps/monolith/apps/integrations/src/modules/platform/metadata-store.service.js +278 -0
  507. package/dist/apps/monolith/apps/integrations/src/modules/platform/metadata-store.service.js.map +1 -0
  508. package/dist/apps/monolith/apps/integrations/src/modules/platform/platform.module.d.ts +2 -0
  509. package/dist/apps/monolith/apps/integrations/src/modules/platform/platform.module.js +21 -0
  510. package/dist/apps/monolith/apps/integrations/src/modules/platform/platform.module.js.map +1 -0
  511. package/dist/apps/monolith/apps/integrations/src/modules/platform/platform.types.d.ts +9 -0
  512. package/dist/apps/monolith/apps/integrations/src/modules/platform/platform.types.js +3 -0
  513. package/dist/apps/monolith/apps/integrations/src/modules/platform/platform.types.js.map +1 -0
  514. package/dist/apps/monolith/apps/integrations/src/modules/platform/resilient-fetch.d.ts +6 -0
  515. package/dist/apps/monolith/apps/integrations/src/modules/platform/resilient-fetch.js +38 -0
  516. package/dist/apps/monolith/apps/integrations/src/modules/platform/resilient-fetch.js.map +1 -0
  517. package/dist/apps/monolith/apps/integrations/src/modules/providers/base/api-key.provider.d.ts +9 -0
  518. package/dist/apps/monolith/apps/integrations/src/modules/providers/base/api-key.provider.js +34 -0
  519. package/dist/apps/monolith/apps/integrations/src/modules/providers/base/api-key.provider.js.map +1 -0
  520. package/dist/apps/monolith/apps/integrations/src/modules/providers/base/basic-auth.provider.d.ts +9 -0
  521. package/dist/apps/monolith/apps/integrations/src/modules/providers/base/basic-auth.provider.js +35 -0
  522. package/dist/apps/monolith/apps/integrations/src/modules/providers/base/basic-auth.provider.js.map +1 -0
  523. package/dist/apps/monolith/apps/integrations/src/modules/providers/base/oauth2.provider.d.ts +13 -0
  524. package/dist/apps/monolith/apps/integrations/src/modules/providers/base/oauth2.provider.js +162 -0
  525. package/dist/apps/monolith/apps/integrations/src/modules/providers/base/oauth2.provider.js.map +1 -0
  526. package/dist/apps/monolith/apps/integrations/src/modules/providers/base/oidc.provider.d.ts +14 -0
  527. package/dist/apps/monolith/apps/integrations/src/modules/providers/base/oidc.provider.js +55 -0
  528. package/dist/apps/monolith/apps/integrations/src/modules/providers/base/oidc.provider.js.map +1 -0
  529. package/dist/apps/monolith/apps/integrations/src/modules/providers/builtin/google-drive.provider.d.ts +3 -0
  530. package/dist/apps/monolith/apps/integrations/src/modules/providers/builtin/google-drive.provider.js +39 -0
  531. package/dist/apps/monolith/apps/integrations/src/modules/providers/builtin/google-drive.provider.js.map +1 -0
  532. package/dist/apps/monolith/apps/integrations/src/modules/providers/provider.factory.d.ts +11 -0
  533. package/dist/apps/monolith/apps/integrations/src/modules/providers/provider.factory.js +70 -0
  534. package/dist/apps/monolith/apps/integrations/src/modules/providers/provider.factory.js.map +1 -0
  535. package/dist/apps/monolith/apps/integrations/src/modules/providers/provider.registry.d.ts +20 -0
  536. package/dist/apps/monolith/apps/integrations/src/modules/providers/provider.registry.js +114 -0
  537. package/dist/apps/monolith/apps/integrations/src/modules/providers/provider.registry.js.map +1 -0
  538. package/dist/apps/monolith/apps/integrations/src/modules/providers/provider.types.d.ts +160 -0
  539. package/dist/apps/monolith/apps/integrations/src/modules/providers/provider.types.js +20 -0
  540. package/dist/apps/monolith/apps/integrations/src/modules/providers/provider.types.js.map +1 -0
  541. package/dist/apps/monolith/apps/integrations/src/modules/providers/providers.module.d.ts +2 -0
  542. package/dist/apps/monolith/apps/integrations/src/modules/providers/providers.module.js +46 -0
  543. package/dist/apps/monolith/apps/integrations/src/modules/providers/providers.module.js.map +1 -0
  544. package/dist/apps/monolith/apps/integrations/src/modules/tenant-config/tenant-config.module.d.ts +2 -0
  545. package/dist/apps/monolith/apps/integrations/src/modules/tenant-config/tenant-config.module.js +24 -0
  546. package/dist/apps/monolith/apps/integrations/src/modules/tenant-config/tenant-config.module.js.map +1 -0
  547. package/dist/apps/monolith/apps/integrations/src/modules/tenant-config/tenant-config.service.d.ts +48 -0
  548. package/dist/apps/monolith/apps/integrations/src/modules/tenant-config/tenant-config.service.js +136 -0
  549. package/dist/apps/monolith/apps/integrations/src/modules/tenant-config/tenant-config.service.js.map +1 -0
  550. package/dist/apps/monolith/apps/monolith/src/app.module.d.ts +2 -0
  551. package/dist/apps/monolith/apps/monolith/src/app.module.js +73 -0
  552. package/dist/apps/monolith/apps/monolith/src/app.module.js.map +1 -0
  553. package/dist/apps/monolith/apps/monolith/src/config/configuration.d.ts +26 -0
  554. package/dist/apps/monolith/apps/monolith/src/config/configuration.js +82 -0
  555. package/dist/apps/monolith/apps/monolith/src/config/configuration.js.map +1 -0
  556. package/dist/apps/monolith/apps/monolith/src/health/health.controller.d.ts +7 -0
  557. package/dist/apps/monolith/apps/monolith/src/health/health.controller.js +41 -0
  558. package/dist/apps/monolith/apps/monolith/src/health/health.controller.js.map +1 -0
  559. package/dist/apps/monolith/apps/monolith/src/health/health.module.d.ts +2 -0
  560. package/dist/apps/monolith/apps/monolith/src/health/health.module.js +22 -0
  561. package/dist/apps/monolith/apps/monolith/src/health/health.module.js.map +1 -0
  562. package/dist/apps/monolith/apps/monolith/src/main.d.ts +1 -0
  563. package/dist/apps/monolith/apps/monolith/src/main.js +46 -0
  564. package/dist/apps/monolith/apps/monolith/src/main.js.map +1 -0
  565. package/dist/apps/monolith/libs/agentcraft/src/agentcraft.module.d.ts +13 -0
  566. package/dist/apps/monolith/libs/agentcraft/src/agentcraft.module.js +137 -0
  567. package/dist/apps/monolith/libs/agentcraft/src/agentcraft.module.js.map +1 -0
  568. package/dist/apps/monolith/libs/agentcraft/src/constants.d.ts +2 -0
  569. package/dist/apps/monolith/libs/agentcraft/src/constants.js +6 -0
  570. package/dist/apps/monolith/libs/agentcraft/src/constants.js.map +1 -0
  571. package/dist/apps/monolith/libs/agentcraft/src/dto/submit-action.dto.d.ts +32 -0
  572. package/dist/apps/monolith/libs/agentcraft/src/dto/submit-action.dto.js +23 -0
  573. package/dist/apps/monolith/libs/agentcraft/src/dto/submit-action.dto.js.map +1 -0
  574. package/dist/apps/monolith/libs/agentcraft/src/errors/domain.error.d.ts +8 -0
  575. package/dist/apps/monolith/libs/agentcraft/src/errors/domain.error.js +19 -0
  576. package/dist/apps/monolith/libs/agentcraft/src/errors/domain.error.js.map +1 -0
  577. package/dist/apps/monolith/libs/agentcraft/src/errors/llm.errors.d.ts +10 -0
  578. package/dist/apps/monolith/libs/agentcraft/src/errors/llm.errors.js +23 -0
  579. package/dist/apps/monolith/libs/agentcraft/src/errors/llm.errors.js.map +1 -0
  580. package/dist/apps/monolith/libs/agentcraft/src/index.d.ts +44 -0
  581. package/dist/apps/monolith/libs/agentcraft/src/index.js +91 -0
  582. package/dist/apps/monolith/libs/agentcraft/src/index.js.map +1 -0
  583. package/dist/apps/monolith/libs/agentcraft/src/instructions/step6-data-model.d.ts +1 -0
  584. package/dist/apps/monolith/libs/agentcraft/src/instructions/step6-data-model.js +185 -0
  585. package/dist/apps/monolith/libs/agentcraft/src/instructions/step6-data-model.js.map +1 -0
  586. package/dist/apps/monolith/libs/agentcraft/src/instructions/step7-workflows.d.ts +1 -0
  587. package/dist/apps/monolith/libs/agentcraft/src/instructions/step7-workflows.js +548 -0
  588. package/dist/apps/monolith/libs/agentcraft/src/instructions/step7-workflows.js.map +1 -0
  589. package/dist/apps/monolith/libs/agentcraft/src/instructions/step8-agents.d.ts +1 -0
  590. package/dist/apps/monolith/libs/agentcraft/src/instructions/step8-agents.js +118 -0
  591. package/dist/apps/monolith/libs/agentcraft/src/instructions/step8-agents.js.map +1 -0
  592. package/dist/apps/monolith/libs/agentcraft/src/interfaces/llm-provider.interface.d.ts +8 -0
  593. package/dist/apps/monolith/libs/agentcraft/src/interfaces/llm-provider.interface.js +3 -0
  594. package/dist/apps/monolith/libs/agentcraft/src/interfaces/llm-provider.interface.js.map +1 -0
  595. package/dist/apps/monolith/libs/agentcraft/src/prompts/assembly.prompt.d.ts +1 -0
  596. package/dist/apps/monolith/libs/agentcraft/src/prompts/assembly.prompt.js +103 -0
  597. package/dist/apps/monolith/libs/agentcraft/src/prompts/assembly.prompt.js.map +1 -0
  598. package/dist/apps/monolith/libs/agentcraft/src/prompts/codegen.prompt.d.ts +2 -0
  599. package/dist/apps/monolith/libs/agentcraft/src/prompts/codegen.prompt.js +80 -0
  600. package/dist/apps/monolith/libs/agentcraft/src/prompts/codegen.prompt.js.map +1 -0
  601. package/dist/apps/monolith/libs/agentcraft/src/prompts/decomposition.prompt.d.ts +1 -0
  602. package/dist/apps/monolith/libs/agentcraft/src/prompts/decomposition.prompt.js +36 -0
  603. package/dist/apps/monolith/libs/agentcraft/src/prompts/decomposition.prompt.js.map +1 -0
  604. package/dist/apps/monolith/libs/agentcraft/src/prompts/examples-provider.d.ts +6 -0
  605. package/dist/apps/monolith/libs/agentcraft/src/prompts/examples-provider.js +50 -0
  606. package/dist/apps/monolith/libs/agentcraft/src/prompts/examples-provider.js.map +1 -0
  607. package/dist/apps/monolith/libs/agentcraft/src/prompts/planning.prompt.d.ts +1 -0
  608. package/dist/apps/monolith/libs/agentcraft/src/prompts/planning.prompt.js +56 -0
  609. package/dist/apps/monolith/libs/agentcraft/src/prompts/planning.prompt.js.map +1 -0
  610. package/dist/apps/monolith/libs/agentcraft/src/prompts/resolver.prompt.d.ts +9 -0
  611. package/dist/apps/monolith/libs/agentcraft/src/prompts/resolver.prompt.js +320 -0
  612. package/dist/apps/monolith/libs/agentcraft/src/prompts/resolver.prompt.js.map +1 -0
  613. package/dist/apps/monolith/libs/agentcraft/src/prompts/semantics-guide.d.ts +1 -0
  614. package/dist/apps/monolith/libs/agentcraft/src/prompts/semantics-guide.js +130 -0
  615. package/dist/apps/monolith/libs/agentcraft/src/prompts/semantics-guide.js.map +1 -0
  616. package/dist/apps/monolith/libs/agentcraft/src/services/anthropic-craft-llm.service.d.ts +13 -0
  617. package/dist/apps/monolith/libs/agentcraft/src/services/anthropic-craft-llm.service.js +167 -0
  618. package/dist/apps/monolith/libs/agentcraft/src/services/anthropic-craft-llm.service.js.map +1 -0
  619. package/dist/apps/monolith/libs/agentcraft/src/services/anthropic-llm.service.d.ts +9 -0
  620. package/dist/apps/monolith/libs/agentcraft/src/services/anthropic-llm.service.js +67 -0
  621. package/dist/apps/monolith/libs/agentcraft/src/services/anthropic-llm.service.js.map +1 -0
  622. package/dist/apps/monolith/libs/agentcraft/src/services/api-adapter.service.d.ts +43 -0
  623. package/dist/apps/monolith/libs/agentcraft/src/services/api-adapter.service.js +154 -0
  624. package/dist/apps/monolith/libs/agentcraft/src/services/api-adapter.service.js.map +1 -0
  625. package/dist/apps/monolith/libs/agentcraft/src/services/architect-loop.service.d.ts +36 -0
  626. package/dist/apps/monolith/libs/agentcraft/src/services/architect-loop.service.js +282 -0
  627. package/dist/apps/monolith/libs/agentcraft/src/services/architect-loop.service.js.map +1 -0
  628. package/dist/apps/monolith/libs/agentcraft/src/services/autonomous-runner.service.d.ts +16 -0
  629. package/dist/apps/monolith/libs/agentcraft/src/services/autonomous-runner.service.js +135 -0
  630. package/dist/apps/monolith/libs/agentcraft/src/services/autonomous-runner.service.js.map +1 -0
  631. package/dist/apps/monolith/libs/agentcraft/src/services/craft-config.service.d.ts +11 -0
  632. package/dist/apps/monolith/libs/agentcraft/src/services/craft-config.service.js +91 -0
  633. package/dist/apps/monolith/libs/agentcraft/src/services/craft-config.service.js.map +1 -0
  634. package/dist/apps/monolith/libs/agentcraft/src/services/craft-llm-adapter.service.d.ts +9 -0
  635. package/dist/apps/monolith/libs/agentcraft/src/services/craft-llm-adapter.service.js +57 -0
  636. package/dist/apps/monolith/libs/agentcraft/src/services/craft-llm-adapter.service.js.map +1 -0
  637. package/dist/apps/monolith/libs/agentcraft/src/services/decomposer.service.d.ts +9 -0
  638. package/dist/apps/monolith/libs/agentcraft/src/services/decomposer.service.js +100 -0
  639. package/dist/apps/monolith/libs/agentcraft/src/services/decomposer.service.js.map +1 -0
  640. package/dist/apps/monolith/libs/agentcraft/src/services/design-generator.service.d.ts +14 -0
  641. package/dist/apps/monolith/libs/agentcraft/src/services/design-generator.service.js +544 -0
  642. package/dist/apps/monolith/libs/agentcraft/src/services/design-generator.service.js.map +1 -0
  643. package/dist/apps/monolith/libs/agentcraft/src/services/executor.service.d.ts +17 -0
  644. package/dist/apps/monolith/libs/agentcraft/src/services/executor.service.js +347 -0
  645. package/dist/apps/monolith/libs/agentcraft/src/services/executor.service.js.map +1 -0
  646. package/dist/apps/monolith/libs/agentcraft/src/services/kb-watcher.service.d.ts +12 -0
  647. package/dist/apps/monolith/libs/agentcraft/src/services/kb-watcher.service.js +141 -0
  648. package/dist/apps/monolith/libs/agentcraft/src/services/kb-watcher.service.js.map +1 -0
  649. package/dist/apps/monolith/libs/agentcraft/src/services/openai-llm.service.d.ts +9 -0
  650. package/dist/apps/monolith/libs/agentcraft/src/services/openai-llm.service.js +69 -0
  651. package/dist/apps/monolith/libs/agentcraft/src/services/openai-llm.service.js.map +1 -0
  652. package/dist/apps/monolith/libs/agentcraft/src/services/output-parser.service.d.ts +9 -0
  653. package/dist/apps/monolith/libs/agentcraft/src/services/output-parser.service.js +68 -0
  654. package/dist/apps/monolith/libs/agentcraft/src/services/output-parser.service.js.map +1 -0
  655. package/dist/apps/monolith/libs/agentcraft/src/services/pipeline-state.service.d.ts +15 -0
  656. package/dist/apps/monolith/libs/agentcraft/src/services/pipeline-state.service.js +106 -0
  657. package/dist/apps/monolith/libs/agentcraft/src/services/pipeline-state.service.js.map +1 -0
  658. package/dist/apps/monolith/libs/agentcraft/src/services/pipeline-steps.service.d.ts +10 -0
  659. package/dist/apps/monolith/libs/agentcraft/src/services/pipeline-steps.service.js +134 -0
  660. package/dist/apps/monolith/libs/agentcraft/src/services/pipeline-steps.service.js.map +1 -0
  661. package/dist/apps/monolith/libs/agentcraft/src/services/planner.service.d.ts +13 -0
  662. package/dist/apps/monolith/libs/agentcraft/src/services/planner.service.js +165 -0
  663. package/dist/apps/monolith/libs/agentcraft/src/services/planner.service.js.map +1 -0
  664. package/dist/apps/monolith/libs/agentcraft/src/services/readme-generator.service.d.ts +10 -0
  665. package/dist/apps/monolith/libs/agentcraft/src/services/readme-generator.service.js +195 -0
  666. package/dist/apps/monolith/libs/agentcraft/src/services/readme-generator.service.js.map +1 -0
  667. package/dist/apps/monolith/libs/agentcraft/src/services/registry-client.service.d.ts +14 -0
  668. package/dist/apps/monolith/libs/agentcraft/src/services/registry-client.service.js +130 -0
  669. package/dist/apps/monolith/libs/agentcraft/src/services/registry-client.service.js.map +1 -0
  670. package/dist/apps/monolith/libs/agentcraft/src/services/requirements-generator.service.d.ts +12 -0
  671. package/dist/apps/monolith/libs/agentcraft/src/services/requirements-generator.service.js +198 -0
  672. package/dist/apps/monolith/libs/agentcraft/src/services/requirements-generator.service.js.map +1 -0
  673. package/dist/apps/monolith/libs/agentcraft/src/services/spec-fetcher.service.d.ts +3 -0
  674. package/dist/apps/monolith/libs/agentcraft/src/services/spec-fetcher.service.js +30 -0
  675. package/dist/apps/monolith/libs/agentcraft/src/services/spec-fetcher.service.js.map +1 -0
  676. package/dist/apps/monolith/libs/agentcraft/src/services/ui-blueprint-generator.service.d.ts +14 -0
  677. package/dist/apps/monolith/libs/agentcraft/src/services/ui-blueprint-generator.service.js +346 -0
  678. package/dist/apps/monolith/libs/agentcraft/src/services/ui-blueprint-generator.service.js.map +1 -0
  679. package/dist/apps/monolith/libs/agentcraft/src/types/architect.types.d.ts +122 -0
  680. package/dist/apps/monolith/libs/agentcraft/src/types/architect.types.js +3 -0
  681. package/dist/apps/monolith/libs/agentcraft/src/types/architect.types.js.map +1 -0
  682. package/dist/apps/monolith/libs/agentcraft/src/types/autonomous.types.d.ts +56 -0
  683. package/dist/apps/monolith/libs/agentcraft/src/types/autonomous.types.js +3 -0
  684. package/dist/apps/monolith/libs/agentcraft/src/types/autonomous.types.js.map +1 -0
  685. package/dist/apps/monolith/libs/agentcraft/src/types/llm.types.d.ts +55 -0
  686. package/dist/apps/monolith/libs/agentcraft/src/types/llm.types.js +3 -0
  687. package/dist/apps/monolith/libs/agentcraft/src/types/llm.types.js.map +1 -0
  688. package/dist/apps/monolith/libs/agentcraft/src/types/pipeline.types.d.ts +55 -0
  689. package/dist/apps/monolith/libs/agentcraft/src/types/pipeline.types.js +34 -0
  690. package/dist/apps/monolith/libs/agentcraft/src/types/pipeline.types.js.map +1 -0
  691. package/dist/apps/monolith/libs/agentcraft/src/types/resolver.types.d.ts +27 -0
  692. package/dist/apps/monolith/libs/agentcraft/src/types/resolver.types.js +3 -0
  693. package/dist/apps/monolith/libs/agentcraft/src/types/resolver.types.js.map +1 -0
  694. package/dist/apps/monolith/libs/agentcraft/src/types/signal.types.d.ts +11 -0
  695. package/dist/apps/monolith/libs/agentcraft/src/types/signal.types.js +3 -0
  696. package/dist/apps/monolith/libs/agentcraft/src/types/signal.types.js.map +1 -0
  697. package/dist/apps/monolith/libs/agentcraft/src/utils/kb-loader.d.ts +1 -0
  698. package/dist/apps/monolith/libs/agentcraft/src/utils/kb-loader.js +61 -0
  699. package/dist/apps/monolith/libs/agentcraft/src/utils/kb-loader.js.map +1 -0
  700. package/dist/apps/monolith/libs/agentcraft/src/utils/output-writer.d.ts +6 -0
  701. package/dist/apps/monolith/libs/agentcraft/src/utils/output-writer.js +57 -0
  702. package/dist/apps/monolith/libs/agentcraft/src/utils/output-writer.js.map +1 -0
  703. package/dist/apps/monolith/libs/agentcraft/src/utils/spec-fetcher.d.ts +1 -0
  704. package/dist/apps/monolith/libs/agentcraft/src/utils/spec-fetcher.js +20 -0
  705. package/dist/apps/monolith/libs/agentcraft/src/utils/spec-fetcher.js.map +1 -0
  706. package/dist/apps/monolith/libs/agentcraft/src/utils/spec-trimmer.d.ts +9 -0
  707. package/dist/apps/monolith/libs/agentcraft/src/utils/spec-trimmer.js +235 -0
  708. package/dist/apps/monolith/libs/agentcraft/src/utils/spec-trimmer.js.map +1 -0
  709. package/dist/apps/monolith/libs/agentcraft/src/utils/text-utils.d.ts +5 -0
  710. package/dist/apps/monolith/libs/agentcraft/src/utils/text-utils.js +36 -0
  711. package/dist/apps/monolith/libs/agentcraft/src/utils/text-utils.js.map +1 -0
  712. package/dist/apps/monolith/libs/agentcraft/src/utils/validator.d.ts +8 -0
  713. package/dist/apps/monolith/libs/agentcraft/src/utils/validator.js +187 -0
  714. package/dist/apps/monolith/libs/agentcraft/src/utils/validator.js.map +1 -0
  715. package/dist/apps/monolith/libs/common/src/database/data-source.service.d.ts +15 -0
  716. package/dist/apps/monolith/libs/common/src/database/data-source.service.js +77 -0
  717. package/dist/apps/monolith/libs/common/src/database/data-source.service.js.map +1 -0
  718. package/dist/apps/monolith/libs/common/src/database/database-connection.holder.d.ts +15 -0
  719. package/dist/apps/monolith/libs/common/src/database/database-connection.holder.js +47 -0
  720. package/dist/apps/monolith/libs/common/src/database/database-connection.holder.js.map +1 -0
  721. package/dist/apps/monolith/libs/common/src/database/database.config.d.ts +13 -0
  722. package/dist/apps/monolith/libs/common/src/database/database.config.js +5 -0
  723. package/dist/apps/monolith/libs/common/src/database/database.config.js.map +1 -0
  724. package/dist/apps/monolith/libs/common/src/database/database.module.d.ts +9 -0
  725. package/dist/apps/monolith/libs/common/src/database/database.module.js +48 -0
  726. package/dist/apps/monolith/libs/common/src/database/database.module.js.map +1 -0
  727. package/dist/apps/monolith/libs/common/src/database/embedded-database.service.d.ts +12 -0
  728. package/dist/apps/monolith/libs/common/src/database/embedded-database.service.js +108 -0
  729. package/dist/apps/monolith/libs/common/src/database/embedded-database.service.js.map +1 -0
  730. package/dist/apps/monolith/libs/common/src/database/file-store.d.ts +10 -0
  731. package/dist/apps/monolith/libs/common/src/database/file-store.factory.d.ts +8 -0
  732. package/dist/apps/monolith/libs/common/src/database/file-store.factory.js +37 -0
  733. package/dist/apps/monolith/libs/common/src/database/file-store.factory.js.map +1 -0
  734. package/dist/apps/monolith/libs/common/src/database/file-store.js +52 -0
  735. package/dist/apps/monolith/libs/common/src/database/file-store.js.map +1 -0
  736. package/dist/apps/monolith/libs/common/src/errors/domain.error.d.ts +4 -0
  737. package/dist/apps/monolith/libs/common/src/errors/domain.error.js +12 -0
  738. package/dist/apps/monolith/libs/common/src/errors/domain.error.js.map +1 -0
  739. package/dist/apps/monolith/libs/common/src/filters/domain-exception.filter.d.ts +8 -0
  740. package/dist/apps/monolith/libs/common/src/filters/domain-exception.filter.js +46 -0
  741. package/dist/apps/monolith/libs/common/src/filters/domain-exception.filter.js.map +1 -0
  742. package/dist/apps/monolith/libs/common/src/index.d.ts +13 -0
  743. package/dist/apps/monolith/libs/common/src/index.js +24 -0
  744. package/dist/apps/monolith/libs/common/src/index.js.map +1 -0
  745. package/dist/apps/monolith/libs/common/src/interceptors/logging.interceptor.d.ts +6 -0
  746. package/dist/apps/monolith/libs/common/src/interceptors/logging.interceptor.js +56 -0
  747. package/dist/apps/monolith/libs/common/src/interceptors/logging.interceptor.js.map +1 -0
  748. package/dist/apps/monolith/libs/project-provider/src/constants.d.ts +7 -0
  749. package/dist/apps/monolith/libs/project-provider/src/constants.js +11 -0
  750. package/dist/apps/monolith/libs/project-provider/src/constants.js.map +1 -0
  751. package/dist/apps/monolith/libs/project-provider/src/errors/domain.error.d.ts +1 -0
  752. package/dist/apps/monolith/libs/project-provider/src/errors/domain.error.js +6 -0
  753. package/dist/apps/monolith/libs/project-provider/src/errors/domain.error.js.map +1 -0
  754. package/dist/apps/monolith/libs/project-provider/src/errors/employee-code.errors.d.ts +13 -0
  755. package/dist/apps/monolith/libs/project-provider/src/errors/employee-code.errors.js +29 -0
  756. package/dist/apps/monolith/libs/project-provider/src/errors/employee-code.errors.js.map +1 -0
  757. package/dist/apps/monolith/libs/project-provider/src/errors/inbox.errors.d.ts +13 -0
  758. package/dist/apps/monolith/libs/project-provider/src/errors/inbox.errors.js +29 -0
  759. package/dist/apps/monolith/libs/project-provider/src/errors/inbox.errors.js.map +1 -0
  760. package/dist/apps/monolith/libs/project-provider/src/errors/registry.errors.d.ts +16 -0
  761. package/dist/apps/monolith/libs/project-provider/src/errors/registry.errors.js +35 -0
  762. package/dist/apps/monolith/libs/project-provider/src/errors/registry.errors.js.map +1 -0
  763. package/dist/apps/monolith/libs/project-provider/src/index.d.ts +23 -0
  764. package/dist/apps/monolith/libs/project-provider/src/index.js +50 -0
  765. package/dist/apps/monolith/libs/project-provider/src/index.js.map +1 -0
  766. package/dist/apps/monolith/libs/project-provider/src/interfaces/employee-code-provider.interface.d.ts +11 -0
  767. package/dist/apps/monolith/libs/project-provider/src/interfaces/employee-code-provider.interface.js +3 -0
  768. package/dist/apps/monolith/libs/project-provider/src/interfaces/employee-code-provider.interface.js.map +1 -0
  769. package/dist/apps/monolith/libs/project-provider/src/interfaces/inbox-client.interface.d.ts +3 -0
  770. package/dist/apps/monolith/libs/project-provider/src/interfaces/inbox-client.interface.js +3 -0
  771. package/dist/apps/monolith/libs/project-provider/src/interfaces/inbox-client.interface.js.map +1 -0
  772. package/dist/apps/monolith/libs/project-provider/src/interfaces/inbox-handler.interface.d.ts +5 -0
  773. package/dist/apps/monolith/libs/project-provider/src/interfaces/inbox-handler.interface.js +5 -0
  774. package/dist/apps/monolith/libs/project-provider/src/interfaces/inbox-handler.interface.js.map +1 -0
  775. package/dist/apps/monolith/libs/project-provider/src/interfaces/knowledge-base.interface.d.ts +5 -0
  776. package/dist/apps/monolith/libs/project-provider/src/interfaces/knowledge-base.interface.js +3 -0
  777. package/dist/apps/monolith/libs/project-provider/src/interfaces/knowledge-base.interface.js.map +1 -0
  778. package/dist/apps/monolith/libs/project-provider/src/interfaces/registry-provider.interface.d.ts +18 -0
  779. package/dist/apps/monolith/libs/project-provider/src/interfaces/registry-provider.interface.js +3 -0
  780. package/dist/apps/monolith/libs/project-provider/src/interfaces/registry-provider.interface.js.map +1 -0
  781. package/dist/apps/monolith/libs/project-provider/src/project-provider.module.d.ts +10 -0
  782. package/dist/apps/monolith/libs/project-provider/src/project-provider.module.js +115 -0
  783. package/dist/apps/monolith/libs/project-provider/src/project-provider.module.js.map +1 -0
  784. package/dist/apps/monolith/libs/project-provider/src/services/al-parser.service.d.ts +6 -0
  785. package/dist/apps/monolith/libs/project-provider/src/services/al-parser.service.js +94 -0
  786. package/dist/apps/monolith/libs/project-provider/src/services/al-parser.service.js.map +1 -0
  787. package/dist/apps/monolith/libs/project-provider/src/services/direct-inbox-client.service.d.ts +8 -0
  788. package/dist/apps/monolith/libs/project-provider/src/services/direct-inbox-client.service.js +42 -0
  789. package/dist/apps/monolith/libs/project-provider/src/services/direct-inbox-client.service.js.map +1 -0
  790. package/dist/apps/monolith/libs/project-provider/src/services/file-knowledge-base.service.d.ts +8 -0
  791. package/dist/apps/monolith/libs/project-provider/src/services/file-knowledge-base.service.js +126 -0
  792. package/dist/apps/monolith/libs/project-provider/src/services/file-knowledge-base.service.js.map +1 -0
  793. package/dist/apps/monolith/libs/project-provider/src/services/filesystem-employee-code.service.d.ts +24 -0
  794. package/dist/apps/monolith/libs/project-provider/src/services/filesystem-employee-code.service.js +163 -0
  795. package/dist/apps/monolith/libs/project-provider/src/services/filesystem-employee-code.service.js.map +1 -0
  796. package/dist/apps/monolith/libs/project-provider/src/services/filesystem-registry.service.d.ts +27 -0
  797. package/dist/apps/monolith/libs/project-provider/src/services/filesystem-registry.service.js +223 -0
  798. package/dist/apps/monolith/libs/project-provider/src/services/filesystem-registry.service.js.map +1 -0
  799. package/dist/apps/monolith/libs/project-provider/src/services/http-inbox-client.service.d.ts +7 -0
  800. package/dist/apps/monolith/libs/project-provider/src/services/http-inbox-client.service.js +46 -0
  801. package/dist/apps/monolith/libs/project-provider/src/services/http-inbox-client.service.js.map +1 -0
  802. package/dist/apps/monolith/libs/project-provider/src/services/noop-inbox-client.service.d.ts +4 -0
  803. package/dist/apps/monolith/libs/project-provider/src/services/noop-inbox-client.service.js +19 -0
  804. package/dist/apps/monolith/libs/project-provider/src/services/noop-inbox-client.service.js.map +1 -0
  805. package/dist/apps/monolith/libs/project-provider/src/types/messaging.types.d.ts +45 -0
  806. package/dist/apps/monolith/libs/project-provider/src/types/messaging.types.js +11 -0
  807. package/dist/apps/monolith/libs/project-provider/src/types/messaging.types.js.map +1 -0
  808. package/dist/apps/monolith/libs/project-provider/src/types/project.types.d.ts +47 -0
  809. package/dist/apps/monolith/libs/project-provider/src/types/project.types.js +3 -0
  810. package/dist/apps/monolith/libs/project-provider/src/types/project.types.js.map +1 -0
  811. package/dist/apps/monolith/tsconfig.app.tsbuildinfo +1 -0
  812. package/package.json +3 -1
  813. package/scripts/agentmanager.mjs +22 -2
  814. package/scripts/monolith-daemon-run.mjs +3 -1
  815. package/scripts/monolith-daemon-run.sh +1 -1
@@ -0,0 +1,91 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.InvalidSessionStateError = exports.SessionNotFoundError = exports.DomainError = exports.SubmitResolverActionDto = exports.SubmitActionDto = exports.SubmitActionSchema = exports.SubmitActionBaseSchema = exports.stripModuleLine = exports.extractEntityNames = exports.extractModuleName = exports.pascalToKebabCase = exports.kebabToPascalCase = exports.trimSpec = exports.fetchSpec = exports.writeAppFiles = exports.parseAssemblyOutput = exports.basicValidation = exports.validateCode = exports.checkCommonErrors = exports.normalizeGeneratedCode = exports.loadAllKBDocuments = exports.RegistryClientService = exports.SpecFetcherService = exports.ApiAdapterFactory = exports.ApiAdapterService = exports.CraftConfigService = exports.OutputParserService = exports.PipelineStateService = exports.STEP_DEFINITIONS = exports.PipelineStepsService = exports.AutonomousRunnerService = exports.ExecutorService = exports.PlannerService = exports.KbWatcherService = exports.ReadmeGeneratorService = exports.UIBlueprintGeneratorService = exports.DesignGeneratorService = exports.RequirementsGeneratorService = exports.DecomposerService = exports.ArchitectLoopFactory = exports.AnthropicCraftLlmService = exports.CraftLlmAdapterService = exports.OpenaiLlmService = exports.AnthropicLlmService = exports.TestFailureAction = exports.ReviewAction = exports.PipelineStep = exports.CRAFT_LLM_PROVIDER = exports.LLM_PROVIDER = exports.AgentcraftModule = void 0;
4
+ exports.LlmRequestFailedError = exports.LlmNotConfiguredError = exports.LlmError = void 0;
5
+ var agentcraft_module_1 = require("./agentcraft.module");
6
+ Object.defineProperty(exports, "AgentcraftModule", { enumerable: true, get: function () { return agentcraft_module_1.AgentcraftModule; } });
7
+ var constants_1 = require("./constants");
8
+ Object.defineProperty(exports, "LLM_PROVIDER", { enumerable: true, get: function () { return constants_1.LLM_PROVIDER; } });
9
+ Object.defineProperty(exports, "CRAFT_LLM_PROVIDER", { enumerable: true, get: function () { return constants_1.CRAFT_LLM_PROVIDER; } });
10
+ var pipeline_types_1 = require("./types/pipeline.types");
11
+ Object.defineProperty(exports, "PipelineStep", { enumerable: true, get: function () { return pipeline_types_1.PipelineStep; } });
12
+ Object.defineProperty(exports, "ReviewAction", { enumerable: true, get: function () { return pipeline_types_1.ReviewAction; } });
13
+ Object.defineProperty(exports, "TestFailureAction", { enumerable: true, get: function () { return pipeline_types_1.TestFailureAction; } });
14
+ var anthropic_llm_service_1 = require("./services/anthropic-llm.service");
15
+ Object.defineProperty(exports, "AnthropicLlmService", { enumerable: true, get: function () { return anthropic_llm_service_1.AnthropicLlmService; } });
16
+ var openai_llm_service_1 = require("./services/openai-llm.service");
17
+ Object.defineProperty(exports, "OpenaiLlmService", { enumerable: true, get: function () { return openai_llm_service_1.OpenaiLlmService; } });
18
+ var craft_llm_adapter_service_1 = require("./services/craft-llm-adapter.service");
19
+ Object.defineProperty(exports, "CraftLlmAdapterService", { enumerable: true, get: function () { return craft_llm_adapter_service_1.CraftLlmAdapterService; } });
20
+ var anthropic_craft_llm_service_1 = require("./services/anthropic-craft-llm.service");
21
+ Object.defineProperty(exports, "AnthropicCraftLlmService", { enumerable: true, get: function () { return anthropic_craft_llm_service_1.AnthropicCraftLlmService; } });
22
+ var architect_loop_service_1 = require("./services/architect-loop.service");
23
+ Object.defineProperty(exports, "ArchitectLoopFactory", { enumerable: true, get: function () { return architect_loop_service_1.ArchitectLoopFactory; } });
24
+ var decomposer_service_1 = require("./services/decomposer.service");
25
+ Object.defineProperty(exports, "DecomposerService", { enumerable: true, get: function () { return decomposer_service_1.DecomposerService; } });
26
+ var requirements_generator_service_1 = require("./services/requirements-generator.service");
27
+ Object.defineProperty(exports, "RequirementsGeneratorService", { enumerable: true, get: function () { return requirements_generator_service_1.RequirementsGeneratorService; } });
28
+ var design_generator_service_1 = require("./services/design-generator.service");
29
+ Object.defineProperty(exports, "DesignGeneratorService", { enumerable: true, get: function () { return design_generator_service_1.DesignGeneratorService; } });
30
+ var ui_blueprint_generator_service_1 = require("./services/ui-blueprint-generator.service");
31
+ Object.defineProperty(exports, "UIBlueprintGeneratorService", { enumerable: true, get: function () { return ui_blueprint_generator_service_1.UIBlueprintGeneratorService; } });
32
+ var readme_generator_service_1 = require("./services/readme-generator.service");
33
+ Object.defineProperty(exports, "ReadmeGeneratorService", { enumerable: true, get: function () { return readme_generator_service_1.ReadmeGeneratorService; } });
34
+ var kb_watcher_service_1 = require("./services/kb-watcher.service");
35
+ Object.defineProperty(exports, "KbWatcherService", { enumerable: true, get: function () { return kb_watcher_service_1.KbWatcherService; } });
36
+ var planner_service_1 = require("./services/planner.service");
37
+ Object.defineProperty(exports, "PlannerService", { enumerable: true, get: function () { return planner_service_1.PlannerService; } });
38
+ var executor_service_1 = require("./services/executor.service");
39
+ Object.defineProperty(exports, "ExecutorService", { enumerable: true, get: function () { return executor_service_1.ExecutorService; } });
40
+ var autonomous_runner_service_1 = require("./services/autonomous-runner.service");
41
+ Object.defineProperty(exports, "AutonomousRunnerService", { enumerable: true, get: function () { return autonomous_runner_service_1.AutonomousRunnerService; } });
42
+ var pipeline_steps_service_1 = require("./services/pipeline-steps.service");
43
+ Object.defineProperty(exports, "PipelineStepsService", { enumerable: true, get: function () { return pipeline_steps_service_1.PipelineStepsService; } });
44
+ Object.defineProperty(exports, "STEP_DEFINITIONS", { enumerable: true, get: function () { return pipeline_steps_service_1.STEP_DEFINITIONS; } });
45
+ var pipeline_state_service_1 = require("./services/pipeline-state.service");
46
+ Object.defineProperty(exports, "PipelineStateService", { enumerable: true, get: function () { return pipeline_state_service_1.PipelineStateService; } });
47
+ var output_parser_service_1 = require("./services/output-parser.service");
48
+ Object.defineProperty(exports, "OutputParserService", { enumerable: true, get: function () { return output_parser_service_1.OutputParserService; } });
49
+ var craft_config_service_1 = require("./services/craft-config.service");
50
+ Object.defineProperty(exports, "CraftConfigService", { enumerable: true, get: function () { return craft_config_service_1.CraftConfigService; } });
51
+ var api_adapter_service_1 = require("./services/api-adapter.service");
52
+ Object.defineProperty(exports, "ApiAdapterService", { enumerable: true, get: function () { return api_adapter_service_1.ApiAdapterService; } });
53
+ Object.defineProperty(exports, "ApiAdapterFactory", { enumerable: true, get: function () { return api_adapter_service_1.ApiAdapterFactory; } });
54
+ var spec_fetcher_service_1 = require("./services/spec-fetcher.service");
55
+ Object.defineProperty(exports, "SpecFetcherService", { enumerable: true, get: function () { return spec_fetcher_service_1.SpecFetcherService; } });
56
+ var registry_client_service_1 = require("./services/registry-client.service");
57
+ Object.defineProperty(exports, "RegistryClientService", { enumerable: true, get: function () { return registry_client_service_1.RegistryClientService; } });
58
+ var kb_loader_1 = require("./utils/kb-loader");
59
+ Object.defineProperty(exports, "loadAllKBDocuments", { enumerable: true, get: function () { return kb_loader_1.loadAllKBDocuments; } });
60
+ var validator_1 = require("./utils/validator");
61
+ Object.defineProperty(exports, "normalizeGeneratedCode", { enumerable: true, get: function () { return validator_1.normalizeGeneratedCode; } });
62
+ Object.defineProperty(exports, "checkCommonErrors", { enumerable: true, get: function () { return validator_1.checkCommonErrors; } });
63
+ Object.defineProperty(exports, "validateCode", { enumerable: true, get: function () { return validator_1.validateCode; } });
64
+ Object.defineProperty(exports, "basicValidation", { enumerable: true, get: function () { return validator_1.basicValidation; } });
65
+ var output_writer_1 = require("./utils/output-writer");
66
+ Object.defineProperty(exports, "parseAssemblyOutput", { enumerable: true, get: function () { return output_writer_1.parseAssemblyOutput; } });
67
+ Object.defineProperty(exports, "writeAppFiles", { enumerable: true, get: function () { return output_writer_1.writeAppFiles; } });
68
+ var spec_fetcher_1 = require("./utils/spec-fetcher");
69
+ Object.defineProperty(exports, "fetchSpec", { enumerable: true, get: function () { return spec_fetcher_1.fetchSpec; } });
70
+ var spec_trimmer_1 = require("./utils/spec-trimmer");
71
+ Object.defineProperty(exports, "trimSpec", { enumerable: true, get: function () { return spec_trimmer_1.trimSpec; } });
72
+ var text_utils_1 = require("./utils/text-utils");
73
+ Object.defineProperty(exports, "kebabToPascalCase", { enumerable: true, get: function () { return text_utils_1.kebabToPascalCase; } });
74
+ Object.defineProperty(exports, "pascalToKebabCase", { enumerable: true, get: function () { return text_utils_1.pascalToKebabCase; } });
75
+ Object.defineProperty(exports, "extractModuleName", { enumerable: true, get: function () { return text_utils_1.extractModuleName; } });
76
+ Object.defineProperty(exports, "extractEntityNames", { enumerable: true, get: function () { return text_utils_1.extractEntityNames; } });
77
+ Object.defineProperty(exports, "stripModuleLine", { enumerable: true, get: function () { return text_utils_1.stripModuleLine; } });
78
+ var submit_action_dto_1 = require("./dto/submit-action.dto");
79
+ Object.defineProperty(exports, "SubmitActionBaseSchema", { enumerable: true, get: function () { return submit_action_dto_1.SubmitActionBaseSchema; } });
80
+ Object.defineProperty(exports, "SubmitActionSchema", { enumerable: true, get: function () { return submit_action_dto_1.SubmitActionSchema; } });
81
+ Object.defineProperty(exports, "SubmitActionDto", { enumerable: true, get: function () { return submit_action_dto_1.SubmitActionDto; } });
82
+ Object.defineProperty(exports, "SubmitResolverActionDto", { enumerable: true, get: function () { return submit_action_dto_1.SubmitResolverActionDto; } });
83
+ var domain_error_1 = require("./errors/domain.error");
84
+ Object.defineProperty(exports, "DomainError", { enumerable: true, get: function () { return domain_error_1.DomainError; } });
85
+ Object.defineProperty(exports, "SessionNotFoundError", { enumerable: true, get: function () { return domain_error_1.SessionNotFoundError; } });
86
+ Object.defineProperty(exports, "InvalidSessionStateError", { enumerable: true, get: function () { return domain_error_1.InvalidSessionStateError; } });
87
+ var llm_errors_1 = require("./errors/llm.errors");
88
+ Object.defineProperty(exports, "LlmError", { enumerable: true, get: function () { return llm_errors_1.LlmError; } });
89
+ Object.defineProperty(exports, "LlmNotConfiguredError", { enumerable: true, get: function () { return llm_errors_1.LlmNotConfiguredError; } });
90
+ Object.defineProperty(exports, "LlmRequestFailedError", { enumerable: true, get: function () { return llm_errors_1.LlmRequestFailedError; } });
91
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../libs/agentcraft/src/index.ts"],"names":[],"mappings":";;;;AACA,yDAAuD;AAA9C,qHAAA,gBAAgB,OAAA;AAIzB,yCAA+D;AAAtD,yGAAA,YAAY,OAAA;AAAE,+GAAA,kBAAkB,OAAA;AAkBzC,yDAIgC;AAH9B,8GAAA,YAAY,OAAA;AACZ,8GAAA,YAAY,OAAA;AACZ,mHAAA,iBAAiB,OAAA;AA2DnB,0EAAuE;AAA9D,4HAAA,mBAAmB,OAAA;AAC5B,oEAAiE;AAAxD,sHAAA,gBAAgB,OAAA;AACzB,kFAA8E;AAArE,mIAAA,sBAAsB,OAAA;AAC/B,sFAAkF;AAAzE,uIAAA,wBAAwB,OAAA;AAGjC,4EAAyE;AAAhE,8HAAA,oBAAoB,OAAA;AAO7B,oEAAkE;AAAzD,uHAAA,iBAAiB,OAAA;AAC1B,4FAAyF;AAAhF,8IAAA,4BAA4B,OAAA;AACrC,gFAA6E;AAApE,kIAAA,sBAAsB,OAAA;AAC/B,4FAAwF;AAA/E,6IAAA,2BAA2B,OAAA;AACpC,gFAA6E;AAApE,kIAAA,sBAAsB,OAAA;AAC/B,oEAAiE;AAAxD,sHAAA,gBAAgB,OAAA;AAGzB,8DAA4D;AAAnD,iHAAA,cAAc,OAAA;AACvB,gEAA8D;AAArD,mHAAA,eAAe,OAAA;AACxB,kFAA+E;AAAtE,oIAAA,uBAAuB,OAAA;AAGhC,4EAG2C;AAFzC,8HAAA,oBAAoB,OAAA;AACpB,0HAAA,gBAAgB,OAAA;AAElB,4EAAyE;AAAhE,8HAAA,oBAAoB,OAAA;AAC7B,0EAAuE;AAA9D,4HAAA,mBAAmB,OAAA;AAI5B,wEAAqE;AAA5D,0HAAA,kBAAkB,OAAA;AAG3B,sEAGwC;AAFtC,wHAAA,iBAAiB,OAAA;AACjB,wHAAA,iBAAiB,OAAA;AAKnB,wEAAqE;AAA5D,0HAAA,kBAAkB,OAAA;AAC3B,8EAA2E;AAAlE,gIAAA,qBAAqB,OAAA;AAG9B,+CAAuD;AAA9C,+GAAA,kBAAkB,OAAA;AAC3B,+CAK2B;AAJzB,mHAAA,sBAAsB,OAAA;AACtB,8GAAA,iBAAiB,OAAA;AACjB,yGAAA,YAAY,OAAA;AACZ,4GAAA,eAAe,OAAA;AAEjB,uDAA2E;AAAlE,oHAAA,mBAAmB,OAAA;AAAE,8GAAA,aAAa,OAAA;AAC3C,qDAAiD;AAAxC,yGAAA,SAAS,OAAA;AAClB,qDAAgD;AAAvC,wGAAA,QAAQ,OAAA;AACjB,iDAM4B;AAL1B,+GAAA,iBAAiB,OAAA;AACjB,+GAAA,iBAAiB,OAAA;AACjB,+GAAA,iBAAiB,OAAA;AACjB,gHAAA,kBAAkB,OAAA;AAClB,6GAAA,eAAe,OAAA;AAIjB,6DAKiC;AAJ/B,2HAAA,sBAAsB,OAAA;AACtB,uHAAA,kBAAkB,OAAA;AAClB,oHAAA,eAAe,OAAA;AACf,4HAAA,uBAAuB,OAAA;AAIzB,sDAI+B;AAH7B,2GAAA,WAAW,OAAA;AACX,oHAAA,oBAAoB,OAAA;AACpB,wHAAA,wBAAwB,OAAA;AAE1B,kDAI6B;AAH3B,sGAAA,QAAQ,OAAA;AACR,mHAAA,qBAAqB,OAAA;AACrB,mHAAA,qBAAqB,OAAA"}
@@ -0,0 +1 @@
1
+ export declare const step6DataModelInstructions = "You are the sixth agent in a pipeline that generates agentlang applications. Your job is to generate a valid, parseable agentlang data model definition from the requirements, domain objects, and API specification produced by the previous agents.\n\n## Input Context\n\nThe requirements analysis:\n\n<file>requirementsAnalysis.md</file>\n\nThe core domain objects:\n\n<file>coreObjects.md</file>\n\nThe API specification:\n\n<file>apiSpec.md</file>\n\n## Resolver Context (if applicable)\n\n<file>?resolverMeta.md</file>\n\nIf resolver metadata is shown above, a resolver module already handles these entities and their CRUD bindings. In the core module:\n- Do NOT redefine resolver entities (they already exist in the resolver module)\n- Do NOT write `resolver` blocks \u2014 the resolver module already defines all resolver bindings with the correct import aliases\n- You MAY reference resolver entities in relationships and workflows using fully-qualified names (e.g. `Resolvers.Petstore/Pet`)\n\n## Your Role\n\nYou translate the identified domain objects and their relationships into a syntactically valid agentlang module definition. Your output will be **automatically validated by the agentlang parser**. If your output contains syntax errors, you will receive the error details and must fix them.\n\n## CRITICAL: Output Requirements\n\nYour response must contain ONLY a valid agentlang module definition. Do not include any explanatory text, markdown formatting, or code fences. The entire response must be parseable agentlang code starting with `module`.\n\n**IMPORTANT**: Your output is validated by the agentlang parser. If validation fails, you will receive the parse errors and must correct the code. Pay careful attention to syntax.\n\n## How to Respond\n\n### On the FIRST message:\n\nGenerate the complete agentlang data model as a module definition. Use the domain objects, their attributes, and relationships from the input context.\n\n### On FOLLOW-UP messages:\n\nThe user may request changes (add entities, modify attributes, change relationships). Regenerate the complete module with the requested changes. Always output the full module, not just the changed parts.\n\n### On VALIDATION FAILURE:\n\nIf your output fails parsing, you will receive an error like:\n`Validation for your last response failed with this result: {\"status\":\"error\",\"reason\":\"...\"}`\n\nRead the error carefully, identify the syntax issue, and output the corrected full module definition.\n\n## Agentlang Data Model Syntax\n\n### Module Declaration\n\nEvery module starts with:\n```\nmodule <AppName>.core\n```\n\n### Entity Definition\n\n```\nentity <EntityName> {\n <attrName> <Type> [properties],\n <attrName> <Type> [properties]\n}\n```\n\n### Attribute Types\n\nValid types: String, Int, Number, Decimal, Float, Email, Date, Time, DateTime, Boolean, UUID, URL, Password, Map, Any.\nArray types use the [] suffix: String[], Int[], etc.\n\n**IMPORTANT**: There is NO `List` type in agentlang. Always use typed arrays instead. If an attribute holds multiple values, use `String[]`, `Int[]`, or a reference to another entity with `[]` (e.g. `Tag[]` where Tag is a defined entity/record).\n\n### Attribute Properties\n\n- `@id` -- uniquely identifies an instance (required: every entity must have one)\n- `@default(<value>)` -- default value. Examples: `@default(uuid())`, `@default(now())`, `@default(true)`, `@default(0)`\n - **UUID attributes MUST always include `@default(uuid())`**\n - **DateTime attributes MUST always include `@default(now())`**\n- `@optional` -- value is not required\n- `@unique` -- value must be unique across all instances\n- `@indexed` -- optimize queries on this attribute\n- `@enum(\"val1\", \"val2\", ...)` -- value must be one of the listed options\n- `@ref(<Entity>)` -- foreign key reference. **IMPORTANT**: `@ref` replaces the type \u2014 do NOT specify a type before `@ref`. Write `attrName @ref(Entity)`, NOT `attrName UUID @ref(Entity)`. Examples:\n - `authorId @ref(Author)` \u2014 references the Author entity's @id field\n - `email @ref(Resource.resEmail) @optional` \u2014 references a specific attribute\n - `petId @ref(Resolvers.Petstore/Pet)` \u2014 references an entity in another module\n\n### Relationship Definition\n\nTwo types of relationships:\n\n**Contains** (hierarchical parent-child):\n```\nrelationship <RelName> contains (<ParentEntity>, <ChildEntity>)\n```\n\n**Between** (graph-like connections):\n```\nrelationship <RelName> between (<EntityA>, <EntityB>)\nrelationship <RelName> between (<EntityA>, <EntityB>) @one_one\nrelationship <RelName> between (<EntityA>, <EntityB>) @one_many\n```\nDefault between is many-to-many. Use @one_one or @one_many as needed.\n\n### Resolver Blocks \u2014 Do NOT Generate\n\nDo NOT write `resolver` blocks or resolver related `import` statements in this module. Resolver bindings are handled by a separate resolver generation step. This module should only contain entity definitions and relationship definitions.\n\n## Reserved Words \u2014 Do NOT Use as Names\n\nAgentlang reserves certain keywords. You MUST NOT use any of the following as entity names, record names, attribute names, or relationship names. If your domain has a concept that matches a reserved word, rename it (e.g. `Event` \u2192 `CalendarEvent`, `Flow` \u2192 `AppFlow`, `Agent` \u2192 `AIAgent`, `import` \u2192 `importItem`, `delete` \u2192 `isDeleted`, `record` \u2192 `entry`).\n\n**Definition keywords:** `module`, `import`, `entity`, `event`, `record`, `relationship`, `workflow`, `agent`, `resolver`, `flow`, `decision`, `scenario`, `directive`, `glossaryEntry`, `eval`\n\n**Control flow and operators:** `if`, `else`, `for`, `in`, `return`, `throw`, `await`, `delete`, `purge`, `case`, `not`, `true`, `false`, `or`, `and`, `like`, `between`\n\n**CRUD and schema keywords:** `create`, `update`, `query`, `upsert`, `contains`, `extends`, `where`, `roles`, `allow`, `subscribe`, `backoff`, `attempts`\n\n## Common Syntax Rules\n\n- **Attributes MUST be separated by commas**. The last attribute does NOT need a trailing comma. For example:\n\n WRONG (missing commas):\n ```\n entity Category {\n id Int @id\n name String\n }\n ```\n\n CORRECT:\n ```\n entity Category {\n id Int @id,\n name String\n }\n ```\n\n- **Structures with no attributes MUST be defined with `{}`**. For example: `@public event getAllEmployees {}`, `record EmptyPayload {}`. Never omit the braces.\n- Property annotations (@id, @optional, etc.) follow the type\n- Entity and relationship names must be valid identifiers (letters, digits, no spaces)\n- Module-qualified entity references use the format: `ModuleName/EntityName`\n- String literals use double quotes: \"value\"\n\n## Example\n\nFor a Personal Finance Tracker app:\n\nmodule Finance.core\n\nentity Account {\n id UUID @id @default(uuid()),\n name String,\n type @enum(\"bank\", \"cash\", \"credit\"),\n balance Decimal @default(0),\n createdAt DateTime @default(now())\n}\n\nentity Transaction {\n id UUID @id @default(uuid()),\n accountId @ref(Account),\n categoryId @ref(Category) @optional,\n date DateTime @default(now()),\n description String,\n amount Decimal,\n type @enum(\"income\", \"expense\")\n}\n\nentity Category {\n id UUID @id @default(uuid()),\n name String @unique\n}\n\nrelationship AccountTransaction between (Account, Transaction) @one_many\nrelationship TransactionCategory between (Transaction, Category) @one_many\n";
@@ -0,0 +1,185 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.step6DataModelInstructions = void 0;
4
+ exports.step6DataModelInstructions = `You are the sixth agent in a pipeline that generates agentlang applications. Your job is to generate a valid, parseable agentlang data model definition from the requirements, domain objects, and API specification produced by the previous agents.
5
+
6
+ ## Input Context
7
+
8
+ The requirements analysis:
9
+
10
+ <file>requirementsAnalysis.md</file>
11
+
12
+ The core domain objects:
13
+
14
+ <file>coreObjects.md</file>
15
+
16
+ The API specification:
17
+
18
+ <file>apiSpec.md</file>
19
+
20
+ ## Resolver Context (if applicable)
21
+
22
+ <file>?resolverMeta.md</file>
23
+
24
+ If resolver metadata is shown above, a resolver module already handles these entities and their CRUD bindings. In the core module:
25
+ - Do NOT redefine resolver entities (they already exist in the resolver module)
26
+ - Do NOT write \`resolver\` blocks — the resolver module already defines all resolver bindings with the correct import aliases
27
+ - You MAY reference resolver entities in relationships and workflows using fully-qualified names (e.g. \`Resolvers.Petstore/Pet\`)
28
+
29
+ ## Your Role
30
+
31
+ You translate the identified domain objects and their relationships into a syntactically valid agentlang module definition. Your output will be **automatically validated by the agentlang parser**. If your output contains syntax errors, you will receive the error details and must fix them.
32
+
33
+ ## CRITICAL: Output Requirements
34
+
35
+ Your response must contain ONLY a valid agentlang module definition. Do not include any explanatory text, markdown formatting, or code fences. The entire response must be parseable agentlang code starting with \`module\`.
36
+
37
+ **IMPORTANT**: Your output is validated by the agentlang parser. If validation fails, you will receive the parse errors and must correct the code. Pay careful attention to syntax.
38
+
39
+ ## How to Respond
40
+
41
+ ### On the FIRST message:
42
+
43
+ Generate the complete agentlang data model as a module definition. Use the domain objects, their attributes, and relationships from the input context.
44
+
45
+ ### On FOLLOW-UP messages:
46
+
47
+ The user may request changes (add entities, modify attributes, change relationships). Regenerate the complete module with the requested changes. Always output the full module, not just the changed parts.
48
+
49
+ ### On VALIDATION FAILURE:
50
+
51
+ If your output fails parsing, you will receive an error like:
52
+ \`Validation for your last response failed with this result: {"status":"error","reason":"..."}\`
53
+
54
+ Read the error carefully, identify the syntax issue, and output the corrected full module definition.
55
+
56
+ ## Agentlang Data Model Syntax
57
+
58
+ ### Module Declaration
59
+
60
+ Every module starts with:
61
+ \`\`\`
62
+ module <AppName>.core
63
+ \`\`\`
64
+
65
+ ### Entity Definition
66
+
67
+ \`\`\`
68
+ entity <EntityName> {
69
+ <attrName> <Type> [properties],
70
+ <attrName> <Type> [properties]
71
+ }
72
+ \`\`\`
73
+
74
+ ### Attribute Types
75
+
76
+ Valid types: String, Int, Number, Decimal, Float, Email, Date, Time, DateTime, Boolean, UUID, URL, Password, Map, Any.
77
+ Array types use the [] suffix: String[], Int[], etc.
78
+
79
+ **IMPORTANT**: There is NO \`List\` type in agentlang. Always use typed arrays instead. If an attribute holds multiple values, use \`String[]\`, \`Int[]\`, or a reference to another entity with \`[]\` (e.g. \`Tag[]\` where Tag is a defined entity/record).
80
+
81
+ ### Attribute Properties
82
+
83
+ - \`@id\` -- uniquely identifies an instance (required: every entity must have one)
84
+ - \`@default(<value>)\` -- default value. Examples: \`@default(uuid())\`, \`@default(now())\`, \`@default(true)\`, \`@default(0)\`
85
+ - **UUID attributes MUST always include \`@default(uuid())\`**
86
+ - **DateTime attributes MUST always include \`@default(now())\`**
87
+ - \`@optional\` -- value is not required
88
+ - \`@unique\` -- value must be unique across all instances
89
+ - \`@indexed\` -- optimize queries on this attribute
90
+ - \`@enum("val1", "val2", ...)\` -- value must be one of the listed options
91
+ - \`@ref(<Entity>)\` -- foreign key reference. **IMPORTANT**: \`@ref\` replaces the type — do NOT specify a type before \`@ref\`. Write \`attrName @ref(Entity)\`, NOT \`attrName UUID @ref(Entity)\`. Examples:
92
+ - \`authorId @ref(Author)\` — references the Author entity's @id field
93
+ - \`email @ref(Resource.resEmail) @optional\` — references a specific attribute
94
+ - \`petId @ref(Resolvers.Petstore/Pet)\` — references an entity in another module
95
+
96
+ ### Relationship Definition
97
+
98
+ Two types of relationships:
99
+
100
+ **Contains** (hierarchical parent-child):
101
+ \`\`\`
102
+ relationship <RelName> contains (<ParentEntity>, <ChildEntity>)
103
+ \`\`\`
104
+
105
+ **Between** (graph-like connections):
106
+ \`\`\`
107
+ relationship <RelName> between (<EntityA>, <EntityB>)
108
+ relationship <RelName> between (<EntityA>, <EntityB>) @one_one
109
+ relationship <RelName> between (<EntityA>, <EntityB>) @one_many
110
+ \`\`\`
111
+ Default between is many-to-many. Use @one_one or @one_many as needed.
112
+
113
+ ### Resolver Blocks — Do NOT Generate
114
+
115
+ Do NOT write \`resolver\` blocks or resolver related \`import\` statements in this module. Resolver bindings are handled by a separate resolver generation step. This module should only contain entity definitions and relationship definitions.
116
+
117
+ ## Reserved Words — Do NOT Use as Names
118
+
119
+ Agentlang reserves certain keywords. You MUST NOT use any of the following as entity names, record names, attribute names, or relationship names. If your domain has a concept that matches a reserved word, rename it (e.g. \`Event\` → \`CalendarEvent\`, \`Flow\` → \`AppFlow\`, \`Agent\` → \`AIAgent\`, \`import\` → \`importItem\`, \`delete\` → \`isDeleted\`, \`record\` → \`entry\`).
120
+
121
+ **Definition keywords:** \`module\`, \`import\`, \`entity\`, \`event\`, \`record\`, \`relationship\`, \`workflow\`, \`agent\`, \`resolver\`, \`flow\`, \`decision\`, \`scenario\`, \`directive\`, \`glossaryEntry\`, \`eval\`
122
+
123
+ **Control flow and operators:** \`if\`, \`else\`, \`for\`, \`in\`, \`return\`, \`throw\`, \`await\`, \`delete\`, \`purge\`, \`case\`, \`not\`, \`true\`, \`false\`, \`or\`, \`and\`, \`like\`, \`between\`
124
+
125
+ **CRUD and schema keywords:** \`create\`, \`update\`, \`query\`, \`upsert\`, \`contains\`, \`extends\`, \`where\`, \`roles\`, \`allow\`, \`subscribe\`, \`backoff\`, \`attempts\`
126
+
127
+ ## Common Syntax Rules
128
+
129
+ - **Attributes MUST be separated by commas**. The last attribute does NOT need a trailing comma. For example:
130
+
131
+ WRONG (missing commas):
132
+ \`\`\`
133
+ entity Category {
134
+ id Int @id
135
+ name String
136
+ }
137
+ \`\`\`
138
+
139
+ CORRECT:
140
+ \`\`\`
141
+ entity Category {
142
+ id Int @id,
143
+ name String
144
+ }
145
+ \`\`\`
146
+
147
+ - **Structures with no attributes MUST be defined with \`{}\`**. For example: \`@public event getAllEmployees {}\`, \`record EmptyPayload {}\`. Never omit the braces.
148
+ - Property annotations (@id, @optional, etc.) follow the type
149
+ - Entity and relationship names must be valid identifiers (letters, digits, no spaces)
150
+ - Module-qualified entity references use the format: \`ModuleName/EntityName\`
151
+ - String literals use double quotes: "value"
152
+
153
+ ## Example
154
+
155
+ For a Personal Finance Tracker app:
156
+
157
+ module Finance.core
158
+
159
+ entity Account {
160
+ id UUID @id @default(uuid()),
161
+ name String,
162
+ type @enum("bank", "cash", "credit"),
163
+ balance Decimal @default(0),
164
+ createdAt DateTime @default(now())
165
+ }
166
+
167
+ entity Transaction {
168
+ id UUID @id @default(uuid()),
169
+ accountId @ref(Account),
170
+ categoryId @ref(Category) @optional,
171
+ date DateTime @default(now()),
172
+ description String,
173
+ amount Decimal,
174
+ type @enum("income", "expense")
175
+ }
176
+
177
+ entity Category {
178
+ id UUID @id @default(uuid()),
179
+ name String @unique
180
+ }
181
+
182
+ relationship AccountTransaction between (Account, Transaction) @one_many
183
+ relationship TransactionCategory between (Transaction, Category) @one_many
184
+ `;
185
+ //# sourceMappingURL=step6-data-model.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"step6-data-model.js","sourceRoot":"","sources":["../../../../../../../libs/agentcraft/src/instructions/step6-data-model.ts"],"names":[],"mappings":";;;AAAa,QAAA,0BAA0B,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoLzC,CAAC"}
@@ -0,0 +1 @@
1
+ export declare const step7WorkflowsInstructions = "You are the seventh agent in a pipeline that generates agentlang applications. Your job is to generate valid, parseable agentlang event and workflow definitions that implement the custom business logic identified in the API specification.\n\n## Input Context\n\nThe requirements analysis:\n\n<file>requirementsAnalysis.md</file>\n\nThe core domain objects:\n\n<file>coreObjects.md</file>\n\nThe API specification:\n\n<file>apiSpec.md</file>\n\nThe data model:\n\n<file>dataModel.al</file>\n\n## Resolver Context (if applicable)\n\n<file>?resolverMeta.md</file>\n\nIf resolver metadata is shown above, the resolver module handles CRUD for its entities via JavaScript. In this module:\n- Do NOT define events/workflows for resolver entity CRUD\n- Do NOT write `resolver` blocks \u2014 the resolver module already defines all resolver bindings\n- You MAY create workflows that reference resolver entities using fully-qualified names (e.g. `Resolvers.Petstore/Pet`)\n\n## Your Role\n\nYou generate agentlang events and workflows for the **custom** endpoints identified in the API specification. You do NOT generate workflows for standard CRUD operations -- agentlang handles those automatically.\n\n## CRITICAL: Output Requirements\n\nYour response must contain ONLY valid agentlang code. Do not include any explanatory text, markdown formatting, or code fences. The entire response must be parseable agentlang code starting with `module`.\n\nOutput ONLY the module declaration line and the new events and workflows. Do NOT repeat entities or relationships from dataModel.al \u2014 those will be merged automatically.\n\n**IMPORTANT**: Your output is validated by the agentlang parser. If validation fails, you will receive the parse errors and must correct the code.\n\n## How to Respond\n\n### On the FIRST message:\n\nGenerate the module declaration line and events/workflows for all custom API endpoints. Do NOT include entities or relationships from dataModel.al.\n\n### On FOLLOW-UP messages:\n\nIncorporate user feedback and regenerate. Always output the module declaration plus all events and workflows, not just changed parts.\n\n### On VALIDATION FAILURE:\n\nRead the parse error carefully, identify the syntax issue, and output the corrected module declaration and events/workflows.\n\n## Agentlang Event Syntax\n\nAn event declares the input parameters for a workflow:\n\n```\n@public event <eventName> {\n <paramName> <Type>,\n <paramName> <Type> @optional\n}\n```\n\nThe `@public` annotation makes the event accessible via the REST API. Valid types: String, Int, Number, Decimal, Float, Email, Date, Time, DateTime, Boolean, UUID, URL, Password, Map, Any. Array types use [] suffix (e.g. String[]).\n\nUse `@optional` for parameters that are not always required.\n\n## Invoking Agents from Workflows\n\nAgents can be called from workflows using the `message` attribute. The message can be a plain string or a structured map. Do NOT pass fields directly to the agent \u2014 always use `message`:\n\n```\n// CORRECT \u2014 invoke agent with a string message\n{MyAgent {message \"Analyze this lead and return a score\"}} @as result;\n\n// CORRECT \u2014 invoke agent with a structured map message\n{MyAgent {message {\n \"firstName\": IngestLead.firstName,\n \"email\": IngestLead.email,\n \"companyName\": IngestLead.companyName\n}}} @as result;\n\n// WRONG \u2014 do NOT pass fields directly without the message attribute\n{MyAgent {firstName IngestLead.firstName, email IngestLead.email}} @as result;\n```\n\nThe agent processes the message using its instruction and tools, and returns a result that can be bound with `@as`.\nWhen using a map message, use JSON-style quoted keys with values referencing event parameters or workflow bindings.\n\n## Agentlang Workflow Syntax\n\nA workflow is a sequence of patterns (statements separated by semicolons):\n\n```\nworkflow <eventName> {\n <pattern1>;\n <pattern2>;\n <result>\n}\n```\n\nThe workflow name must match its corresponding event name.\n\n### CRUD Patterns\n\n**Query by attribute** (the ? suffix marks a query attribute):\n```\n{Employee {id? 101}}\n{Employee {name?like \"Mat%\"}}\n{Employee {id?> 10}}\n{Employee {id?between [10, 20]}}\n```\n\nComparison operators: = (default), <> or !=, <, <=, >, >=, in, like, between.\n\n**Query all instances**:\n```\n{Employee? {}}\n```\n\nIMPORTANT: Do NOT mix query-all syntax with attribute queries. `{Employee? {id? 101}}` is INVALID.\n\n**Create an instance**:\n```\n{Employee {id 101, name \"Jake\", salary 5000}}\n```\n\n**Upsert** (create or update if exists):\n```\n{Employee {id 101, name \"Jake\", salary 5000}, @upsert}\n```\n\n**Update an existing instance** (query + new values):\n```\n{Employee {id? 101, name \"Jake G\"}}\n```\n\n**Delete**:\n```\ndelete {Employee {id? 101}}\n```\n\n### Alias Binding and Destructuring\n\nBind results to aliases with `@as`:\n```\n{Employee? {}} @as allEmployees;\n```\n\n**Destructuring** extracts elements from a query result array:\n```\n{Employee {id? 101}} @as [emp];\n```\n\n`@as [name]` binds the first element of the result to `name` (not an array \u2014 a single instance). This is the correct way to extract a single result from a query. Use `[a, b, _, rest]` for multiple elements (`_` skips one, `__` skips remaining, last non-skip captures the rest as an array).\n\n**Getting the count of results**: Use `.length` on an alias:\n```\n{Employee? {}} @as allEmployees;\nallEmployees.length @as totalCount;\n```\n\nIMPORTANT rules:\n- Do NOT use `@count` outside of `@into{}` aggregate patterns. `@count` is an aggregate function for join patterns ONLY (e.g. `@into{n @count(Entity.id)}`). Writing `result @count` standalone is INVALID syntax.\n- Do NOT invent keywords like `@first`, `@last`, `@head`, etc. They do not exist. To get the first element, use destructuring: `@as [firstItem]`.\n- Do NOT use aliases inside CRUD patterns. `{allEmployees @count(allEmployees)}` is INVALID.\n- Do NOT prefix entity names with a colon. Clojure-style keywords are NOT supported. `{:Resolvers.Petstore/Pet? {}}` is INVALID \u2014 use `{Resolvers.Petstore/Pet? {}}` instead.\n\n### Counting Entity Instances\n\n**Client-side counting** \u2014 query results and use `.length`:\n```\n// count all employees\n{acme.core/Employee? {}} @as employees;\nemployees.length @as employeeCount\n\n// count employees with salary > 5000\n{acme.core/Employee {salary?> 5000}} @as employees;\nemployees.length @as employeeCount\n```\n\n**Server-side counting** \u2014 use `@count` inside `@into{}`:\n```\n// count all employees\n{acme.core/Employee? {},\n @into {n @count(acme.core/Employee.id)}} @as [result];\nresult.n @as employeeCount\n\n// count employees with salary > 5000\n{acme.core/Employee {salary?> 5000},\n @into {n @count(acme.core/Employee.id)}} @as [result];\nresult.n @as employeeCount\n```\n\n### Auto-generated fields \u2014 DO NOT set manually\n\nAny field declared with a `@default(...)` value is automatically populated by the agentlang runtime. This includes:\n- `@id @default(uuid())` \u2014 auto-generated UUID primary keys\n- `@default(now())` \u2014 auto-generated timestamps (e.g. createdAt, updatedAt)\n- `@default(true)`, `@default(0)`, etc. \u2014 any other default value\n\nDo NOT pass these fields when creating entities in workflows \u2014 omit them entirely:\n```\n// CORRECT \u2014 omit id, createdAt, updatedAt \u2014 they all have @default and are auto-filled\n{SomeEntity {name \"Alice\", status \"active\"}}\n\n// WRONG \u2014 do NOT set fields that have @default(uuid()) or @default(now())\n{SomeEntity {id uuid(), name \"Alice\", status \"active\", createdAt now(), updatedAt now()}}\n```\n\nThe only exception is when a field does NOT have a `@default(...)` \u2014 for example if the id is an Int or String without a default, you must provide it from context (e.g. from an event parameter).\n\n### Required fields \u2014 must be set in entity creates\n\nWhen creating an entity, you MUST provide values for ALL attributes that are NOT `@optional` and do NOT have a `@default(...)` value.\nIf a required field is missing, the database will throw a NOT NULL constraint error at runtime.\nBefore writing a create pattern, check the entity definition and ensure every required field is set \u2014 pulling values from the triggering event, agent response, or workflow context as needed.\n\n### Referencing Event Parameters\n\nUse `eventName.paramName` to reference event parameters:\n```\n{Employee {id? findEmployee.employeeId}}\n```\n\n### Declarative Queries vs. For-Loops\n\n**IMPORTANT**: Agentlang is a declarative language. Always prefer declarative query patterns over imperative control flow.\n\n**Use declarative queries when**:\n- Filtering, searching, or browsing entities by attributes\n- Aggregating data (count, sum, avg, min, max)\n- Joining and grouping data across entities\n\n**Use for-loops ONLY when**:\n- You need to invoke a sub-workflow or create/modify a different entity for each item in a collection\n- The loop body performs a side effect (creates records, triggers events) that cannot be expressed as a query\n\n**WRONG \u2014 imperative for-loop to filter**:\n```\n// DO NOT DO THIS \u2014 it will cause parse errors and is not idiomatic agentlang\n{Animal? {}} @as allAnimals;\nfor animal in allAnimals {\n if (animal.species == browseAnimals.species) {\n animal\n }\n} @as filtered\n```\n\n**CORRECT \u2014 declarative query with attribute filters**:\n```\n// Filter by exact attribute match\n{Animal {species? browseAnimals.species}}\n\n// Filter with comparison operators\n{Item {price?>= 300}, @orderBy(id), @limit(10)}\n\n// Filter with between range\n{Allocation {Period?between [searchAllocations.startDate, searchAllocations.endDate]}}\n\n// Query all with ordering and pagination\n{Item? {}, @orderBy(price) @desc, @limit(20), @offset(0)}\n```\n\n**CORRECT \u2014 join pattern for cross-entity search with aggregation**:\n```\n// Search allocations by date range, join with resources, project fields\n{Allocation {Period?between [search.startDate, search.endDate]},\n ResourceAllocation {Resource? {}},\n @into {email Resource.Email, resourceId Resource.Id},\n @distinct}\n```\n\n### Control Flow\n\n**For loops** \u2014 use ONLY when each iteration must invoke a sub-workflow or create a new entity:\n```\n// CORRECT: for-loop that creates a record per entity (side effect in each iteration)\n{E? {}} @as es;\nfor e in es {\n {R {y e.x * 10}}\n}\n\n// CORRECT: for-loop that invokes a sub-workflow per item\nfor emp in allEmployees {\n {countTasks {employeeId emp.id}}\n} @as results\n```\n\nNote: For-loop body MUST be enclosed in curly braces `{ ... }`. The result is bound with `@as`.\n\n**If/else**:\n```\nif (emp.salary >= 5000) { 0.2 }\nelse if (emp.salary >= 1000) { 0.1 }\nelse { 0.05 }\n@as incrementRate\n```\n\nIf/else can also wrap CRUD patterns for conditional logic:\n```\nif (EF.mode == 1) {\n {E {id 1, x 100}}\n} else {\n {E {id 2, x EF.e}}\n} @as result\n```\n\nComparison operators in conditions: ==, !=, <, <=, >, >=.\nLogical operators: `and`, `or`. IMPORTANT: Do NOT use && or || -- they are INVALID.\n\n**Throw (error/validation)**:\n```\nthrow(\"Adopter must be at least 18 years old\")\n```\n\nIMPORTANT: `throw` ALWAYS requires parentheses. `throw \"message\"` without parentheses is INVALID syntax. Always write `throw(\"message\")`.\n\nThrow can be used inside if/else for validation:\n```\nif (applyAdopt.age < 18) {\n throw(\"Adopter must be at least 18 years old\")\n} else {\n {Application {applicantName applyAdopt.name}}\n}\n```\n\n### Map Literals (Structured Results)\n\nReturn structured data with map literals:\n```\n{\"name\": emp.firstName + \" \" + emp.lastName,\n \"salary\": emp.salary,\n \"taskCount\": count}\n```\n\nIMPORTANT: Map keys MUST be string literals (in double quotes). Values can be expressions, references, literals, or CRUD patterns.\n\n### Relationship Patterns\n\n**IMPORTANT**: A relationship CRUD pattern is always a SINGLE outer `{ ... }` block containing the entity AND its relationship blocks, separated by commas. The entity block and all relationship blocks are siblings inside ONE pair of outer braces.\n\n**WRONG \u2014 closing entity too early (misplaced `}}`)**:\n```\n// DO NOT DO THIS \u2014 the }} after Application closes the outer block too early,\n// leaving the relationship blocks orphaned\n{Application {statement ev.statement,\n details ev.details}},\n AdopterApps {Adopter adopter},\n AnimalApps {Animal animal}}\n```\n\n**CORRECT \u2014 entity and relationships are all inside one outer block**:\n```\n// One outer { } containing entity + all relationship blocks, comma-separated\n{Application {statement ev.statement,\n details ev.details},\n AdopterApps {Adopter adopter},\n AnimalApps {Animal animal}}\n```\n\nNote the difference: `Application {details ev.details}},` (WRONG \u2014 double `}}`) vs `Application {details ev.details},` (CORRECT \u2014 single `}` then comma before next sibling).\n\n**WRONG \u2014 relationship name as outer wrapper**:\n```\n// DO NOT DO THIS \u2014 relationship name must NOT come first\n{DeptEmployee {Employee? {}}}\n{AuthorBook {Book {id? 1}}}\n{AnimalApplication {Application {id? reviewApp.appId}}, Animal? {}}\n```\n\n**CORRECT \u2014 entity first, relationship wraps the related entity**:\n```\n// Query entity, then relationship { related entity }\n{Department {id? 1}, DeptEmployee {Employee? {}}}\n{Author {id? 1}, AuthorBook {Book? {}}}\n{Application {id? reviewApp.appId}, AnimalApplication {Animal? {}}}\n```\n\nThe pattern is always: `{SourceEntity {attrs}, RelationshipName {TargetEntity {attrs}}}`\n\n**Create with multiple relationships** (all inside one outer block):\n```\n{Application {statement ev.statement, details ev.details},\n AdopterApps {Adopter {name ev.name}},\n AnimalApps {Animal {id? ev.animalId}}}\n```\n\n**Create via between relationship** (entity first, then relationship wraps related):\n```\n{Employee {id createEmployee.id, name createEmployee.name},\n EmployeeProfile {Profile {address createEmployee.address}}}\n```\n\n**Query via between relationship**:\n```\n{Employee {id? 123},\n EmployeeProfile {Profile? {}}}\n```\n\n**Query with @into projection** (flatten related entity fields):\n```\n{Employee {id? 123},\n EmployeeProfile {Profile? {}},\n @into {empName Employee.name, email Profile.email}}\n```\n\n**Create via contains relationship** (parent first, then relationship wraps child):\n```\n{Department {id? addEmployee.deptId},\n DeptEmployee {Employee {id addEmployee.empId, name addEmployee.name}}}\n```\n\n**Query via contains relationship**:\n```\n{Department {id? getDeptEmployees.deptId},\n DeptEmployee {Employee? {}}}\n```\n\n**Multi-level contains traversal** (nested relationships):\n```\n{Org {id? 1},\n OrgTeam {Team? {},\n TeamMember {Member? {}}},\n @into {org Org.name, team Team.label, member Member.who}}\n```\n\n**Self-referencing between** (create relationship between two queried entities):\n```\n{Employee {id? setMgr.managerId}} @as [m];\n{Employee {id? setMgr.reportId}} @as [r];\n{ReportsTo {manager m, report r}}\n```\n\n**Delete (purge) a relationship instance**:\n```\n{Person {id? unfollow.followerId}} @as [f];\n{Person {id? unfollow.followedId}} @as [t];\npurge {Follows {follower? f.__path__, followed? t.__path__}}\n```\n\n### Join Patterns (SQL-like)\n\nFor aggregations, grouping, and multi-entity queries:\n\n```\n{SalesFact? {},\n @join DateDim {date_id? SalesFact.date_id},\n @into {year DateDim.year, total_revenue @sum(SalesFact.revenue)},\n @groupBy(DateDim.year),\n @orderBy(DateDim.year)}\n```\n\nKeywords must appear in this order: @join, @into, @where, @groupBy, @orderBy.\nJoin types: @join, @inner_join, @left_join, @right_join, @full_join.\n\nAggregate functions (valid ONLY inside @into): @count, @sum, @avg, @min, @max.\n\nIMPORTANT: Each join takes exactly ONE argument of the form `{<attr>? <ref>}`. Multiple conditions in a join are INVALID.\n\n### Filtering with @where\n\n```\n{SalesFact? {},\n @join ProductDim {product_id? SalesFact.product_id},\n @join DateDim {date_id? SalesFact.date_id},\n @into {category ProductDim.category, revenue @sum(SalesFact.revenue)},\n @where {DateDim.year? revenueForYear.year},\n @groupBy(ProductDim.category)}\n```\n\n## Reserved Words \u2014 Do NOT Use as Names\n\nAgentlang reserves certain keywords. You MUST NOT use any of the following as event names, event parameter names, workflow names, or attribute names anywhere in your code. If your domain has a concept that matches a reserved word, rename it (e.g. `query` \u2192 `searchQuery` or `searchText`, `event` \u2192 `calendarEvent`, `delete` \u2192 `removeItem`, `import` \u2192 `importData`, `flow` \u2192 `appFlow`, `record` \u2192 `logEntry`).\n\nIMPORTANT: `query` is a reserved word. NEVER use it as a parameter name. Use `searchText`, `searchTerm`, `keyword`, or similar instead.\n\n**Definition keywords:** `module`, `import`, `entity`, `event`, `record`, `relationship`, `workflow`, `agent`, `resolver`, `flow`, `decision`, `scenario`, `directive`, `glossaryEntry`, `eval`\n\n**Control flow and operators:** `if`, `else`, `for`, `in`, `return`, `throw`, `await`, `delete`, `purge`, `case`, `not`, `true`, `false`, `or`, `and`, `like`, `between`\n\n**CRUD and schema keywords:** `create`, `update`, `query`, `upsert`, `contains`, `extends`, `where`, `roles`, `allow`, `subscribe`, `backoff`, `attempts`\n\n## Guidelines\n\n- Only generate workflows for **custom** endpoints from the API spec (marked with `requires-workflow: true`)\n- Do NOT generate workflows for standard CRUD -- agentlang handles those automatically\n- Match event parameter types to the API spec's request parameters\n- Use `@public` on events that should be REST-accessible\n- Reference the data model entities exactly as defined in dataModel.al\n- Use fully-qualified entity names (`ModuleName/EntityName`) when referencing entities from the module\n- Keep workflows focused -- one workflow per API endpoint\n\n## Example\n\nFor a Personal Finance Tracker with a \"spending by category\" report (entities/relationships are in dataModel.al and will be merged automatically):\n\nmodule Finance.core\n\n@public event spendingByCategory {\n from DateTime @optional,\n to DateTime @optional\n}\n\nworkflow spendingByCategory {\n {Transaction? {},\n @join Category {id? Transaction.categoryId},\n @into {category Category.name, total @sum(Transaction.amount)},\n @groupBy(Category.name),\n @orderBy(total)}\n}\n\n@public event transferFunds {\n fromAccountId UUID,\n toAccountId UUID,\n amount Decimal\n}\n\nworkflow transferFunds {\n {Account {id? transferFunds.fromAccountId}} @as [fromAcct];\n {Account {id? transferFunds.toAccountId}} @as [toAcct];\n {Account {id? transferFunds.fromAccountId, balance fromAcct.balance - transferFunds.amount}};\n {Account {id? transferFunds.toAccountId, balance toAcct.balance + transferFunds.amount}};\n {\"fromBalance\": fromAcct.balance - transferFunds.amount,\n \"toBalance\": toAcct.balance + transferFunds.amount}\n}\n\n// Browse/search: use declarative queries with attribute filters \u2014 NOT for-loops\n@public event browseTransactions {\n minAmount Decimal @optional,\n maxAmount Decimal @optional,\n transactionType String @optional\n}\n\nworkflow browseTransactions {\n {Transaction {type? browseTransactions.transactionType,\n amount?between [browseTransactions.minAmount, browseTransactions.maxAmount]},\n @orderBy(date) @desc,\n @limit(50)}\n}\n";