@solidxai/core 0.1.20 → 0.1.21-beta.1

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 (418) hide show
  1. package/CHANGELOG.md +51 -0
  2. package/agenthub-ui-json-seed-audit.md +151 -0
  3. package/dist/commands/run-tests.command.d.ts +2 -0
  4. package/dist/commands/run-tests.command.d.ts.map +1 -1
  5. package/dist/commands/run-tests.command.js +16 -0
  6. package/dist/commands/run-tests.command.js.map +1 -1
  7. package/dist/constants/error-messages.js +1 -1
  8. package/dist/constants/error-messages.js.map +1 -1
  9. package/dist/controllers/agent-config-version.controller.d.ts +93 -0
  10. package/dist/controllers/agent-config-version.controller.d.ts.map +1 -0
  11. package/dist/controllers/agent-config-version.controller.js +211 -0
  12. package/dist/controllers/agent-config-version.controller.js.map +1 -0
  13. package/dist/controllers/agent-registry.controller.d.ts +2 -0
  14. package/dist/controllers/agent-registry.controller.d.ts.map +1 -1
  15. package/dist/controllers/agent-registry.controller.js +14 -0
  16. package/dist/controllers/agent-registry.controller.js.map +1 -1
  17. package/dist/controllers/agent-session.controller.d.ts +18 -0
  18. package/dist/controllers/agent-session.controller.d.ts.map +1 -1
  19. package/dist/controllers/agent-session.controller.js +18 -0
  20. package/dist/controllers/agent-session.controller.js.map +1 -1
  21. package/dist/controllers/agent-user-memory.controller.d.ts +16 -0
  22. package/dist/controllers/agent-user-memory.controller.d.ts.map +1 -0
  23. package/dist/controllers/agent-user-memory.controller.js +135 -0
  24. package/dist/controllers/agent-user-memory.controller.js.map +1 -0
  25. package/dist/dtos/activate-agent-registry.dto.d.ts +5 -0
  26. package/dist/dtos/activate-agent-registry.dto.d.ts.map +1 -0
  27. package/dist/dtos/activate-agent-registry.dto.js +34 -0
  28. package/dist/dtos/activate-agent-registry.dto.js.map +1 -0
  29. package/dist/dtos/create-agent-config-version.dto.d.ts +8 -0
  30. package/dist/dtos/create-agent-config-version.dto.d.ts.map +1 -0
  31. package/dist/dtos/create-agent-config-version.dto.js +50 -0
  32. package/dist/dtos/create-agent-config-version.dto.js.map +1 -0
  33. package/dist/dtos/create-agent-hub-tag.dto.d.ts +2 -0
  34. package/dist/dtos/create-agent-hub-tag.dto.d.ts.map +1 -1
  35. package/dist/dtos/create-agent-hub-tag.dto.js +13 -1
  36. package/dist/dtos/create-agent-hub-tag.dto.js.map +1 -1
  37. package/dist/dtos/create-agent-registry.dto.d.ts +2 -0
  38. package/dist/dtos/create-agent-registry.dto.d.ts.map +1 -1
  39. package/dist/dtos/create-agent-registry.dto.js +13 -1
  40. package/dist/dtos/create-agent-registry.dto.js.map +1 -1
  41. package/dist/dtos/create-agent-skill-registry.dto.d.ts +2 -0
  42. package/dist/dtos/create-agent-skill-registry.dto.d.ts.map +1 -1
  43. package/dist/dtos/create-agent-skill-registry.dto.js +13 -1
  44. package/dist/dtos/create-agent-skill-registry.dto.js.map +1 -1
  45. package/dist/dtos/create-agent-tool-registry.dto.d.ts +2 -0
  46. package/dist/dtos/create-agent-tool-registry.dto.d.ts.map +1 -1
  47. package/dist/dtos/create-agent-tool-registry.dto.js +13 -1
  48. package/dist/dtos/create-agent-tool-registry.dto.js.map +1 -1
  49. package/dist/dtos/create-agent-user-memory.dto.d.ts +8 -0
  50. package/dist/dtos/create-agent-user-memory.dto.d.ts.map +1 -0
  51. package/dist/dtos/create-agent-user-memory.dto.js +52 -0
  52. package/dist/dtos/create-agent-user-memory.dto.js.map +1 -0
  53. package/dist/dtos/create-secret.dto.d.ts +2 -0
  54. package/dist/dtos/create-secret.dto.d.ts.map +1 -1
  55. package/dist/dtos/create-secret.dto.js +13 -1
  56. package/dist/dtos/create-secret.dto.js.map +1 -1
  57. package/dist/dtos/test-run-request.dto.d.ts +1 -0
  58. package/dist/dtos/test-run-request.dto.d.ts.map +1 -1
  59. package/dist/dtos/test-run-request.dto.js +6 -1
  60. package/dist/dtos/test-run-request.dto.js.map +1 -1
  61. package/dist/dtos/update-agent-config-version.dto.d.ts +9 -0
  62. package/dist/dtos/update-agent-config-version.dto.d.ts.map +1 -0
  63. package/dist/dtos/update-agent-config-version.dto.js +58 -0
  64. package/dist/dtos/update-agent-config-version.dto.js.map +1 -0
  65. package/dist/dtos/update-agent-hub-tag.dto.d.ts +2 -0
  66. package/dist/dtos/update-agent-hub-tag.dto.d.ts.map +1 -1
  67. package/dist/dtos/update-agent-hub-tag.dto.js +13 -1
  68. package/dist/dtos/update-agent-hub-tag.dto.js.map +1 -1
  69. package/dist/dtos/update-agent-registry.dto.d.ts +2 -0
  70. package/dist/dtos/update-agent-registry.dto.d.ts.map +1 -1
  71. package/dist/dtos/update-agent-registry.dto.js +13 -1
  72. package/dist/dtos/update-agent-registry.dto.js.map +1 -1
  73. package/dist/dtos/update-agent-skill-registry.dto.d.ts +2 -0
  74. package/dist/dtos/update-agent-skill-registry.dto.d.ts.map +1 -1
  75. package/dist/dtos/update-agent-skill-registry.dto.js +13 -1
  76. package/dist/dtos/update-agent-skill-registry.dto.js.map +1 -1
  77. package/dist/dtos/update-agent-tool-registry.dto.d.ts +2 -0
  78. package/dist/dtos/update-agent-tool-registry.dto.d.ts.map +1 -1
  79. package/dist/dtos/update-agent-tool-registry.dto.js +13 -1
  80. package/dist/dtos/update-agent-tool-registry.dto.js.map +1 -1
  81. package/dist/dtos/update-agent-user-memory.dto.d.ts +9 -0
  82. package/dist/dtos/update-agent-user-memory.dto.d.ts.map +1 -0
  83. package/dist/dtos/update-agent-user-memory.dto.js +58 -0
  84. package/dist/dtos/update-agent-user-memory.dto.js.map +1 -0
  85. package/dist/dtos/update-secret.dto.d.ts +2 -0
  86. package/dist/dtos/update-secret.dto.d.ts.map +1 -1
  87. package/dist/dtos/update-secret.dto.js +13 -1
  88. package/dist/dtos/update-secret.dto.js.map +1 -1
  89. package/dist/entities/agent-config-version.entity.d.ts +9 -0
  90. package/dist/entities/agent-config-version.entity.d.ts.map +1 -0
  91. package/dist/entities/agent-config-version.entity.js +44 -0
  92. package/dist/entities/agent-config-version.entity.js.map +1 -0
  93. package/dist/entities/agent-hub-tag.entity.d.ts +2 -0
  94. package/dist/entities/agent-hub-tag.entity.d.ts.map +1 -1
  95. package/dist/entities/agent-hub-tag.entity.js +8 -1
  96. package/dist/entities/agent-hub-tag.entity.js.map +1 -1
  97. package/dist/entities/agent-registry.entity.d.ts +4 -0
  98. package/dist/entities/agent-registry.entity.d.ts.map +1 -1
  99. package/dist/entities/agent-registry.entity.js +13 -1
  100. package/dist/entities/agent-registry.entity.js.map +1 -1
  101. package/dist/entities/agent-session.entity.d.ts.map +1 -1
  102. package/dist/entities/agent-session.entity.js.map +1 -1
  103. package/dist/entities/agent-skill-registry.entity.d.ts +2 -0
  104. package/dist/entities/agent-skill-registry.entity.d.ts.map +1 -1
  105. package/dist/entities/agent-skill-registry.entity.js +8 -1
  106. package/dist/entities/agent-skill-registry.entity.js.map +1 -1
  107. package/dist/entities/agent-skill.entity.d.ts +1 -0
  108. package/dist/entities/agent-skill.entity.d.ts.map +1 -1
  109. package/dist/entities/agent-skill.entity.js +5 -1
  110. package/dist/entities/agent-skill.entity.js.map +1 -1
  111. package/dist/entities/agent-tool-registry.entity.d.ts +2 -0
  112. package/dist/entities/agent-tool-registry.entity.d.ts.map +1 -1
  113. package/dist/entities/agent-tool-registry.entity.js +8 -1
  114. package/dist/entities/agent-tool-registry.entity.js.map +1 -1
  115. package/dist/entities/agent-tool.entity.d.ts +1 -0
  116. package/dist/entities/agent-tool.entity.d.ts.map +1 -1
  117. package/dist/entities/agent-tool.entity.js +5 -1
  118. package/dist/entities/agent-tool.entity.js.map +1 -1
  119. package/dist/entities/agent-user-memory.entity.d.ts +12 -0
  120. package/dist/entities/agent-user-memory.entity.d.ts.map +1 -0
  121. package/dist/entities/agent-user-memory.entity.js +51 -0
  122. package/dist/entities/agent-user-memory.entity.js.map +1 -0
  123. package/dist/entities/secret.entity.d.ts +2 -0
  124. package/dist/entities/secret.entity.d.ts.map +1 -1
  125. package/dist/entities/secret.entity.js +7 -1
  126. package/dist/entities/secret.entity.js.map +1 -1
  127. package/dist/helpers/bootstrap.helper.d.ts.map +1 -1
  128. package/dist/helpers/bootstrap.helper.js +28 -0
  129. package/dist/helpers/bootstrap.helper.js.map +1 -1
  130. package/dist/helpers/module-metadata-helper.service.js +3 -3
  131. package/dist/helpers/module-metadata-helper.service.js.map +1 -1
  132. package/dist/index.d.ts +13 -0
  133. package/dist/index.d.ts.map +1 -1
  134. package/dist/index.js +13 -0
  135. package/dist/index.js.map +1 -1
  136. package/dist/jobs/database/test-run-queue-subscriber-database.service.d.ts.map +1 -1
  137. package/dist/jobs/database/test-run-queue-subscriber-database.service.js +1 -0
  138. package/dist/jobs/database/test-run-queue-subscriber-database.service.js.map +1 -1
  139. package/dist/repository/agent-config-version.repository.d.ts +12 -0
  140. package/dist/repository/agent-config-version.repository.d.ts.map +1 -0
  141. package/dist/repository/agent-config-version.repository.js +39 -0
  142. package/dist/repository/agent-config-version.repository.js.map +1 -0
  143. package/dist/repository/agent-user-memory.repository.d.ts +12 -0
  144. package/dist/repository/agent-user-memory.repository.d.ts.map +1 -0
  145. package/dist/repository/agent-user-memory.repository.js +39 -0
  146. package/dist/repository/agent-user-memory.repository.js.map +1 -0
  147. package/dist/resources/agent-embed/solid-agent-embed.js +289 -75
  148. package/dist/seeders/module-metadata-agenthub.spec.d.ts +2 -0
  149. package/dist/seeders/module-metadata-agenthub.spec.d.ts.map +1 -0
  150. package/dist/seeders/module-metadata-agenthub.spec.js +111 -0
  151. package/dist/seeders/module-metadata-agenthub.spec.js.map +1 -0
  152. package/dist/seeders/module-metadata-seeder.service.d.ts +8 -0
  153. package/dist/seeders/module-metadata-seeder.service.d.ts.map +1 -1
  154. package/dist/seeders/module-metadata-seeder.service.js +218 -0
  155. package/dist/seeders/module-metadata-seeder.service.js.map +1 -1
  156. package/dist/seeders/seed-data/solid-core-metadata.json +1129 -135
  157. package/dist/services/agent-config-version-record.service.d.ts +81 -0
  158. package/dist/services/agent-config-version-record.service.d.ts.map +1 -0
  159. package/dist/services/agent-config-version-record.service.js +308 -0
  160. package/dist/services/agent-config-version-record.service.js.map +1 -0
  161. package/dist/services/agent-config-version.service.d.ts +10 -1
  162. package/dist/services/agent-config-version.service.d.ts.map +1 -1
  163. package/dist/services/agent-config-version.service.js +27 -15
  164. package/dist/services/agent-config-version.service.js.map +1 -1
  165. package/dist/services/agent-hub-tag.service.d.ts +4 -0
  166. package/dist/services/agent-hub-tag.service.d.ts.map +1 -1
  167. package/dist/services/agent-hub-tag.service.js +65 -2
  168. package/dist/services/agent-hub-tag.service.js.map +1 -1
  169. package/dist/services/agent-registry.service.d.ts +3 -0
  170. package/dist/services/agent-registry.service.d.ts.map +1 -1
  171. package/dist/services/agent-registry.service.js +39 -3
  172. package/dist/services/agent-registry.service.js.map +1 -1
  173. package/dist/services/agent-session.service.d.ts +21 -1
  174. package/dist/services/agent-session.service.d.ts.map +1 -1
  175. package/dist/services/agent-session.service.js +78 -2
  176. package/dist/services/agent-session.service.js.map +1 -1
  177. package/dist/services/agent-user-memory.service.d.ts +12 -0
  178. package/dist/services/agent-user-memory.service.d.ts.map +1 -0
  179. package/dist/services/agent-user-memory.service.js +38 -0
  180. package/dist/services/agent-user-memory.service.js.map +1 -0
  181. package/dist/services/file/disk-file.service.d.ts.map +1 -1
  182. package/dist/services/file/disk-file.service.js +6 -1
  183. package/dist/services/file/disk-file.service.js.map +1 -1
  184. package/dist/services/file/index.d.ts +1 -0
  185. package/dist/services/file/index.d.ts.map +1 -1
  186. package/dist/services/file/index.js +1 -0
  187. package/dist/services/file/index.js.map +1 -1
  188. package/dist/services/file/media-storage-paths.d.ts +8 -0
  189. package/dist/services/file/media-storage-paths.d.ts.map +1 -0
  190. package/dist/services/file/media-storage-paths.js +78 -0
  191. package/dist/services/file/media-storage-paths.js.map +1 -0
  192. package/dist/services/file/storage-path-builder.d.ts +0 -2
  193. package/dist/services/file/storage-path-builder.d.ts.map +1 -1
  194. package/dist/services/file/storage-path-builder.js +3 -44
  195. package/dist/services/file/storage-path-builder.js.map +1 -1
  196. package/dist/services/media-storage.utils.d.ts +1 -1
  197. package/dist/services/media-storage.utils.d.ts.map +1 -1
  198. package/dist/services/media-storage.utils.js +3 -43
  199. package/dist/services/media-storage.utils.js.map +1 -1
  200. package/dist/services/module-metadata.service.d.ts +0 -1
  201. package/dist/services/module-metadata.service.d.ts.map +1 -1
  202. package/dist/services/module-metadata.service.js +7 -15
  203. package/dist/services/module-metadata.service.js.map +1 -1
  204. package/dist/services/secret.service.js +3 -3
  205. package/dist/services/secret.service.js.map +1 -1
  206. package/dist/services/settings/default-settings-provider.service.d.ts +24 -4
  207. package/dist/services/settings/default-settings-provider.service.d.ts.map +1 -1
  208. package/dist/services/settings/default-settings-provider.service.js +13 -2
  209. package/dist/services/settings/default-settings-provider.service.js.map +1 -1
  210. package/dist/services/view-metadata.service.d.ts.map +1 -1
  211. package/dist/services/view-metadata.service.js +14 -5
  212. package/dist/services/view-metadata.service.js.map +1 -1
  213. package/dist/solid-core.module.d.ts.map +1 -1
  214. package/dist/solid-core.module.js +40 -5
  215. package/dist/solid-core.module.js.map +1 -1
  216. package/dist/subscribers/agent-hub-tag.subscriber.d.ts +23 -0
  217. package/dist/subscribers/agent-hub-tag.subscriber.d.ts.map +1 -0
  218. package/dist/subscribers/agent-hub-tag.subscriber.js +209 -0
  219. package/dist/subscribers/agent-hub-tag.subscriber.js.map +1 -0
  220. package/dist/subscribers/agent-registry-subscribers.spec.d.ts +2 -0
  221. package/dist/subscribers/agent-registry-subscribers.spec.d.ts.map +1 -0
  222. package/dist/subscribers/agent-registry-subscribers.spec.js +256 -0
  223. package/dist/subscribers/agent-registry-subscribers.spec.js.map +1 -0
  224. package/dist/subscribers/agent-registry.subscriber.d.ts +34 -0
  225. package/dist/subscribers/agent-registry.subscriber.d.ts.map +1 -0
  226. package/dist/subscribers/agent-registry.subscriber.js +360 -0
  227. package/dist/subscribers/agent-registry.subscriber.js.map +1 -0
  228. package/dist/subscribers/agent-role.subscriber.d.ts +19 -0
  229. package/dist/subscribers/agent-role.subscriber.d.ts.map +1 -0
  230. package/dist/subscribers/agent-role.subscriber.js +112 -0
  231. package/dist/subscribers/agent-role.subscriber.js.map +1 -0
  232. package/dist/subscribers/agent-secret.subscriber.d.ts +19 -0
  233. package/dist/subscribers/agent-secret.subscriber.d.ts.map +1 -0
  234. package/dist/subscribers/agent-secret.subscriber.js +112 -0
  235. package/dist/subscribers/agent-secret.subscriber.js.map +1 -0
  236. package/dist/subscribers/agent-skill-registry.subscriber.d.ts +27 -0
  237. package/dist/subscribers/agent-skill-registry.subscriber.d.ts.map +1 -0
  238. package/dist/subscribers/agent-skill-registry.subscriber.js +257 -0
  239. package/dist/subscribers/agent-skill-registry.subscriber.js.map +1 -0
  240. package/dist/subscribers/agent-skill.subscriber.d.ts +19 -0
  241. package/dist/subscribers/agent-skill.subscriber.d.ts.map +1 -0
  242. package/dist/subscribers/agent-skill.subscriber.js +112 -0
  243. package/dist/subscribers/agent-skill.subscriber.js.map +1 -0
  244. package/dist/subscribers/agent-tool-registry.subscriber.d.ts +27 -0
  245. package/dist/subscribers/agent-tool-registry.subscriber.d.ts.map +1 -0
  246. package/dist/subscribers/agent-tool-registry.subscriber.js +259 -0
  247. package/dist/subscribers/agent-tool-registry.subscriber.js.map +1 -0
  248. package/dist/subscribers/agent-tool.subscriber.d.ts +19 -0
  249. package/dist/subscribers/agent-tool.subscriber.d.ts.map +1 -0
  250. package/dist/subscribers/agent-tool.subscriber.js +112 -0
  251. package/dist/subscribers/agent-tool.subscriber.js.map +1 -0
  252. package/dist/subscribers/agenthub-metadata-sync.util.d.ts +7 -0
  253. package/dist/subscribers/agenthub-metadata-sync.util.d.ts.map +1 -0
  254. package/dist/subscribers/agenthub-metadata-sync.util.js +84 -0
  255. package/dist/subscribers/agenthub-metadata-sync.util.js.map +1 -0
  256. package/dist/subscribers/secret.subscriber.d.ts +26 -0
  257. package/dist/subscribers/secret.subscriber.d.ts.map +1 -0
  258. package/dist/subscribers/secret.subscriber.js +236 -0
  259. package/dist/subscribers/secret.subscriber.js.map +1 -0
  260. package/dist/testing/contracts/runtime-context.types.d.ts +2 -0
  261. package/dist/testing/contracts/runtime-context.types.d.ts.map +1 -1
  262. package/dist/testing/contracts/runtime-context.types.js.map +1 -1
  263. package/dist/testing/core/call-args.d.ts +18 -0
  264. package/dist/testing/core/call-args.d.ts.map +1 -0
  265. package/dist/testing/core/call-args.js +133 -0
  266. package/dist/testing/core/call-args.js.map +1 -0
  267. package/dist/testing/core/dates.d.ts +27 -0
  268. package/dist/testing/core/dates.d.ts.map +1 -0
  269. package/dist/testing/core/dates.js +151 -0
  270. package/dist/testing/core/dates.js.map +1 -0
  271. package/dist/testing/core/dates.spec.d.ts +2 -0
  272. package/dist/testing/core/dates.spec.d.ts.map +1 -0
  273. package/dist/testing/core/dates.spec.js +246 -0
  274. package/dist/testing/core/dates.spec.js.map +1 -0
  275. package/dist/testing/core/interpolation.d.ts +4 -1
  276. package/dist/testing/core/interpolation.d.ts.map +1 -1
  277. package/dist/testing/core/interpolation.js +56 -27
  278. package/dist/testing/core/interpolation.js.map +1 -1
  279. package/dist/testing/core/random-data.d.ts +12 -0
  280. package/dist/testing/core/random-data.d.ts.map +1 -0
  281. package/dist/testing/core/random-data.js +270 -0
  282. package/dist/testing/core/random-data.js.map +1 -0
  283. package/dist/testing/core/random-data.spec.d.ts +2 -0
  284. package/dist/testing/core/random-data.spec.d.ts.map +1 -0
  285. package/dist/testing/core/random-data.spec.js +198 -0
  286. package/dist/testing/core/random-data.spec.js.map +1 -0
  287. package/dist/testing/core/random-names.d.ts +4 -0
  288. package/dist/testing/core/random-names.d.ts.map +1 -0
  289. package/dist/testing/core/random-names.js +50 -0
  290. package/dist/testing/core/random-names.js.map +1 -0
  291. package/dist/testing/core/step-registry.d.ts +6 -1
  292. package/dist/testing/core/step-registry.d.ts.map +1 -1
  293. package/dist/testing/core/step-registry.js +8 -1
  294. package/dist/testing/core/step-registry.js.map +1 -1
  295. package/dist/testing/core/testing-engine.d.ts +1 -0
  296. package/dist/testing/core/testing-engine.d.ts.map +1 -1
  297. package/dist/testing/core/testing-engine.js +15 -1
  298. package/dist/testing/core/testing-engine.js.map +1 -1
  299. package/dist/testing/core/token-scan.d.ts +8 -0
  300. package/dist/testing/core/token-scan.d.ts.map +1 -0
  301. package/dist/testing/core/token-scan.js +70 -0
  302. package/dist/testing/core/token-scan.js.map +1 -0
  303. package/dist/testing/runner/run-from-metadata.d.ts +1 -0
  304. package/dist/testing/runner/run-from-metadata.d.ts.map +1 -1
  305. package/dist/testing/runner/run-from-metadata.js +10 -3
  306. package/dist/testing/runner/run-from-metadata.js.map +1 -1
  307. package/dist/testing/runner/run-from-metadata.spec.d.ts +2 -0
  308. package/dist/testing/runner/run-from-metadata.spec.d.ts.map +1 -0
  309. package/dist/testing/runner/run-from-metadata.spec.js +62 -0
  310. package/dist/testing/runner/run-from-metadata.spec.js.map +1 -0
  311. package/dist/testing/steps/util/index.d.ts.map +1 -1
  312. package/dist/testing/steps/util/index.js +6 -0
  313. package/dist/testing/steps/util/index.js.map +1 -1
  314. package/dist/testing/steps/util/now.step.d.ts +3 -0
  315. package/dist/testing/steps/util/now.step.d.ts.map +1 -0
  316. package/dist/testing/steps/util/now.step.js +15 -0
  317. package/dist/testing/steps/util/now.step.js.map +1 -0
  318. package/dist/testing/steps/util/random.step.d.ts +3 -0
  319. package/dist/testing/steps/util/random.step.d.ts.map +1 -0
  320. package/dist/testing/steps/util/random.step.js +18 -0
  321. package/dist/testing/steps/util/random.step.js.map +1 -0
  322. package/dist/testing/steps/util/script.step.d.ts +3 -0
  323. package/dist/testing/steps/util/script.step.d.ts.map +1 -0
  324. package/dist/testing/steps/util/script.step.js +221 -0
  325. package/dist/testing/steps/util/script.step.js.map +1 -0
  326. package/dist/testing/steps/util/script.step.spec.d.ts +2 -0
  327. package/dist/testing/steps/util/script.step.spec.d.ts.map +1 -0
  328. package/dist/testing/steps/util/script.step.spec.js +205 -0
  329. package/dist/testing/steps/util/script.step.spec.js.map +1 -0
  330. package/package.json +1 -1
  331. package/resources/agent-embed/solid-agent-embed.js +289 -75
  332. package/src/commands/run-tests.command.ts +12 -0
  333. package/src/constants/error-messages.ts +1 -1
  334. package/src/controllers/agent-config-version.controller.ts +114 -0
  335. package/src/controllers/agent-registry.controller.ts +7 -0
  336. package/src/controllers/agent-session.controller.ts +16 -1
  337. package/src/controllers/agent-user-memory.controller.ts +32 -0
  338. package/src/dtos/activate-agent-registry.dto.ts +14 -0
  339. package/src/dtos/create-agent-config-version.dto.ts +27 -0
  340. package/src/dtos/create-agent-hub-tag.dto.ts +10 -0
  341. package/src/dtos/create-agent-registry.dto.ts +10 -0
  342. package/src/dtos/create-agent-skill-registry.dto.ts +10 -0
  343. package/src/dtos/create-agent-tool-registry.dto.ts +10 -0
  344. package/src/dtos/create-agent-user-memory.dto.ts +10 -0
  345. package/src/dtos/create-secret.dto.ts +11 -1
  346. package/src/dtos/test-run-request.dto.ts +4 -0
  347. package/src/dtos/update-agent-config-version.dto.ts +34 -0
  348. package/src/dtos/update-agent-hub-tag.dto.ts +10 -0
  349. package/src/dtos/update-agent-registry.dto.ts +10 -0
  350. package/src/dtos/update-agent-skill-registry.dto.ts +10 -0
  351. package/src/dtos/update-agent-tool-registry.dto.ts +10 -0
  352. package/src/dtos/update-agent-user-memory.dto.ts +11 -0
  353. package/src/dtos/update-secret.dto.ts +10 -0
  354. package/src/entities/agent-config-version.entity.ts +20 -0
  355. package/src/entities/agent-hub-tag.entity.ts +7 -1
  356. package/src/entities/agent-registry.entity.ts +11 -1
  357. package/src/entities/agent-session.entity.ts +1 -0
  358. package/src/entities/agent-skill-registry.entity.ts +7 -1
  359. package/src/entities/agent-skill.entity.ts +4 -1
  360. package/src/entities/agent-tool-registry.entity.ts +7 -1
  361. package/src/entities/agent-tool.entity.ts +4 -1
  362. package/src/entities/agent-user-memory.entity.ts +26 -0
  363. package/src/entities/secret.entity.ts +6 -1
  364. package/src/helpers/bootstrap.helper.ts +36 -3
  365. package/src/helpers/module-metadata-helper.service.ts +3 -3
  366. package/src/index.ts +13 -0
  367. package/src/jobs/database/test-run-queue-subscriber-database.service.ts +1 -0
  368. package/src/repository/agent-config-version.repository.ts +19 -0
  369. package/src/repository/agent-user-memory.repository.ts +18 -0
  370. package/src/seeders/module-metadata-agenthub.spec.ts +120 -0
  371. package/src/seeders/module-metadata-seeder.service.ts +221 -0
  372. package/src/seeders/seed-data/solid-core-metadata.json +1129 -135
  373. package/src/services/agent-config-version-record.service.ts +317 -0
  374. package/src/services/agent-config-version.service.ts +52 -13
  375. package/src/services/agent-hub-tag.service.ts +81 -2
  376. package/src/services/agent-registry.service.ts +48 -3
  377. package/src/services/agent-session.service.ts +75 -2
  378. package/src/services/agent-user-memory.service.ts +18 -0
  379. package/src/services/file/disk-file.service.ts +6 -1
  380. package/src/services/file/index.ts +1 -0
  381. package/src/services/file/media-storage-paths.ts +50 -0
  382. package/src/services/file/storage-path-builder.ts +2 -12
  383. package/src/services/media-storage.utils.ts +10 -16
  384. package/src/services/module-metadata.service.ts +7 -17
  385. package/src/services/secret.service.ts +4 -4
  386. package/src/services/settings/default-settings-provider.service.ts +13 -2
  387. package/src/services/view-metadata.service.ts +17 -5
  388. package/src/solid-core.module.ts +41 -6
  389. package/src/subscribers/agent-hub-tag.subscriber.ts +210 -0
  390. package/src/subscribers/agent-registry-subscribers.spec.ts +228 -0
  391. package/src/subscribers/agent-registry.subscriber.ts +326 -0
  392. package/src/subscribers/agent-role.subscriber.ts +105 -0
  393. package/src/subscribers/agent-secret.subscriber.ts +105 -0
  394. package/src/subscribers/agent-skill-registry.subscriber.ts +213 -0
  395. package/src/subscribers/agent-skill.subscriber.ts +105 -0
  396. package/src/subscribers/agent-tool-registry.subscriber.ts +215 -0
  397. package/src/subscribers/agent-tool.subscriber.ts +105 -0
  398. package/src/subscribers/agenthub-metadata-sync.util.ts +57 -0
  399. package/src/subscribers/secret.subscriber.ts +192 -0
  400. package/src/testing/README.md +199 -0
  401. package/src/testing/contracts/runtime-context.types.ts +3 -0
  402. package/src/testing/core/call-args.ts +154 -0
  403. package/src/testing/core/dates.spec.ts +311 -0
  404. package/src/testing/core/dates.ts +198 -0
  405. package/src/testing/core/interpolation.ts +67 -28
  406. package/src/testing/core/random-data.spec.ts +253 -0
  407. package/src/testing/core/random-data.ts +326 -0
  408. package/src/testing/core/random-names.ts +54 -0
  409. package/src/testing/core/step-registry.ts +18 -1
  410. package/src/testing/core/testing-engine.ts +16 -1
  411. package/src/testing/core/token-scan.ts +72 -0
  412. package/src/testing/runner/run-from-metadata.spec.ts +82 -0
  413. package/src/testing/runner/run-from-metadata.ts +15 -3
  414. package/src/testing/steps/util/index.ts +6 -0
  415. package/src/testing/steps/util/now.step.ts +19 -0
  416. package/src/testing/steps/util/random.step.ts +23 -0
  417. package/src/testing/steps/util/script.step.spec.ts +269 -0
  418. package/src/testing/steps/util/script.step.ts +242 -0
@@ -1 +1 @@
1
- {"version":3,"file":"test-run-request.dto.d.ts","sourceRoot":"","sources":["../../src/dtos/test-run-request.dto.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EACV,YAAY,EACZ,YAAY,EACZ,iBAAiB,EACjB,eAAe,EACf,eAAe,EAChB,MAAM,6CAA6C,CAAC;AAMrD,MAAM,WAAW,mBAAmB;IAClC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,GAAG,CAAC,EAAE,OAAO,CAAC;CACf;AAQD,qBAAa,iBAAiB;IAG5B,SAAS,CAAC,EAAE,YAAY,EAAE,CAAC;IAI3B,aAAa,CAAC,EAAE,MAAM,CAAC;IAIvB,IAAI,CAAC,EAAE,iBAAiB,EAAE,CAAC;IAI3B,KAAK,CAAC,EAAE,eAAe,EAAE,CAAC;IAI1B,KAAK,CA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AAa,CAAC,EAAE,MAAM,CAAC;IAIvB,IAAI,CAAC,EAAE,iBAAiB,EAAE,CAAC;IAI3B,KAAK,CAAC,EAAE,eAAe,EAAE,CAAC;IAI1B,KAAK,CAAC,EAAE,eAAe,EAAE,CAAC;IAK1B,OAAO,CAAC,EAAE,MAAM,CAAC;IAKjB,SAAS,CAAC,EAAE,MAAM,CAAC;IAInB,IAAI,CAAC,EAAE,YAAY,CAAC;IAIpB,GAAG,CAAC,EAAE,MAAM,CAAC;IAIb,QAAQ,CAAC,EAAE,OAAO,CAAC;IAInB,WAAW,CAAC,EAAE,OAAO,CAAC;IAItB,QAAQ,CAAC,EAAE,OAAO,CAAC;IAInB,WAAW,CAAC,EAAE,MAAM,EAAE,CAAC;IAIvB,WAAW,CAAC,EAAE,MAAM,EAAE,CAAC;IAIvB,eAAe,CAAC,EAAE,MAAM,EAAE,CAAC;IAI3B,UAAU,EAAG,MAAM,CAAC;IAKpB,aAAa,CAAC,EAAE,MAAM,CAAC;IASvB,SAAS,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAInC,OAAO,CAAC,EAAE,mBAAmB,CAAC;IAI9B,YAAY,CAAC,EAAE,OAAO,CAAC;IAKvB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAGD,MAAM,WAAW,iBAAkB,SAAQ,iBAAiB;IAC1D,KAAK,EAAE,MAAM,CAAC;CACf"}
@@ -14,7 +14,7 @@ const openapi = require("@nestjs/swagger");
14
14
  const class_validator_1 = require("class-validator");
15
15
  class TestRunRequestDto {
16
16
  static _OPENAPI_METADATA_FACTORY() {
17
- return { scenarios: { required: false, type: () => [Object] }, scenariosPath: { required: false, type: () => String }, data: { required: false, type: () => [Object] }, roles: { required: false, type: () => [Object] }, users: { required: false, type: () => [Object] }, baseUrl: { required: false, type: () => String }, uiBaseUrl: { required: false, type: () => String }, type: { required: false, type: () => Object }, env: { required: false, type: () => String }, headless: { required: false, type: () => Boolean }, recordVideo: { required: false, type: () => Boolean }, includeTags: { required: false, type: () => [String] }, scenarioIds: { required: false, type: () => [String] }, skipScenarioIds: { required: false, type: () => [String] }, webhookUrl: { required: true, type: () => String }, externalRunId: { required: false, type: () => String }, variables: { required: false, type: () => Object }, capture: { required: false, type: () => Object }, printApiLogs: { required: false, type: () => Boolean }, broker: { required: false, type: () => String } };
17
+ return { scenarios: { required: false, type: () => [Object] }, scenariosPath: { required: false, type: () => String }, data: { required: false, type: () => [Object] }, roles: { required: false, type: () => [Object] }, users: { required: false, type: () => [Object] }, baseUrl: { required: false, type: () => String }, uiBaseUrl: { required: false, type: () => String }, type: { required: false, type: () => Object }, env: { required: false, type: () => String }, headless: { required: false, type: () => Boolean }, recordVideo: { required: false, type: () => Boolean }, failFast: { required: false, type: () => Boolean }, includeTags: { required: false, type: () => [String] }, scenarioIds: { required: false, type: () => [String] }, skipScenarioIds: { required: false, type: () => [String] }, webhookUrl: { required: true, type: () => String }, externalRunId: { required: false, type: () => String }, variables: { required: false, type: () => Object }, capture: { required: false, type: () => Object }, printApiLogs: { required: false, type: () => Boolean }, broker: { required: false, type: () => String } };
18
18
  }
19
19
  }
20
20
  exports.TestRunRequestDto = TestRunRequestDto;
@@ -73,6 +73,11 @@ __decorate([
73
73
  (0, class_validator_1.IsBoolean)(),
74
74
  __metadata("design:type", Boolean)
75
75
  ], TestRunRequestDto.prototype, "recordVideo", void 0);
76
+ __decorate([
77
+ (0, class_validator_1.IsOptional)(),
78
+ (0, class_validator_1.IsBoolean)(),
79
+ __metadata("design:type", Boolean)
80
+ ], TestRunRequestDto.prototype, "failFast", void 0);
76
81
  __decorate([
77
82
  (0, class_validator_1.IsOptional)(),
78
83
  (0, class_validator_1.IsArray)(),
@@ -1 +1 @@
1
- {"version":3,"file":"test-run-request.dto.js","sourceRoot":"","sources":["../../src/dtos/test-run-request.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,qDAMyB;AA6BzB,MAAa,iBAAiB;;;;CAyF7B;AAzFD,8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vB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;iDACK","sourcesContent":["import {\n IsArray,\n IsBoolean,\n IsObject,\n IsOptional,\n IsString,\n} from 'class-validator';\n\nimport type {\n ScenarioSpec,\n ScenarioType,\n TestingDataRecord,\n TestingRoleSpec,\n TestingUserSpec,\n} from '../testing/contracts/testing-metadata.types';\n\n/**\n * Per-scenario capture toggles. Structurally compatible with the typed\n * `CaptureOptions` introduced in Phase 2 (A3, in adapters/ui/ui.types.ts).\n */\nexport interface CaptureOptionsInput {\n console?: boolean;\n network?: boolean;\n screenshotOnFailure?: boolean;\n screenshotAtEnd?: boolean;\n video?: boolean;\n har?: boolean;\n}\n\n/**\n * Body of `POST /test-runs`. Carries the FULL test definition inline (scenarios +\n * optional data/roles/users — the `testing` block minus `specs`), so the runner is\n * location-agnostic and never reads a fixed module/path. `specs` (custom step code)\n * cannot travel inline and must be deployed on the worker.\n */\nexport class TestRunRequestDto {\n @IsOptional()\n @IsArray()\n scenarios?: ScenarioSpec[];\n\n @IsOptional()\n @IsString()\n scenariosPath?: string;\n\n @IsOptional()\n @IsArray()\n data?: TestingDataRecord[];\n\n @IsOptional()\n @IsArray()\n roles?: TestingRoleSpec[];\n\n @IsOptional()\n @IsArray()\n users?: TestingUserSpec[];\n\n /** API base URL for relative request URLs. */\n @IsOptional()\n @IsString()\n baseUrl?: string;\n\n /** UI base URL for relative navigation (Playwright). */\n @IsOptional()\n @IsString()\n uiBaseUrl?: string;\n\n @IsOptional()\n @IsString()\n type?: ScenarioType;\n\n @IsOptional()\n @IsString()\n env?: string;\n\n @IsOptional()\n @IsBoolean()\n headless?: boolean;\n\n @IsOptional()\n @IsBoolean()\n recordVideo?: boolean;\n\n @IsOptional()\n @IsArray()\n includeTags?: string[];\n\n @IsOptional()\n @IsArray()\n scenarioIds?: string[];\n\n @IsOptional()\n @IsArray()\n skipScenarioIds?: string[];\n\n /** Where lifecycle events are POSTed (e.g. testingHub ingest endpoint). */\n @IsString()\n webhookUrl!: string;\n\n /** Correlation id supplied by the caller (e.g. testingHub TestRun id). */\n @IsOptional()\n @IsString()\n externalRunId?: string;\n\n /**\n * Per-run env variables for `${env:X}` interpolation — e.g. { BASE_URL: app.url }\n * so scenarios target the application under test rather than the runner itself.\n * (Distinct from `env` above, which is the dev/uat/prod environment label.)\n */\n @IsOptional()\n @IsObject()\n variables?: Record<string, string>;\n\n @IsOptional()\n @IsObject()\n capture?: CaptureOptionsInput;\n\n @IsOptional()\n @IsBoolean()\n printApiLogs?: boolean;\n\n /** Queue broker override: database | redis | rabbitmq (default: database). */\n @IsOptional()\n @IsString()\n broker?: string;\n}\n\n/** Queue payload = the request plus the runner-generated run id. */\nexport interface TestRunJobPayload extends TestRunRequestDto {\n runId: string;\n}\n"]}
1
+ {"version":3,"file":"test-run-request.dto.js","sourceRoot":"","sources":["../../src/dtos/test-run-request.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,qDAMyB;AA6BzB,MAAa,iBAAiB;;;;CA6F7B;AA7FD,8CA6FC;AA1FC;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,GAAE;;oDACiB;AAI3B;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;wDACY;AAIvB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,GAAE;;+CACiB;AAI3B;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,GAAE;;gDACgB;AAI1B;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,GAAE;;gDACgB;AAK1B;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;kDACM;AAKjB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;oDACQ;AAInB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;+CACS;AAIpB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;8CACE;AAIb;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;;mDACO;AAInB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;;sDACU;AAItB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;;mDACO;AAInB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,GAAE;;sDACa;AAIvB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,GAAE;;sDACa;AAIvB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,GAAE;;0DACiB;AAI3B;IADC,IAAA,0BAAQ,GAAE;;qDACS;AAKpB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;wDACY;AASvB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;oDACwB;AAInC;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;kDACmB;AAI9B;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;;uDACW;AAKvB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;iDACK","sourcesContent":["import {\n IsArray,\n IsBoolean,\n IsObject,\n IsOptional,\n IsString,\n} from 'class-validator';\n\nimport type {\n ScenarioSpec,\n ScenarioType,\n TestingDataRecord,\n TestingRoleSpec,\n TestingUserSpec,\n} from '../testing/contracts/testing-metadata.types';\n\n/**\n * Per-scenario capture toggles. Structurally compatible with the typed\n * `CaptureOptions` introduced in Phase 2 (A3, in adapters/ui/ui.types.ts).\n */\nexport interface CaptureOptionsInput {\n console?: boolean;\n network?: boolean;\n screenshotOnFailure?: boolean;\n screenshotAtEnd?: boolean;\n video?: boolean;\n har?: boolean;\n}\n\n/**\n * Body of `POST /test-runs`. Carries the FULL test definition inline (scenarios +\n * optional data/roles/users — the `testing` block minus `specs`), so the runner is\n * location-agnostic and never reads a fixed module/path. `specs` (custom step code)\n * cannot travel inline and must be deployed on the worker.\n */\nexport class TestRunRequestDto {\n @IsOptional()\n @IsArray()\n scenarios?: ScenarioSpec[];\n\n @IsOptional()\n @IsString()\n scenariosPath?: string;\n\n @IsOptional()\n @IsArray()\n data?: TestingDataRecord[];\n\n @IsOptional()\n @IsArray()\n roles?: TestingRoleSpec[];\n\n @IsOptional()\n @IsArray()\n users?: TestingUserSpec[];\n\n /** API base URL for relative request URLs. */\n @IsOptional()\n @IsString()\n baseUrl?: string;\n\n /** UI base URL for relative navigation (Playwright). */\n @IsOptional()\n @IsString()\n uiBaseUrl?: string;\n\n @IsOptional()\n @IsString()\n type?: ScenarioType;\n\n @IsOptional()\n @IsString()\n env?: string;\n\n @IsOptional()\n @IsBoolean()\n headless?: boolean;\n\n @IsOptional()\n @IsBoolean()\n recordVideo?: boolean;\n\n @IsOptional()\n @IsBoolean()\n failFast?: boolean;\n\n @IsOptional()\n @IsArray()\n includeTags?: string[];\n\n @IsOptional()\n @IsArray()\n scenarioIds?: string[];\n\n @IsOptional()\n @IsArray()\n skipScenarioIds?: string[];\n\n /** Where lifecycle events are POSTed (e.g. testingHub ingest endpoint). */\n @IsString()\n webhookUrl!: string;\n\n /** Correlation id supplied by the caller (e.g. testingHub TestRun id). */\n @IsOptional()\n @IsString()\n externalRunId?: string;\n\n /**\n * Per-run env variables for `${env:X}` interpolation — e.g. { BASE_URL: app.url }\n * so scenarios target the application under test rather than the runner itself.\n * (Distinct from `env` above, which is the dev/uat/prod environment label.)\n */\n @IsOptional()\n @IsObject()\n variables?: Record<string, string>;\n\n @IsOptional()\n @IsObject()\n capture?: CaptureOptionsInput;\n\n @IsOptional()\n @IsBoolean()\n printApiLogs?: boolean;\n\n /** Queue broker override: database | redis | rabbitmq (default: database). */\n @IsOptional()\n @IsString()\n broker?: string;\n}\n\n/** Queue payload = the request plus the runner-generated run id. */\nexport interface TestRunJobPayload extends TestRunRequestDto {\n runId: string;\n}\n"]}
@@ -0,0 +1,9 @@
1
+ export declare class UpdateAgentConfigVersionDto {
2
+ id?: number;
3
+ versionNumber?: number;
4
+ name?: string;
5
+ description?: string;
6
+ agentRegistryId?: number;
7
+ agentRegistryUserKey?: string;
8
+ }
9
+ //# sourceMappingURL=update-agent-config-version.dto.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update-agent-config-version.dto.d.ts","sourceRoot":"","sources":["../../src/dtos/update-agent-config-version.dto.ts"],"names":[],"mappings":"AAGA,qBAAa,2BAA2B;IAIpC,EAAE,CAAC,EAAE,MAAM,CAAC;IAKZ,aAAa,CAAC,EAAE,MAAM,CAAC;IAKvB,IAAI,CAAC,EAAE,MAAM,CAAC;IAKd,WAAW,CAAC,EAAE,MAAM,CAAC;IAKrB,eAAe,CAAC,EAAE,MAAM,CAAC;IAKzB,oBAAoB,CAAC,EAAE,MAAM,CAAC;CACjC"}
@@ -0,0 +1,58 @@
1
+ "use strict";
2
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7
+ };
8
+ var __metadata = (this && this.__metadata) || function (k, v) {
9
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
+ };
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.UpdateAgentConfigVersionDto = void 0;
13
+ const openapi = require("@nestjs/swagger");
14
+ const swagger_1 = require("@nestjs/swagger");
15
+ const class_validator_1 = require("class-validator");
16
+ class UpdateAgentConfigVersionDto {
17
+ static _OPENAPI_METADATA_FACTORY() {
18
+ return { id: { required: false, type: () => Number }, versionNumber: { required: false, type: () => Number }, name: { required: false, type: () => String }, description: { required: false, type: () => String }, agentRegistryId: { required: false, type: () => Number }, agentRegistryUserKey: { required: false, type: () => String } };
19
+ }
20
+ }
21
+ exports.UpdateAgentConfigVersionDto = UpdateAgentConfigVersionDto;
22
+ __decorate([
23
+ (0, class_validator_1.IsOptional)(),
24
+ (0, class_validator_1.IsInt)(),
25
+ (0, swagger_1.ApiProperty)({ required: false }),
26
+ __metadata("design:type", Number)
27
+ ], UpdateAgentConfigVersionDto.prototype, "id", void 0);
28
+ __decorate([
29
+ (0, class_validator_1.IsOptional)(),
30
+ (0, class_validator_1.IsInt)(),
31
+ (0, swagger_1.ApiProperty)({ required: false }),
32
+ __metadata("design:type", Number)
33
+ ], UpdateAgentConfigVersionDto.prototype, "versionNumber", void 0);
34
+ __decorate([
35
+ (0, class_validator_1.IsOptional)(),
36
+ (0, class_validator_1.IsString)(),
37
+ (0, swagger_1.ApiProperty)({ required: false }),
38
+ __metadata("design:type", String)
39
+ ], UpdateAgentConfigVersionDto.prototype, "name", void 0);
40
+ __decorate([
41
+ (0, class_validator_1.IsOptional)(),
42
+ (0, class_validator_1.IsString)(),
43
+ (0, swagger_1.ApiProperty)({ required: false }),
44
+ __metadata("design:type", String)
45
+ ], UpdateAgentConfigVersionDto.prototype, "description", void 0);
46
+ __decorate([
47
+ (0, class_validator_1.IsOptional)(),
48
+ (0, class_validator_1.IsInt)(),
49
+ (0, swagger_1.ApiProperty)({ required: false }),
50
+ __metadata("design:type", Number)
51
+ ], UpdateAgentConfigVersionDto.prototype, "agentRegistryId", void 0);
52
+ __decorate([
53
+ (0, class_validator_1.IsOptional)(),
54
+ (0, class_validator_1.IsString)(),
55
+ (0, swagger_1.ApiProperty)({ required: false }),
56
+ __metadata("design:type", String)
57
+ ], UpdateAgentConfigVersionDto.prototype, "agentRegistryUserKey", void 0);
58
+ //# sourceMappingURL=update-agent-config-version.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update-agent-config-version.dto.js","sourceRoot":"","sources":["../../src/dtos/update-agent-config-version.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,6CAA8C;AAC9C,qDAA8D;AAE9D,MAAa,2BAA2B;;;;CA8BvC;AA9BD,kEA8BC;AA1BG;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;IACP,IAAA,qBAAW,EAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;;uDACrB;AAKZ;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;IACP,IAAA,qBAAW,EAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;;kEACV;AAKvB;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,qBAAW,EAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;;yDACnB;AAKd;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,qBAAW,EAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;;gEACZ;AAKrB;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;IACP,IAAA,qBAAW,EAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;;oEACR;AAKzB;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,qBAAW,EAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;;yEACH","sourcesContent":["import { ApiProperty } from '@nestjs/swagger';\nimport { IsInt, IsOptional, IsString } from 'class-validator';\n\nexport class UpdateAgentConfigVersionDto {\n @IsOptional()\n @IsInt()\n @ApiProperty({ required: false })\n id?: number;\n\n @IsOptional()\n @IsInt()\n @ApiProperty({ required: false })\n versionNumber?: number;\n\n @IsOptional()\n @IsString()\n @ApiProperty({ required: false })\n name?: string;\n\n @IsOptional()\n @IsString()\n @ApiProperty({ required: false })\n description?: string;\n\n @IsOptional()\n @IsInt()\n @ApiProperty({ required: false })\n agentRegistryId?: number;\n\n @IsOptional()\n @IsString()\n @ApiProperty({ required: false })\n agentRegistryUserKey?: string;\n}\n"]}
@@ -4,6 +4,8 @@ import { UpdateAgentRegistryDto } from './update-agent-registry.dto';
4
4
  export declare class UpdateAgentHubTagDto {
5
5
  id: number;
6
6
  name: string;
7
+ moduleId: number;
8
+ moduleUserKey: string;
7
9
  skills: UpdateAgentSkillRegistryDto[];
8
10
  skillsIds: number[];
9
11
  skillsCommand: string;
@@ -1 +1 @@
1
- {"version":3,"file":"update-agent-hub-tag.dto.d.ts","sourceRoot":"","sources":["../../src/dtos/update-agent-hub-tag.dto.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,2BAA2B,EAAE,MAAM,mCAAmC,CAAC;AAChF,OAAO,EAAE,0BAA0B,EAAE,MAAM,kCAAkC,CAAC;AAC9E,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AAErE,qBAAa,oBAAoB;IAG7B,EAAE,EAAE,MAAM,CAAC;IAMX,IAAI,EAAE,MAAM,CAAC;IAOb,MAAM,EAAE,2BAA2B,EAAE,CAAC;IAOtC,SAAS,EAAE,MAAM,EAAE,CAAC;IAKpB,aAAa,EAAE,MAAM,CAAC;IAOtB,KAAK,EAAE,0BAA0B,EAAE,CAAC;IAOpC,QAAQ,EAAE,MAAM,EAAE,CAAC;IAKnB,YAAY,EAAE,MAAM,CAAC;IAOrB,MAAM,EAAE,sBAAsB,EAAE,CAAC;IAOjC,SAAS,EAAE,MAAM,EAAE,CAAC;IAKpB,aAAa,EAAE,MAAM,CAAC;CACzB"}
1
+ {"version":3,"file":"update-agent-hub-tag.dto.d.ts","sourceRoot":"","sources":["../../src/dtos/update-agent-hub-tag.dto.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,2BAA2B,EAAE,MAAM,mCAAmC,CAAC;AAChF,OAAO,EAAE,0BAA0B,EAAE,MAAM,kCAAkC,CAAC;AAC9E,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AAErE,qBAAa,oBAAoB;IAG7B,EAAE,EAAE,MAAM,CAAC;IAMX,IAAI,EAAE,MAAM,CAAC;IAKb,QAAQ,EAAE,MAAM,CAAC;IAKjB,aAAa,EAAE,MAAM,CAAC;IAOtB,MAAM,EAAE,2BAA2B,EAAE,CAAC;IAOtC,SAAS,EAAE,MAAM,EAAE,CAAC;IAKpB,aAAa,EAAE,MAAM,CAAC;IAOtB,KAAK,EAAE,0BAA0B,EAAE,CAAC;IAOpC,QAAQ,EAAE,MAAM,EAAE,CAAC;IAKnB,YAAY,EAAE,MAAM,CAAC;IAOrB,MAAM,EAAE,sBAAsB,EAAE,CAAC;IAOjC,SAAS,EAAE,MAAM,EAAE,CAAC;IAKpB,aAAa,EAAE,MAAM,CAAC;CACzB"}
@@ -19,7 +19,7 @@ const update_agent_tool_registry_dto_1 = require("./update-agent-tool-registry.d
19
19
  const update_agent_registry_dto_1 = require("./update-agent-registry.dto");
20
20
  class UpdateAgentHubTagDto {
21
21
  static _OPENAPI_METADATA_FACTORY() {
22
- return { id: { required: true, type: () => Number }, name: { required: true, type: () => String }, skills: { required: true, type: () => [require("./update-agent-skill-registry.dto").UpdateAgentSkillRegistryDto] }, skillsIds: { required: true, type: () => [Number] }, skillsCommand: { required: true, type: () => String }, tools: { required: true, type: () => [require("./update-agent-tool-registry.dto").UpdateAgentToolRegistryDto] }, toolsIds: { required: true, type: () => [Number] }, toolsCommand: { required: true, type: () => String }, agents: { required: true, type: () => [require("./update-agent-registry.dto").UpdateAgentRegistryDto] }, agentsIds: { required: true, type: () => [Number] }, agentsCommand: { required: true, type: () => String } };
22
+ return { id: { required: true, type: () => Number }, name: { required: true, type: () => String }, moduleId: { required: true, type: () => Number }, moduleUserKey: { required: true, type: () => String }, skills: { required: true, type: () => [require("./update-agent-skill-registry.dto").UpdateAgentSkillRegistryDto] }, skillsIds: { required: true, type: () => [Number] }, skillsCommand: { required: true, type: () => String }, tools: { required: true, type: () => [require("./update-agent-tool-registry.dto").UpdateAgentToolRegistryDto] }, toolsIds: { required: true, type: () => [Number] }, toolsCommand: { required: true, type: () => String }, agents: { required: true, type: () => [require("./update-agent-registry.dto").UpdateAgentRegistryDto] }, agentsIds: { required: true, type: () => [Number] }, agentsCommand: { required: true, type: () => String } };
23
23
  }
24
24
  }
25
25
  exports.UpdateAgentHubTagDto = UpdateAgentHubTagDto;
@@ -35,6 +35,18 @@ __decorate([
35
35
  (0, swagger_1.ApiProperty)({ required: false }),
36
36
  __metadata("design:type", String)
37
37
  ], UpdateAgentHubTagDto.prototype, "name", void 0);
38
+ __decorate([
39
+ (0, class_validator_1.IsOptional)(),
40
+ (0, class_validator_1.IsInt)(),
41
+ (0, swagger_1.ApiProperty)({ required: false }),
42
+ __metadata("design:type", Number)
43
+ ], UpdateAgentHubTagDto.prototype, "moduleId", void 0);
44
+ __decorate([
45
+ (0, class_validator_1.IsOptional)(),
46
+ (0, class_validator_1.IsString)(),
47
+ (0, swagger_1.ApiProperty)({ required: false }),
48
+ __metadata("design:type", String)
49
+ ], UpdateAgentHubTagDto.prototype, "moduleUserKey", void 0);
38
50
  __decorate([
39
51
  (0, class_validator_1.IsOptional)(),
40
52
  (0, class_validator_1.IsArray)(),
@@ -1 +1 @@
1
- {"version":3,"file":"update-agent-hub-tag.dto.js","sourceRoot":"","sources":["../../src/dtos/update-agent-hub-tag.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,6CAA8C;AAC9C,yDAAyC;AACzC,qDAAmG;AACnG,uFAAgF;AAChF,qFAA8E;AAC9E,2EAAqE;AAErE,MAAa,oBAAoB;;;;CAmEhC;AAnED,oDAmEC;AAhEG;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;gDACG;AAMX;IAJC,IAAA,4BAAU,GAAE;IACZ,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,qBAA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EAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;;0DACZ;AAOrB;IALC,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,GAAE;IACT,IAAA,gCAAc,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;IAC9B,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,kDAAsB,CAAC;IAClC,IAAA,qBAAW,EAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;;oDACA;AAOjC;IALC,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,GAAE;IACT,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;IAClB,IAAA,uBAAK,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;IACrB,IAAA,qBAAW,EAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;;uDACb;AAKpB;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,qBAAW,EAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;;2DACX","sourcesContent":["import { ApiProperty } from '@nestjs/swagger';\nimport { Type } from 'class-transformer';\nimport { IsArray, IsInt, IsNotEmpty, IsOptional, IsString, ValidateNested } from 'class-validator';\nimport { UpdateAgentSkillRegistryDto } from './update-agent-skill-registry.dto';\nimport { UpdateAgentToolRegistryDto } from './update-agent-tool-registry.dto';\nimport { UpdateAgentRegistryDto } from './update-agent-registry.dto';\n\nexport class UpdateAgentHubTagDto {\n @IsOptional()\n @IsInt()\n id: number;\n\n @IsOptional()\n @IsNotEmpty()\n @IsString()\n @ApiProperty({ required: false })\n name: string;\n\n @IsOptional()\n @IsArray()\n @ValidateNested({ each: true })\n @Type(() => UpdateAgentSkillRegistryDto)\n @ApiProperty({ required: false })\n skills: UpdateAgentSkillRegistryDto[];\n\n @IsOptional()\n @IsArray()\n @Type(() => Number)\n @IsInt({ each: true })\n @ApiProperty({ required: false })\n skillsIds: number[];\n\n @IsOptional()\n @IsString()\n @ApiProperty({ required: false })\n skillsCommand: string;\n\n @IsOptional()\n @IsArray()\n @ValidateNested({ each: true })\n @Type(() => UpdateAgentToolRegistryDto)\n @ApiProperty({ required: false })\n tools: UpdateAgentToolRegistryDto[];\n\n @IsOptional()\n @IsArray()\n @Type(() => Number)\n @IsInt({ each: true })\n @ApiProperty({ required: false })\n toolsIds: number[];\n\n @IsOptional()\n @IsString()\n @ApiProperty({ required: false })\n toolsCommand: string;\n\n @IsOptional()\n @IsArray()\n @ValidateNested({ each: true })\n @Type(() => UpdateAgentRegistryDto)\n @ApiProperty({ required: false })\n agents: UpdateAgentRegistryDto[];\n\n @IsOptional()\n @IsArray()\n @Type(() => Number)\n @IsInt({ each: true })\n @ApiProperty({ required: false })\n agentsIds: number[];\n\n @IsOptional()\n @IsString()\n @ApiProperty({ required: false })\n agentsCommand: string;\n}\n"]}
1
+ {"version":3,"file":"update-agent-hub-tag.dto.js","sourceRoot":"","sources":["../../src/dtos/update-agent-hub-tag.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,6CAA8C;AAC9C,yDAAyC;AACzC,qDAAmG;AACnG,uFAAgF;AAChF,qFAA8E;AAC9E,2EAAqE;AAErE,MAAa,oBAAoB;;;;CA6EhC;AA7ED,oDA6EC;AA1EG;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;gDACG;AAMX;IAJC,IAAA,4BAAU,GAAE;IACZ,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,qBAAW,EAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;;kDACpB;AAKb;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;IACP,IAAA,qBAAW,EAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;;sDAChB;AAKjB;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,qBAAW,EAAC,EAAE,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AQ,EAAE,KAAK,EAAE,CAAC;;0DACZ;AAOrB;IALC,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,GAAE;IACT,IAAA,gCAAc,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;IAC9B,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,kDAAsB,CAAC;IAClC,IAAA,qBAAW,EAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;;oDACA;AAOjC;IALC,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,GAAE;IACT,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;IAClB,IAAA,uBAAK,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;IACrB,IAAA,qBAAW,EAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;;uDACb;AAKpB;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,qBAAW,EAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;;2DACX","sourcesContent":["import { ApiProperty } from '@nestjs/swagger';\nimport { Type } from 'class-transformer';\nimport { IsArray, IsInt, IsNotEmpty, IsOptional, IsString, ValidateNested } from 'class-validator';\nimport { UpdateAgentSkillRegistryDto } from './update-agent-skill-registry.dto';\nimport { UpdateAgentToolRegistryDto } from './update-agent-tool-registry.dto';\nimport { UpdateAgentRegistryDto } from './update-agent-registry.dto';\n\nexport class UpdateAgentHubTagDto {\n @IsOptional()\n @IsInt()\n id: number;\n\n @IsOptional()\n @IsNotEmpty()\n @IsString()\n @ApiProperty({ required: false })\n name: string;\n\n @IsOptional()\n @IsInt()\n @ApiProperty({ required: false })\n moduleId: number;\n\n @IsOptional()\n @IsString()\n @ApiProperty({ required: false })\n moduleUserKey: string;\n\n @IsOptional()\n @IsArray()\n @ValidateNested({ each: true })\n @Type(() => UpdateAgentSkillRegistryDto)\n @ApiProperty({ required: false })\n skills: UpdateAgentSkillRegistryDto[];\n\n @IsOptional()\n @IsArray()\n @Type(() => Number)\n @IsInt({ each: true })\n @ApiProperty({ required: false })\n skillsIds: number[];\n\n @IsOptional()\n @IsString()\n @ApiProperty({ required: false })\n skillsCommand: string;\n\n @IsOptional()\n @IsArray()\n @ValidateNested({ each: true })\n @Type(() => UpdateAgentToolRegistryDto)\n @ApiProperty({ required: false })\n tools: UpdateAgentToolRegistryDto[];\n\n @IsOptional()\n @IsArray()\n @Type(() => Number)\n @IsInt({ each: true })\n @ApiProperty({ required: false })\n toolsIds: number[];\n\n @IsOptional()\n @IsString()\n @ApiProperty({ required: false })\n toolsCommand: string;\n\n @IsOptional()\n @IsArray()\n @ValidateNested({ each: true })\n @Type(() => UpdateAgentRegistryDto)\n @ApiProperty({ required: false })\n agents: UpdateAgentRegistryDto[];\n\n @IsOptional()\n @IsArray()\n @Type(() => Number)\n @IsInt({ each: true })\n @ApiProperty({ required: false })\n agentsIds: number[];\n\n @IsOptional()\n @IsString()\n @ApiProperty({ required: false })\n agentsCommand: string;\n}\n"]}
@@ -21,6 +21,8 @@ export declare class UpdateAgentRegistryDto {
21
21
  turnStepLimit: number;
22
22
  costLimit: number;
23
23
  configVersion?: number;
24
+ moduleId: number;
25
+ moduleUserKey: string;
24
26
  tags: UpdateAgentHubTagDto[];
25
27
  tagsIds: number[];
26
28
  tagsCommand: string;
@@ -1 +1 @@
1
- {"version":3,"file":"update-agent-registry.dto.d.ts","sourceRoot":"","sources":["../../src/dtos/update-agent-registry.dto.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAC7D,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAC/D,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAC7D,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AACjE,OAAO,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AACnE,OAAO,EAAE,qBAAq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CAAC;IAKlB,aAAa,CAAC,EAAE,MAAM,CAAC;IAKvB,QAAQ,EAAE,MAAM,CAAC;IAKjB,aAAa,EAAE,MAAM,CAAC;IAOtB,IAAI,EAAE,oBAAoB,EAAE,CAAC;IAO7B,OAAO,EAAE,MAAM,EAAE,CAAC;IAKlB,WAAW,EAAE,MAAM,CAAC;IAOpB,UAAU,EAAE,kBAAkB,EAAE,CAAC;IAKjC,aAAa,EAAE,MAAM,EAAE,CAAC;IAKxB,iBAAiB,EAAE,MAAM,CAAC;IAO1B,WAAW,EAAE,mBAAmB,EAAE,CAAC;IAKnC,cAAc,EAAE,MAAM,EAAE,CAAC;IAKzB,kBAAkB,EAAE,MAAM,CAAC;IAO3B,UAAU,EAAE,kBAAkB,EAAE,CAAC;IAKjC,aAAa,EAAE,MAAM,EAAE,CAAC;IAKxB,iBAAiB,EAAE,MAAM,CAAC;IAO1B,YAAY,EAAE,oBAAoB,EAAE,CAAC;IAKrC,eAAe,EAAE,MAAM,EAAE,CAAC;IAK1B,mBAAmB,EAAE,MAAM,CAAC;IAO5B,cAAc,EAAE,qBAAqB,EAAE,CAAC;IAKxC,iBAAiB,EAAE,MAAM,EAAE,CAAC;IAK5B,qBAAqB,EAAE,MAAM,CAAC;IAO9B,aAAa,EAAE,qBAAqB,EAAE,CAAC;IAKvC,gBAAgB,EAAE,MAAM,EAAE,CAAC;IAK3B,oBAAoB,EAAE,MAAM,CAAC;IAO7B,SAAS,EAAE,iBAAiB,EAAE,CAAC;IAK/B,YAAY,EAAE,MAAM,EAAE,CAAC;IAKvB,gBAAgB,EAAE,MAAM,CAAC;CAC5B"}
@@ -24,7 +24,7 @@ const update_agent_job_dto_1 = require("./update-agent-job.dto");
24
24
  const update_agent_hub_tag_dto_1 = require("./update-agent-hub-tag.dto");
25
25
  class UpdateAgentRegistryDto {
26
26
  static _OPENAPI_METADATA_FACTORY() {
27
- return { id: { required: true, type: () => Number }, name: { required: true, type: () => String }, title: { required: true, type: () => String }, description: { required: false, type: () => String }, iconName: { required: false, type: () => String }, systemPrompt: { required: true, type: () => String }, requiredInputs: { required: true, type: () => String }, reasoningModelKey: { required: true, type: () => String }, fastModelKey: { required: true, type: () => String }, status: { required: true, type: () => String }, stepLimit: { required: true, type: () => Number }, turnStepLimit: { required: true, type: () => Number }, costLimit: { required: true, type: () => Number }, configVersion: { required: false, type: () => Number }, tags: { required: true, type: () => [require("./update-agent-hub-tag.dto").UpdateAgentHubTagDto] }, tagsIds: { required: true, type: () => [Number] }, tagsCommand: { required: true, type: () => String }, agentTools: { required: true, type: () => [require("./update-agent-tool.dto").UpdateAgentToolDto] }, agentToolsIds: { required: true, type: () => [Number] }, agentToolsCommand: { required: true, type: () => String }, agentSkills: { required: true, type: () => [require("./update-agent-skill.dto").UpdateAgentSkillDto] }, agentSkillsIds: { required: true, type: () => [Number] }, agentSkillsCommand: { required: true, type: () => String }, agentRoles: { required: true, type: () => [require("./update-agent-role.dto").UpdateAgentRoleDto] }, agentRolesIds: { required: true, type: () => [Number] }, agentRolesCommand: { required: true, type: () => String }, agentSecrets: { required: true, type: () => [require("./update-agent-secret.dto").UpdateAgentSecretDto] }, agentSecretsIds: { required: true, type: () => [Number] }, agentSecretsCommand: { required: true, type: () => String }, agentProcesses: { required: true, type: () => [require("./update-agent-process.dto").UpdateAgentProcessDto] }, agentProcessesIds: { required: true, type: () => [Number] }, agentProcessesCommand: { required: true, type: () => String }, agentSessions: { required: true, type: () => [require("./update-agent-session.dto").UpdateAgentSessionDto] }, agentSessionsIds: { required: true, type: () => [Number] }, agentSessionsCommand: { required: true, type: () => String }, agentJobs: { required: true, type: () => [require("./update-agent-job.dto").UpdateAgentJobDto] }, agentJobsIds: { required: true, type: () => [Number] }, agentJobsCommand: { required: true, type: () => String } };
27
+ return { id: { required: true, type: () => Number }, name: { required: true, type: () => String }, title: { required: true, type: () => String }, description: { required: false, type: () => String }, iconName: { required: false, type: () => String }, systemPrompt: { required: true, type: () => String }, requiredInputs: { required: true, type: () => String }, reasoningModelKey: { required: true, type: () => String }, fastModelKey: { required: true, type: () => String }, status: { required: true, type: () => String }, stepLimit: { required: true, type: () => Number }, turnStepLimit: { required: true, type: () => Number }, costLimit: { required: true, type: () => Number }, configVersion: { required: false, type: () => Number }, moduleId: { required: true, type: () => Number }, moduleUserKey: { required: true, type: () => String }, tags: { required: true, type: () => [require("./update-agent-hub-tag.dto").UpdateAgentHubTagDto] }, tagsIds: { required: true, type: () => [Number] }, tagsCommand: { required: true, type: () => String }, agentTools: { required: true, type: () => [require("./update-agent-tool.dto").UpdateAgentToolDto] }, agentToolsIds: { required: true, type: () => [Number] }, agentToolsCommand: { required: true, type: () => String }, agentSkills: { required: true, type: () => [require("./update-agent-skill.dto").UpdateAgentSkillDto] }, agentSkillsIds: { required: true, type: () => [Number] }, agentSkillsCommand: { required: true, type: () => String }, agentRoles: { required: true, type: () => [require("./update-agent-role.dto").UpdateAgentRoleDto] }, agentRolesIds: { required: true, type: () => [Number] }, agentRolesCommand: { required: true, type: () => String }, agentSecrets: { required: true, type: () => [require("./update-agent-secret.dto").UpdateAgentSecretDto] }, agentSecretsIds: { required: true, type: () => [Number] }, agentSecretsCommand: { required: true, type: () => String }, agentProcesses: { required: true, type: () => [require("./update-agent-process.dto").UpdateAgentProcessDto] }, agentProcessesIds: { required: true, type: () => [Number] }, agentProcessesCommand: { required: true, type: () => String }, agentSessions: { required: true, type: () => [require("./update-agent-session.dto").UpdateAgentSessionDto] }, agentSessionsIds: { required: true, type: () => [Number] }, agentSessionsCommand: { required: true, type: () => String }, agentJobs: { required: true, type: () => [require("./update-agent-job.dto").UpdateAgentJobDto] }, agentJobsIds: { required: true, type: () => [Number] }, agentJobsCommand: { required: true, type: () => String } };
28
28
  }
29
29
  }
30
30
  exports.UpdateAgentRegistryDto = UpdateAgentRegistryDto;
@@ -121,6 +121,18 @@ __decorate([
121
121
  (0, swagger_1.ApiProperty)({ required: false }),
122
122
  __metadata("design:type", Number)
123
123
  ], UpdateAgentRegistryDto.prototype, "configVersion", void 0);
124
+ __decorate([
125
+ (0, class_validator_1.IsOptional)(),
126
+ (0, class_validator_1.IsInt)(),
127
+ (0, swagger_1.ApiProperty)({ required: false }),
128
+ __metadata("design:type", Number)
129
+ ], UpdateAgentRegistryDto.prototype, "moduleId", void 0);
130
+ __decorate([
131
+ (0, class_validator_1.IsString)(),
132
+ (0, class_validator_1.IsOptional)(),
133
+ (0, swagger_1.ApiProperty)({ required: false }),
134
+ __metadata("design:type", String)
135
+ ], UpdateAgentRegistryDto.prototype, "moduleUserKey", void 0);
124
136
  __decorate([
125
137
  (0, class_validator_1.IsOptional)(),
126
138
  (0, swagger_1.ApiProperty)({ required: false }),
@@ -1 +1 @@
1
- {"version":3,"file":"update-agent-registry.dto.js","sourceRoot":"","sources":["../../src/dtos/update-agent-registry.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,qDAAoH;AACpH,6CAA8C;AAC9C,yDAAyC;AACzC,mEAA6D;AAC7D,qEAA+D;AAC/D,mEAA6D;AAC7D,uEAAiE;AACjE,yEAAmE;AACnE,yEAAmE;AACnE,iEAA2D;AAC3D,yEAAkE;AAElE,MAAa,sBAAsB;;;;CAyNlC;AAzND,wDAyNC;AAtNG;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;kDACG;AAMX;IAJC,IAAA,4BAAU,GAAE;IACZ,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,qBAAW,GAAE;;oDACD;AAMb;IAJC,IAAA,4BAAU,GAAE;IACZ,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,qBAAW,GAAE;;qDACA;AAKd;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,qBAAW,EAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;;2DACZ;AAKrB;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA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A,qBAAW,GAAE;IACb,IAAA,yBAAO,GAAE;IACT,IAAA,gCAAc,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;IAC9B,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,gDAAqB,CAAC;;6DACK;AAKvC;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,GAAE;IACT,IAAA,qBAAW,GAAE;;gEACa;AAK3B;IAHC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,qBAAW,GAAE;;oEACe;AAO7B;IALC,IAAA,4BAAU,GAAE;IACZ,IAAA,qBAAW,GAAE;IACb,IAAA,yBAAO,GAAE;IACT,IAAA,gCAAc,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;IAC9B,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,wCAAiB,CAAC;;yDACC;AAK/B;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,GAAE;IACT,IAAA,qBAAW,GAAE;;4DACS;AAKvB;IAHC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,qBAAW,GAAE;;gEACW","sourcesContent":["import { IsInt,IsOptional, IsString, IsNotEmpty, IsJSON, IsNumber, ValidateNested, IsArray } from 'class-validator';\nimport { ApiProperty } from '@nestjs/swagger';\nimport { Type } from 'class-transformer';\nimport { UpdateAgentToolDto } from './update-agent-tool.dto';\nimport { UpdateAgentSkillDto } from './update-agent-skill.dto';\nimport { UpdateAgentRoleDto } from './update-agent-role.dto';\nimport { UpdateAgentSecretDto } from './update-agent-secret.dto';\nimport { UpdateAgentProcessDto } from './update-agent-process.dto';\nimport { UpdateAgentSessionDto } from './update-agent-session.dto';\nimport { UpdateAgentJobDto } from './update-agent-job.dto';\nimport { UpdateAgentHubTagDto } from './update-agent-hub-tag.dto';\n\nexport class UpdateAgentRegistryDto {\n @IsOptional()\n @IsInt()\n id: number;\n\n @IsNotEmpty()\n @IsOptional()\n @IsString()\n @ApiProperty()\n name: string;\n\n @IsNotEmpty()\n @IsOptional()\n @IsString()\n @ApiProperty()\n title: string;\n\n @IsOptional()\n @IsString()\n @ApiProperty({ required: false })\n description?: string;\n\n @IsOptional()\n @IsString()\n @ApiProperty({ required: false })\n iconName?: string;\n\n @IsNotEmpty()\n @IsOptional()\n @IsString()\n @ApiProperty()\n systemPrompt: string;\n\n @IsNotEmpty()\n @IsOptional()\n @IsString()\n @ApiProperty()\n requiredInputs: string;\n\n @IsNotEmpty()\n @IsOptional()\n @IsString()\n @ApiProperty()\n reasoningModelKey: string;\n\n @IsNotEmpty()\n @IsOptional()\n @IsString()\n @ApiProperty()\n fastModelKey: string;\n\n @IsNotEmpty()\n @IsOptional()\n @IsString()\n @ApiProperty()\n status: string;\n\n @IsNotEmpty()\n @IsOptional()\n @IsInt()\n @ApiProperty()\n stepLimit: number;\n\n @IsNotEmpty()\n @IsOptional()\n @IsInt()\n @ApiProperty()\n turnStepLimit: number;\n\n @IsNotEmpty()\n @IsOptional()\n @IsNumber()\n @ApiProperty()\n costLimit: number;\n\n @IsOptional()\n @IsInt()\n @ApiProperty({ required: false })\n configVersion?: number;\n\n @IsOptional()\n @ApiProperty({ required: false })\n @IsArray()\n @ValidateNested({ each: true })\n @Type(() => UpdateAgentHubTagDto)\n tags: UpdateAgentHubTagDto[];\n\n @IsOptional()\n @IsArray()\n @Type(() => Number)\n @IsInt({ each: true })\n @ApiProperty({ required: false })\n tagsIds: number[];\n\n @IsString()\n @IsOptional()\n @ApiProperty({ required: false })\n tagsCommand: string;\n\n @IsOptional()\n @ApiProperty()\n @IsArray()\n @ValidateNested({ each: true })\n @Type(() => UpdateAgentToolDto)\n agentTools: UpdateAgentToolDto[];\n\n @IsOptional()\n @IsArray()\n @ApiProperty()\n agentToolsIds: number[];\n\n @IsString()\n @IsOptional()\n @ApiProperty()\n agentToolsCommand: string;\n\n @IsOptional()\n @ApiProperty()\n @IsArray()\n @ValidateNested({ each: true })\n @Type(() => UpdateAgentSkillDto)\n agentSkills: UpdateAgentSkillDto[];\n\n @IsOptional()\n @IsArray()\n @ApiProperty()\n agentSkillsIds: number[];\n\n @IsString()\n @IsOptional()\n @ApiProperty()\n agentSkillsCommand: string;\n\n @IsOptional()\n @ApiProperty()\n @IsArray()\n @ValidateNested({ each: true })\n @Type(() => UpdateAgentRoleDto)\n agentRoles: UpdateAgentRoleDto[];\n\n @IsOptional()\n @IsArray()\n @ApiProperty()\n agentRolesIds: number[];\n\n @IsString()\n @IsOptional()\n @ApiProperty()\n agentRolesCommand: string;\n\n @IsOptional()\n @ApiProperty()\n @IsArray()\n @ValidateNested({ each: true })\n @Type(() => UpdateAgentSecretDto)\n agentSecrets: UpdateAgentSecretDto[];\n\n @IsOptional()\n @IsArray()\n @ApiProperty()\n agentSecretsIds: number[];\n\n @IsString()\n @IsOptional()\n @ApiProperty()\n agentSecretsCommand: string;\n\n @IsOptional()\n @ApiProperty()\n @IsArray()\n @ValidateNested({ each: true })\n @Type(() => UpdateAgentProcessDto)\n agentProcesses: UpdateAgentProcessDto[];\n\n @IsOptional()\n @IsArray()\n @ApiProperty()\n agentProcessesIds: number[];\n\n @IsString()\n @IsOptional()\n @ApiProperty()\n agentProcessesCommand: string;\n\n @IsOptional()\n @ApiProperty()\n @IsArray()\n @ValidateNested({ each: true })\n @Type(() => UpdateAgentSessionDto)\n agentSessions: UpdateAgentSessionDto[];\n\n @IsOptional()\n @IsArray()\n @ApiProperty()\n agentSessionsIds: number[];\n\n @IsString()\n @IsOptional()\n @ApiProperty()\n agentSessionsCommand: string;\n\n @IsOptional()\n @ApiProperty()\n @IsArray()\n @ValidateNested({ each: true })\n @Type(() => UpdateAgentJobDto)\n agentJobs: UpdateAgentJobDto[];\n\n @IsOptional()\n @IsArray()\n @ApiProperty()\n agentJobsIds: number[];\n\n @IsString()\n @IsOptional()\n @ApiProperty()\n agentJobsCommand: string;\n}\n"]}
1
+ {"version":3,"file":"update-agent-registry.dto.js","sourceRoot":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BAAO,GAAE;IACT,IAAA,qBAAW,GAAE;;gEACa;AAK3B;IAHC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,qBAAW,GAAE;;oEACe;AAO7B;IALC,IAAA,4BAAU,GAAE;IACZ,IAAA,qBAAW,GAAE;IACb,IAAA,yBAAO,GAAE;IACT,IAAA,gCAAc,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;IAC9B,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,wCAAiB,CAAC;;yDACC;AAK/B;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,GAAE;IACT,IAAA,qBAAW,GAAE;;4DACS;AAKvB;IAHC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,qBAAW,GAAE;;gEACW","sourcesContent":["import { IsInt,IsOptional, IsString, IsNotEmpty, IsJSON, IsNumber, ValidateNested, IsArray } from 'class-validator';\nimport { ApiProperty } from '@nestjs/swagger';\nimport { Type } from 'class-transformer';\nimport { UpdateAgentToolDto } from './update-agent-tool.dto';\nimport { UpdateAgentSkillDto } from './update-agent-skill.dto';\nimport { UpdateAgentRoleDto } from './update-agent-role.dto';\nimport { UpdateAgentSecretDto } from './update-agent-secret.dto';\nimport { UpdateAgentProcessDto } from './update-agent-process.dto';\nimport { UpdateAgentSessionDto } from './update-agent-session.dto';\nimport { UpdateAgentJobDto } from './update-agent-job.dto';\nimport { UpdateAgentHubTagDto } from './update-agent-hub-tag.dto';\n\nexport class UpdateAgentRegistryDto {\n @IsOptional()\n @IsInt()\n id: number;\n\n @IsNotEmpty()\n @IsOptional()\n @IsString()\n @ApiProperty()\n name: string;\n\n @IsNotEmpty()\n @IsOptional()\n @IsString()\n @ApiProperty()\n title: string;\n\n @IsOptional()\n @IsString()\n @ApiProperty({ required: false })\n description?: string;\n\n @IsOptional()\n @IsString()\n @ApiProperty({ required: false })\n iconName?: string;\n\n @IsNotEmpty()\n @IsOptional()\n @IsString()\n @ApiProperty()\n systemPrompt: string;\n\n @IsNotEmpty()\n @IsOptional()\n @IsString()\n @ApiProperty()\n requiredInputs: string;\n\n @IsNotEmpty()\n @IsOptional()\n @IsString()\n @ApiProperty()\n reasoningModelKey: string;\n\n @IsNotEmpty()\n @IsOptional()\n @IsString()\n @ApiProperty()\n fastModelKey: string;\n\n @IsNotEmpty()\n @IsOptional()\n @IsString()\n @ApiProperty()\n status: string;\n\n @IsNotEmpty()\n @IsOptional()\n @IsInt()\n @ApiProperty()\n stepLimit: number;\n\n @IsNotEmpty()\n @IsOptional()\n @IsInt()\n @ApiProperty()\n turnStepLimit: number;\n\n @IsNotEmpty()\n @IsOptional()\n @IsNumber()\n @ApiProperty()\n costLimit: number;\n\n @IsOptional()\n @IsInt()\n @ApiProperty({ required: false })\n configVersion?: number;\n\n @IsOptional()\n @IsInt()\n @ApiProperty({ required: false })\n moduleId: number;\n\n @IsString()\n @IsOptional()\n @ApiProperty({ required: false })\n moduleUserKey: string;\n\n @IsOptional()\n @ApiProperty({ required: false })\n @IsArray()\n @ValidateNested({ each: true })\n @Type(() => UpdateAgentHubTagDto)\n tags: UpdateAgentHubTagDto[];\n\n @IsOptional()\n @IsArray()\n @Type(() => Number)\n @IsInt({ each: true })\n @ApiProperty({ required: false })\n tagsIds: number[];\n\n @IsString()\n @IsOptional()\n @ApiProperty({ required: false })\n tagsCommand: string;\n\n @IsOptional()\n @ApiProperty()\n @IsArray()\n @ValidateNested({ each: true })\n @Type(() => UpdateAgentToolDto)\n agentTools: UpdateAgentToolDto[];\n\n @IsOptional()\n @IsArray()\n @ApiProperty()\n agentToolsIds: number[];\n\n @IsString()\n @IsOptional()\n @ApiProperty()\n agentToolsCommand: string;\n\n @IsOptional()\n @ApiProperty()\n @IsArray()\n @ValidateNested({ each: true })\n @Type(() => UpdateAgentSkillDto)\n agentSkills: UpdateAgentSkillDto[];\n\n @IsOptional()\n @IsArray()\n @ApiProperty()\n agentSkillsIds: number[];\n\n @IsString()\n @IsOptional()\n @ApiProperty()\n agentSkillsCommand: string;\n\n @IsOptional()\n @ApiProperty()\n @IsArray()\n @ValidateNested({ each: true })\n @Type(() => UpdateAgentRoleDto)\n agentRoles: UpdateAgentRoleDto[];\n\n @IsOptional()\n @IsArray()\n @ApiProperty()\n agentRolesIds: number[];\n\n @IsString()\n @IsOptional()\n @ApiProperty()\n agentRolesCommand: string;\n\n @IsOptional()\n @ApiProperty()\n @IsArray()\n @ValidateNested({ each: true })\n @Type(() => UpdateAgentSecretDto)\n agentSecrets: UpdateAgentSecretDto[];\n\n @IsOptional()\n @IsArray()\n @ApiProperty()\n agentSecretsIds: number[];\n\n @IsString()\n @IsOptional()\n @ApiProperty()\n agentSecretsCommand: string;\n\n @IsOptional()\n @ApiProperty()\n @IsArray()\n @ValidateNested({ each: true })\n @Type(() => UpdateAgentProcessDto)\n agentProcesses: UpdateAgentProcessDto[];\n\n @IsOptional()\n @IsArray()\n @ApiProperty()\n agentProcessesIds: number[];\n\n @IsString()\n @IsOptional()\n @ApiProperty()\n agentProcessesCommand: string;\n\n @IsOptional()\n @ApiProperty()\n @IsArray()\n @ValidateNested({ each: true })\n @Type(() => UpdateAgentSessionDto)\n agentSessions: UpdateAgentSessionDto[];\n\n @IsOptional()\n @IsArray()\n @ApiProperty()\n agentSessionsIds: number[];\n\n @IsString()\n @IsOptional()\n @ApiProperty()\n agentSessionsCommand: string;\n\n @IsOptional()\n @ApiProperty()\n @IsArray()\n @ValidateNested({ each: true })\n @Type(() => UpdateAgentJobDto)\n agentJobs: UpdateAgentJobDto[];\n\n @IsOptional()\n @IsArray()\n @ApiProperty()\n agentJobsIds: number[];\n\n @IsString()\n @IsOptional()\n @ApiProperty()\n agentJobsCommand: string;\n}\n"]}
@@ -7,6 +7,8 @@ export declare class UpdateAgentSkillRegistryDto {
7
7
  iconName?: string;
8
8
  description: string;
9
9
  body: string;
10
+ moduleId: number;
11
+ moduleUserKey: string;
10
12
  tags: UpdateAgentHubTagDto[];
11
13
  tagsIds: number[];
12
14
  tagsCommand: string;
@@ -1 +1 @@
1
- {"version":3,"file":"update-agent-skill-registry.dto.d.ts","sourceRoot":"","sources":["../../src/dtos/update-agent-skill-registry.dto.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAC/D,OAAO,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAElE,qBAAa,2BAA2B;IAGpC,EAAE,EAAE,MAAM,CAAC;IAMX,IAAI,EAAE,MAAM,CAAC;IAMb,IAAI,EAAE,MAAM,CAAC;IAKb,QAAQ,CAAC,EAAE,MAAM,CAAC;IAMlB,WAAW,EAAE,MAAM,CAAC;IAMpB,IAAI,EAAE,MAAM,CAAC;IAOb,IAAI,EAAE,oBAAoB,EAAE,CAAC;IAO7B,OAAO,EAAE,MAAM,EAAE,CAAC;IAKlB,WAAW,EAAE,MAAM,CAAC;IAOpB,WAAW,EAAE,mBAAmB,EAAE,CAAC;IAKnC,cAAc,EAAE,MAAM,EAAE,CAAC;IAKzB,kBAAkB,EAAE,MAAM,CAAC;CAC9B"}
1
+ {"version":3,"file":"update-agent-skill-registry.dto.d.ts","sourceRoot":"","sources":["../../src/dtos/update-agent-skill-registry.dto.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAC/D,OAAO,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAElE,qBAAa,2BAA2B;IAGpC,EAAE,EAAE,MAAM,CAAC;IAMX,IAAI,EAAE,MAAM,CAAC;IAMb,IAAI,EAAE,MAAM,CAAC;IAKb,QAAQ,CAAC,EAAE,MAAM,CAAC;IAMlB,WAAW,EAAE,MAAM,CAAC;IAMpB,IAAI,EAAE,MAAM,CAAC;IAKb,QAAQ,EAAE,MAAM,CAAC;IAKjB,aAAa,EAAE,MAAM,CAAC;IAOtB,IAAI,EAAE,oBAAoB,EAAE,CAAC;IAO7B,OAAO,EAAE,MAAM,EAAE,CAAC;IAKlB,WAAW,EAAE,MAAM,CAAC;IAOpB,WAAW,EAAE,mBAAmB,EAAE,CAAC;IAKnC,cAAc,EAAE,MAAM,EAAE,CAAC;IAKzB,kBAAkB,EAAE,MAAM,CAAC;CAC9B"}
@@ -18,7 +18,7 @@ const update_agent_skill_dto_1 = require("./update-agent-skill.dto");
18
18
  const update_agent_hub_tag_dto_1 = require("./update-agent-hub-tag.dto");
19
19
  class UpdateAgentSkillRegistryDto {
20
20
  static _OPENAPI_METADATA_FACTORY() {
21
- return { id: { required: true, type: () => Number }, name: { required: true, type: () => String }, type: { required: true, type: () => String }, iconName: { required: false, type: () => String }, description: { required: true, type: () => String }, body: { required: true, type: () => String }, tags: { required: true, type: () => [require("./update-agent-hub-tag.dto").UpdateAgentHubTagDto] }, tagsIds: { required: true, type: () => [Number] }, tagsCommand: { required: true, type: () => String }, agentSkills: { required: true, type: () => [require("./update-agent-skill.dto").UpdateAgentSkillDto] }, agentSkillsIds: { required: true, type: () => [Number] }, agentSkillsCommand: { required: true, type: () => String } };
21
+ return { id: { required: true, type: () => Number }, name: { required: true, type: () => String }, type: { required: true, type: () => String }, iconName: { required: false, type: () => String }, description: { required: true, type: () => String }, body: { required: true, type: () => String }, moduleId: { required: true, type: () => Number }, moduleUserKey: { required: true, type: () => String }, tags: { required: true, type: () => [require("./update-agent-hub-tag.dto").UpdateAgentHubTagDto] }, tagsIds: { required: true, type: () => [Number] }, tagsCommand: { required: true, type: () => String }, agentSkills: { required: true, type: () => [require("./update-agent-skill.dto").UpdateAgentSkillDto] }, agentSkillsIds: { required: true, type: () => [Number] }, agentSkillsCommand: { required: true, type: () => String } };
22
22
  }
23
23
  }
24
24
  exports.UpdateAgentSkillRegistryDto = UpdateAgentSkillRegistryDto;
@@ -61,6 +61,18 @@ __decorate([
61
61
  (0, swagger_1.ApiProperty)(),
62
62
  __metadata("design:type", String)
63
63
  ], UpdateAgentSkillRegistryDto.prototype, "body", void 0);
64
+ __decorate([
65
+ (0, class_validator_1.IsOptional)(),
66
+ (0, class_validator_1.IsInt)(),
67
+ (0, swagger_1.ApiProperty)({ required: false }),
68
+ __metadata("design:type", Number)
69
+ ], UpdateAgentSkillRegistryDto.prototype, "moduleId", void 0);
70
+ __decorate([
71
+ (0, class_validator_1.IsString)(),
72
+ (0, class_validator_1.IsOptional)(),
73
+ (0, swagger_1.ApiProperty)({ required: false }),
74
+ __metadata("design:type", String)
75
+ ], UpdateAgentSkillRegistryDto.prototype, "moduleUserKey", void 0);
64
76
  __decorate([
65
77
  (0, class_validator_1.IsOptional)(),
66
78
  (0, swagger_1.ApiProperty)({ required: false }),
@@ -1 +1 @@
1
- {"version":3,"file":"update-agent-skill-registry.dto.js","sourceRoot":"","sources":["../../src/dtos/update-agent-skill-registry.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,qDAA0G;AAC1G,6CAA8C;AAC9C,yDAAyC;AACzC,qEAA+D;AAC/D,yEAAkE;AAElE,MAAa,2BAA2B;;;;CAqEvC;AArED,kEAqEC;AAlEG;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;uDACG;AAMX;IAJC,IAAA,4BAAU,GAAE;IACZ,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,qBAAW,GAAE;;yDACD;AAMb;IAJC,IAAA,4BAAU,GAAE;IACZ,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,qBAAW,GAAE;;yDACD;AAKb;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,qBAAW,EAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;;6DACf;AAMlB;IAJC,IAAA,4BAAU,GAAE;IACZ,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,qBAAW,GAAE;;gEACM;AAMpB;IAJC,IAAA,4BAAU,GAAE;IACZ,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,qBAAW,GAAE;;yDACD;AAOb;IALC,IAAA,4BAAU,GAAE;IACZ,IAAA,qBAAW,EAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAChC,IAAA,yBAAO,GAAE;IACT,IAAA,gCAAc,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;IAC9B,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,+CAAoB,CAAC;;yDACJ;AAO7B;IALC,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,GAAE;IACT,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;IAClB,IAAA,uBAAK,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;IACrB,IAAA,qBAAW,EAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;;4DACf;AAKlB;IAHC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,qBAAW,EAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;;gEACb;AAOpB;IALC,IAAA,4BAAU,GAAE;IACZ,IAAA,qBAAW,GAAE;IACb,IAAA,yBAAO,GAAE;IACT,IAAA,gCAAc,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;IAC9B,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,4CAAmB,CAAC;;gEACG;AAKnC;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,GAAE;IACT,IAAA,qBAAW,GAAE;;mEACW;AAKzB;IAHC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,qBAAW,GAAE;;uEACa","sourcesContent":["import { IsInt,IsOptional, IsString, IsNotEmpty, IsJSON, ValidateNested, IsArray } from 'class-validator';\nimport { ApiProperty } from '@nestjs/swagger';\nimport { Type } from 'class-transformer';\nimport { UpdateAgentSkillDto } from './update-agent-skill.dto';\nimport { UpdateAgentHubTagDto } from './update-agent-hub-tag.dto';\n\nexport class UpdateAgentSkillRegistryDto {\n @IsOptional()\n @IsInt()\n id: number;\n\n @IsNotEmpty()\n @IsOptional()\n @IsString()\n @ApiProperty()\n name: string;\n\n @IsNotEmpty()\n @IsOptional()\n @IsString()\n @ApiProperty()\n type: string;\n\n @IsOptional()\n @IsString()\n @ApiProperty({ required: false })\n iconName?: string;\n\n @IsNotEmpty()\n @IsOptional()\n @IsString()\n @ApiProperty()\n description: string;\n\n @IsNotEmpty()\n @IsOptional()\n @IsString()\n @ApiProperty()\n body: string;\n\n @IsOptional()\n @ApiProperty({ required: false })\n @IsArray()\n @ValidateNested({ each: true })\n @Type(() => UpdateAgentHubTagDto)\n tags: UpdateAgentHubTagDto[];\n\n @IsOptional()\n @IsArray()\n @Type(() => Number)\n @IsInt({ each: true })\n @ApiProperty({ required: false })\n tagsIds: number[];\n\n @IsString()\n @IsOptional()\n @ApiProperty({ required: false })\n tagsCommand: string;\n\n @IsOptional()\n @ApiProperty()\n @IsArray()\n @ValidateNested({ each: true })\n @Type(() => UpdateAgentSkillDto)\n agentSkills: UpdateAgentSkillDto[];\n\n @IsOptional()\n @IsArray()\n @ApiProperty()\n agentSkillsIds: number[];\n\n @IsString()\n @IsOptional()\n @ApiProperty()\n agentSkillsCommand: string;\n}\n"]}
1
+ {"version":3,"file":"update-agent-skill-registry.dto.js","sourceRoot":"","sources":["../../src/dtos/update-agent-skill-registry.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,qDAA0G;AAC1G,6CAA8C;AAC9C,yDAAyC;AACzC,qEAA+D;AAC/D,yEAAkE;AAElE,MAAa,2BAA2B;;;;CA+EvC;AA/ED,kEA+EC;AA5EG;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;uDACG;AAMX;IAJC,IAAA,4BAAU,GAAE;IACZ,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,qBAAW,G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;IAHC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,qBAAW,EAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;;gEACb;AAOpB;IALC,IAAA,4BAAU,GAAE;IACZ,IAAA,qBAAW,GAAE;IACb,IAAA,yBAAO,GAAE;IACT,IAAA,gCAAc,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;IAC9B,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,4CAAmB,CAAC;;gEACG;AAKnC;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,GAAE;IACT,IAAA,qBAAW,GAAE;;mEACW;AAKzB;IAHC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,qBAAW,GAAE;;uEACa","sourcesContent":["import { IsInt,IsOptional, IsString, IsNotEmpty, IsJSON, ValidateNested, IsArray } from 'class-validator';\nimport { ApiProperty } from '@nestjs/swagger';\nimport { Type } from 'class-transformer';\nimport { UpdateAgentSkillDto } from './update-agent-skill.dto';\nimport { UpdateAgentHubTagDto } from './update-agent-hub-tag.dto';\n\nexport class UpdateAgentSkillRegistryDto {\n @IsOptional()\n @IsInt()\n id: number;\n\n @IsNotEmpty()\n @IsOptional()\n @IsString()\n @ApiProperty()\n name: string;\n\n @IsNotEmpty()\n @IsOptional()\n @IsString()\n @ApiProperty()\n type: string;\n\n @IsOptional()\n @IsString()\n @ApiProperty({ required: false })\n iconName?: string;\n\n @IsNotEmpty()\n @IsOptional()\n @IsString()\n @ApiProperty()\n description: string;\n\n @IsNotEmpty()\n @IsOptional()\n @IsString()\n @ApiProperty()\n body: string;\n\n @IsOptional()\n @IsInt()\n @ApiProperty({ required: false })\n moduleId: number;\n\n @IsString()\n @IsOptional()\n @ApiProperty({ required: false })\n moduleUserKey: string;\n\n @IsOptional()\n @ApiProperty({ required: false })\n @IsArray()\n @ValidateNested({ each: true })\n @Type(() => UpdateAgentHubTagDto)\n tags: UpdateAgentHubTagDto[];\n\n @IsOptional()\n @IsArray()\n @Type(() => Number)\n @IsInt({ each: true })\n @ApiProperty({ required: false })\n tagsIds: number[];\n\n @IsString()\n @IsOptional()\n @ApiProperty({ required: false })\n tagsCommand: string;\n\n @IsOptional()\n @ApiProperty()\n @IsArray()\n @ValidateNested({ each: true })\n @Type(() => UpdateAgentSkillDto)\n agentSkills: UpdateAgentSkillDto[];\n\n @IsOptional()\n @IsArray()\n @ApiProperty()\n agentSkillsIds: number[];\n\n @IsString()\n @IsOptional()\n @ApiProperty()\n agentSkillsCommand: string;\n}\n"]}
@@ -10,6 +10,8 @@ export declare class UpdateAgentToolRegistryDto {
10
10
  checksum?: string;
11
11
  status: string;
12
12
  lastLoadError: string;
13
+ moduleId: number;
14
+ moduleUserKey: string;
13
15
  tags: UpdateAgentHubTagDto[];
14
16
  tagsIds: number[];
15
17
  tagsCommand: string;
@@ -1 +1 @@
1
- {"version":3,"file":"update-agent-tool-registry.dto.d.ts","sourceRoot":"","sources":["../../src/dtos/update-agent-tool-registry.dto.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAC7D,OAAO,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAElE,qBAAa,0BAA0B;IAGnC,EAAE,EAAE,MAAM,CAAC;IAMX,IAAI,EAAE,MAAM,CAAC;IAMb,IAAI,EAAE,MAAM,CAAC;IAKb,QAAQ,CAAC,EAAE,MAAM,CAAC;IAMlB,WAAW,EAAE,MAAM,CAAC;IAMpB,UAAU,EAAE,MAAM,CAAC;IAKnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAMlB,MAAM,EAAE,MAAM,CAAC;IAKf,aAAa,EAAE,MAAM,CAAC;IAOtB,IAAI,EAAE,oBAAoB,EAAE,CAAC;IAO7B,OAAO,EAAE,MAAM,EAAE,CAAC;IAKlB,WAAW,EAAE,MAAM,CAAC;IAOpB,UAAU,EAAE,kBAAkB,EAAE,CAAC;IAKjC,aAAa,EAAE,MAAM,EAAE,CAAC;IAKxB,iBAAiB,EAAE,MAAM,CAAC;CAC7B"}
1
+ {"version":3,"file":"update-agent-tool-registry.dto.d.ts","sourceRoot":"","sources":["../../src/dtos/update-agent-tool-registry.dto.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAC7D,OAAO,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAElE,qBAAa,0BAA0B;IAGnC,EAAE,EAAE,MAAM,CAAC;IAMX,IAAI,EAAE,MAAM,CAAC;IAMb,IAAI,EAAE,MAAM,CAAC;IAKb,QAAQ,CAAC,EAAE,MAAM,CAAC;IAMlB,WAAW,EAAE,MAAM,CAAC;IAMpB,UAAU,EAAE,MAAM,CAAC;IAKnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAMlB,MAAM,EAAE,MAAM,CAAC;IAKf,aAAa,EAAE,MAAM,CAAC;IAKtB,QAAQ,EAAE,MAAM,CAAC;IAKjB,aAAa,EAAE,MAAM,CAAC;IAOtB,IAAI,EAAE,oBAAoB,EAAE,CAAC;IAO7B,OAAO,EAAE,MAAM,EAAE,CAAC;IAKlB,WAAW,EAAE,MAAM,CAAC;IAOpB,UAAU,EAAE,kBAAkB,EAAE,CAAC;IAKjC,aAAa,EAAE,MAAM,EAAE,CAAC;IAKxB,iBAAiB,EAAE,MAAM,CAAC;CAC7B"}
@@ -18,7 +18,7 @@ const update_agent_tool_dto_1 = require("./update-agent-tool.dto");
18
18
  const update_agent_hub_tag_dto_1 = require("./update-agent-hub-tag.dto");
19
19
  class UpdateAgentToolRegistryDto {
20
20
  static _OPENAPI_METADATA_FACTORY() {
21
- return { id: { required: true, type: () => Number }, name: { required: true, type: () => String }, type: { required: true, type: () => String }, iconName: { required: false, type: () => String }, description: { required: true, type: () => String }, sourceCode: { required: true, type: () => String }, checksum: { required: false, type: () => String }, status: { required: true, type: () => String }, lastLoadError: { required: true, type: () => String }, tags: { required: true, type: () => [require("./update-agent-hub-tag.dto").UpdateAgentHubTagDto] }, tagsIds: { required: true, type: () => [Number] }, tagsCommand: { required: true, type: () => String }, agentTools: { required: true, type: () => [require("./update-agent-tool.dto").UpdateAgentToolDto] }, agentToolsIds: { required: true, type: () => [Number] }, agentToolsCommand: { required: true, type: () => String } };
21
+ return { id: { required: true, type: () => Number }, name: { required: true, type: () => String }, type: { required: true, type: () => String }, iconName: { required: false, type: () => String }, description: { required: true, type: () => String }, sourceCode: { required: true, type: () => String }, checksum: { required: false, type: () => String }, status: { required: true, type: () => String }, lastLoadError: { required: true, type: () => String }, moduleId: { required: true, type: () => Number }, moduleUserKey: { required: true, type: () => String }, tags: { required: true, type: () => [require("./update-agent-hub-tag.dto").UpdateAgentHubTagDto] }, tagsIds: { required: true, type: () => [Number] }, tagsCommand: { required: true, type: () => String }, agentTools: { required: true, type: () => [require("./update-agent-tool.dto").UpdateAgentToolDto] }, agentToolsIds: { required: true, type: () => [Number] }, agentToolsCommand: { required: true, type: () => String } };
22
22
  }
23
23
  }
24
24
  exports.UpdateAgentToolRegistryDto = UpdateAgentToolRegistryDto;
@@ -80,6 +80,18 @@ __decorate([
80
80
  (0, swagger_1.ApiProperty)(),
81
81
  __metadata("design:type", String)
82
82
  ], UpdateAgentToolRegistryDto.prototype, "lastLoadError", void 0);
83
+ __decorate([
84
+ (0, class_validator_1.IsOptional)(),
85
+ (0, class_validator_1.IsInt)(),
86
+ (0, swagger_1.ApiProperty)({ required: false }),
87
+ __metadata("design:type", Number)
88
+ ], UpdateAgentToolRegistryDto.prototype, "moduleId", void 0);
89
+ __decorate([
90
+ (0, class_validator_1.IsString)(),
91
+ (0, class_validator_1.IsOptional)(),
92
+ (0, swagger_1.ApiProperty)({ required: false }),
93
+ __metadata("design:type", String)
94
+ ], UpdateAgentToolRegistryDto.prototype, "moduleUserKey", void 0);
83
95
  __decorate([
84
96
  (0, class_validator_1.IsOptional)(),
85
97
  (0, swagger_1.ApiProperty)({ required: false }),
@@ -1 +1 @@
1
- {"version":3,"file":"update-agent-tool-registry.dto.js","sourceRoot":"","sources":["../../src/dtos/update-agent-tool-registry.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,qDAAkG;AAClG,6CAA8C;AAC9C,yDAAyC;AACzC,mEAA6D;AAC7D,yEAAkE;AAElE,MAAa,0BAA0B;;;;CAqFtC;AArFD,gEAqFC;AAlFG;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;sDACG;AAMX;IAJC,IAAA,4BAAU,GAAE;IACZ,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,qBAAW,GAAE;;wDACD;AAMb;IAJC,IAAA,4BAAU,GAAE;IACZ,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,qBAAW,GAAE;;wDACD;AAKb;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,qBAAW,EAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;;4DACf;AAMlB;IAJC,IAAA,4BAAU,GAAE;IACZ,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,qBAAW,GAAE;;+DACM;AAMpB;IAJC,IAAA,4BAAU,GAAE;IACZ,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,qBAAW,GAAE;;8DACK;AAKnB;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,qBAAW,EAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;;4DACf;AAMlB;IAJC,IAAA,4BAAU,GAAE;IACZ,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,qBAAW,GAAE;;0DACC;AAKf;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,qBAAW,GAAE;;iEACQ;AAOtB;IALC,IAAA,4BAAU,GAAE;IACZ,IAAA,qBAAW,EAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAChC,IAAA,yBAAO,GAAE;IACT,IAAA,gCAAc,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;IAC9B,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,+CAAoB,CAAC;;wDACJ;AAO7B;IALC,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,GAAE;IACT,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;IAClB,IAAA,uBAAK,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;IACrB,IAAA,qBAAW,EAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;;2DACf;AAKlB;IAHC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,qBAAW,EAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;;+DACb;AAOpB;IALC,IAAA,4BAAU,GAAE;IACZ,IAAA,qBAAW,GAAE;IACb,IAAA,yBAAO,GAAE;IACT,IAAA,gCAAc,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;IAC9B,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,0CAAkB,CAAC;;8DACE;AAKjC;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,GAAE;IACT,IAAA,qBAAW,GAAE;;iEACU;AAKxB;IAHC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,qBAAW,GAAE;;qEACY","sourcesContent":["import { IsInt,IsOptional, IsString, IsNotEmpty, ValidateNested, IsArray } from 'class-validator';\nimport { ApiProperty } from '@nestjs/swagger';\nimport { Type } from 'class-transformer';\nimport { UpdateAgentToolDto } from './update-agent-tool.dto';\nimport { UpdateAgentHubTagDto } from './update-agent-hub-tag.dto';\n\nexport class UpdateAgentToolRegistryDto {\n @IsOptional()\n @IsInt()\n id: number;\n\n @IsNotEmpty()\n @IsOptional()\n @IsString()\n @ApiProperty()\n name: string;\n\n @IsNotEmpty()\n @IsOptional()\n @IsString()\n @ApiProperty()\n type: string;\n\n @IsOptional()\n @IsString()\n @ApiProperty({ required: false })\n iconName?: string;\n\n @IsNotEmpty()\n @IsOptional()\n @IsString()\n @ApiProperty()\n description: string;\n\n @IsNotEmpty()\n @IsOptional()\n @IsString()\n @ApiProperty()\n sourceCode: string;\n\n @IsOptional()\n @IsString()\n @ApiProperty({ required: false })\n checksum?: string;\n\n @IsNotEmpty()\n @IsOptional()\n @IsString()\n @ApiProperty()\n status: string;\n\n @IsOptional()\n @IsString()\n @ApiProperty()\n lastLoadError: string;\n\n @IsOptional()\n @ApiProperty({ required: false })\n @IsArray()\n @ValidateNested({ each: true })\n @Type(() => UpdateAgentHubTagDto)\n tags: UpdateAgentHubTagDto[];\n\n @IsOptional()\n @IsArray()\n @Type(() => Number)\n @IsInt({ each: true })\n @ApiProperty({ required: false })\n tagsIds: number[];\n\n @IsString()\n @IsOptional()\n @ApiProperty({ required: false })\n tagsCommand: string;\n\n @IsOptional()\n @ApiProperty()\n @IsArray()\n @ValidateNested({ each: true })\n @Type(() => UpdateAgentToolDto)\n agentTools: UpdateAgentToolDto[];\n\n @IsOptional()\n @IsArray()\n @ApiProperty()\n agentToolsIds: number[];\n\n @IsString()\n @IsOptional()\n @ApiProperty()\n agentToolsCommand: string;\n}\n"]}
1
+ {"version":3,"file":"update-agent-tool-registry.dto.js","sourceRoot":"","sources":["../../src/dtos/update-agent-tool-registry.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,qDAAkG;AAClG,6CAA8C;AAC9C,yDAAyC;AACzC,mEAA6D;AAC7D,yEAAkE;AAElE,MAAa,0BAA0B;;;;CA+FtC;AA/FD,gEA+FC;AA5FG;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;sDACG;AAMX;IAJC,IA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AE,KAAK,EAAE,CAAC;IAChC,IAAA,yBAAO,GAAE;IACT,IAAA,gCAAc,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;IAC9B,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,+CAAoB,CAAC;;wDACJ;AAO7B;IALC,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,GAAE;IACT,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;IAClB,IAAA,uBAAK,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;IACrB,IAAA,qBAAW,EAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;;2DACf;AAKlB;IAHC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,qBAAW,EAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;;+DACb;AAOpB;IALC,IAAA,4BAAU,GAAE;IACZ,IAAA,qBAAW,GAAE;IACb,IAAA,yBAAO,GAAE;IACT,IAAA,gCAAc,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;IAC9B,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,0CAAkB,CAAC;;8DACE;AAKjC;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,GAAE;IACT,IAAA,qBAAW,GAAE;;iEACU;AAKxB;IAHC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,qBAAW,GAAE;;qEACY","sourcesContent":["import { IsInt,IsOptional, IsString, IsNotEmpty, ValidateNested, IsArray } from 'class-validator';\nimport { ApiProperty } from '@nestjs/swagger';\nimport { Type } from 'class-transformer';\nimport { UpdateAgentToolDto } from './update-agent-tool.dto';\nimport { UpdateAgentHubTagDto } from './update-agent-hub-tag.dto';\n\nexport class UpdateAgentToolRegistryDto {\n @IsOptional()\n @IsInt()\n id: number;\n\n @IsNotEmpty()\n @IsOptional()\n @IsString()\n @ApiProperty()\n name: string;\n\n @IsNotEmpty()\n @IsOptional()\n @IsString()\n @ApiProperty()\n type: string;\n\n @IsOptional()\n @IsString()\n @ApiProperty({ required: false })\n iconName?: string;\n\n @IsNotEmpty()\n @IsOptional()\n @IsString()\n @ApiProperty()\n description: string;\n\n @IsNotEmpty()\n @IsOptional()\n @IsString()\n @ApiProperty()\n sourceCode: string;\n\n @IsOptional()\n @IsString()\n @ApiProperty({ required: false })\n checksum?: string;\n\n @IsNotEmpty()\n @IsOptional()\n @IsString()\n @ApiProperty()\n status: string;\n\n @IsOptional()\n @IsString()\n @ApiProperty()\n lastLoadError: string;\n\n @IsOptional()\n @IsInt()\n @ApiProperty({ required: false })\n moduleId: number;\n\n @IsString()\n @IsOptional()\n @ApiProperty({ required: false })\n moduleUserKey: string;\n\n @IsOptional()\n @ApiProperty({ required: false })\n @IsArray()\n @ValidateNested({ each: true })\n @Type(() => UpdateAgentHubTagDto)\n tags: UpdateAgentHubTagDto[];\n\n @IsOptional()\n @IsArray()\n @Type(() => Number)\n @IsInt({ each: true })\n @ApiProperty({ required: false })\n tagsIds: number[];\n\n @IsString()\n @IsOptional()\n @ApiProperty({ required: false })\n tagsCommand: string;\n\n @IsOptional()\n @ApiProperty()\n @IsArray()\n @ValidateNested({ each: true })\n @Type(() => UpdateAgentToolDto)\n agentTools: UpdateAgentToolDto[];\n\n @IsOptional()\n @IsArray()\n @ApiProperty()\n agentToolsIds: number[];\n\n @IsString()\n @IsOptional()\n @ApiProperty()\n agentToolsCommand: string;\n}\n"]}
@@ -0,0 +1,9 @@
1
+ export declare class UpdateAgentUserMemoryDto {
2
+ id?: number;
3
+ userId?: number;
4
+ agentId?: number;
5
+ memory?: string;
6
+ type?: 'explicit' | 'implicit';
7
+ sessionId?: number;
8
+ }
9
+ //# sourceMappingURL=update-agent-user-memory.dto.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update-agent-user-memory.dto.d.ts","sourceRoot":"","sources":["../../src/dtos/update-agent-user-memory.dto.ts"],"names":[],"mappings":"AAGA,qBAAa,wBAAwB;IACsB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,OAAO,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;IACoC,IAAI,CAAC,EAAE,UAAU,GAAG,UAAU,CAAC;IACtF,SAAS,CAAC,EAAE,MAAM,CAAC;CAC7E"}
@@ -0,0 +1,58 @@
1
+ "use strict";
2
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7
+ };
8
+ var __metadata = (this && this.__metadata) || function (k, v) {
9
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
+ };
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.UpdateAgentUserMemoryDto = void 0;
13
+ const openapi = require("@nestjs/swagger");
14
+ const swagger_1 = require("@nestjs/swagger");
15
+ const class_validator_1 = require("class-validator");
16
+ class UpdateAgentUserMemoryDto {
17
+ static _OPENAPI_METADATA_FACTORY() {
18
+ return { id: { required: false, type: () => Number }, userId: { required: false, type: () => Number }, agentId: { required: false, type: () => Number }, memory: { required: false, type: () => String }, type: { required: false, type: () => Object, enum: ['explicit', 'implicit'] }, sessionId: { required: false, type: () => Number } };
19
+ }
20
+ }
21
+ exports.UpdateAgentUserMemoryDto = UpdateAgentUserMemoryDto;
22
+ __decorate([
23
+ (0, class_validator_1.IsOptional)(),
24
+ (0, class_validator_1.IsInt)(),
25
+ (0, swagger_1.ApiProperty)({ required: false }),
26
+ __metadata("design:type", Number)
27
+ ], UpdateAgentUserMemoryDto.prototype, "id", void 0);
28
+ __decorate([
29
+ (0, class_validator_1.IsOptional)(),
30
+ (0, class_validator_1.IsInt)(),
31
+ (0, swagger_1.ApiProperty)({ required: false }),
32
+ __metadata("design:type", Number)
33
+ ], UpdateAgentUserMemoryDto.prototype, "userId", void 0);
34
+ __decorate([
35
+ (0, class_validator_1.IsOptional)(),
36
+ (0, class_validator_1.IsInt)(),
37
+ (0, swagger_1.ApiProperty)({ required: false }),
38
+ __metadata("design:type", Number)
39
+ ], UpdateAgentUserMemoryDto.prototype, "agentId", void 0);
40
+ __decorate([
41
+ (0, class_validator_1.IsOptional)(),
42
+ (0, class_validator_1.IsString)(),
43
+ (0, swagger_1.ApiProperty)({ required: false }),
44
+ __metadata("design:type", String)
45
+ ], UpdateAgentUserMemoryDto.prototype, "memory", void 0);
46
+ __decorate([
47
+ (0, class_validator_1.IsOptional)(),
48
+ (0, class_validator_1.IsIn)(['explicit', 'implicit']),
49
+ (0, swagger_1.ApiProperty)({ enum: ['explicit', 'implicit'], required: false }),
50
+ __metadata("design:type", String)
51
+ ], UpdateAgentUserMemoryDto.prototype, "type", void 0);
52
+ __decorate([
53
+ (0, class_validator_1.IsOptional)(),
54
+ (0, class_validator_1.IsInt)(),
55
+ (0, swagger_1.ApiProperty)({ required: false }),
56
+ __metadata("design:type", Number)
57
+ ], UpdateAgentUserMemoryDto.prototype, "sessionId", void 0);
58
+ //# sourceMappingURL=update-agent-user-memory.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update-agent-user-memory.dto.js","sourceRoot":"","sources":["../../src/dtos/update-agent-user-memory.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,6CAA8C;AAC9C,qDAAoE;AAEpE,MAAa,wBAAwB;;qQAKf,CAAC,UAAU,EAAE,UAAU,CAAC;;CAE7C;AAPD,4DAOC;AAN0D;IAAxD,IAAA,4BAAU,GAAE;IAAE,IAAA,uBAAK,GAAE;IAAE,IAAA,qBAAW,EAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;;oDAAa;AACZ;IAAxD,IAAA,4BAAU,GAAE;IAAE,IAAA,uBAAK,GAAE;IAAE,IAAA,qBAAW,EAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;;wDAAiB;AAChB;IAAxD,IAAA,4BAAU,GAAE;IAAE,IAAA,uBAAK,GAAE;IAAE,IAAA,qBAAW,EAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;;yDAAkB;AACd;IAA3D,IAAA,4BAAU,GAAE;IAAE,IAAA,0BAAQ,GAAE;IAAE,IAAA,qBAAW,EAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;;wDAAiB;AACoC;IAA/G,IAAA,4BAAU,GAAE;IAAE,IAAA,sBAAI,EAAC,CAAC,UAAU,EAAE,UAAU,CAAC,CAAC;IAAE,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,CAAC,UAAU,EAAE,UAAU,CAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;;sDAAgC;AACtF;IAAxD,IAAA,4BAAU,GAAE;IAAE,IAAA,uBAAK,GAAE;IAAE,IAAA,qBAAW,EAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;;2DAAoB","sourcesContent":["import { ApiProperty } from '@nestjs/swagger';\nimport { IsIn, IsInt, IsOptional, IsString } from 'class-validator';\n\nexport class UpdateAgentUserMemoryDto {\n @IsOptional() @IsInt() @ApiProperty({ required: false }) id?: number;\n @IsOptional() @IsInt() @ApiProperty({ required: false }) userId?: number;\n @IsOptional() @IsInt() @ApiProperty({ required: false }) agentId?: number;\n @IsOptional() @IsString() @ApiProperty({ required: false }) memory?: string;\n @IsOptional() @IsIn(['explicit', 'implicit']) @ApiProperty({ enum: ['explicit', 'implicit'], required: false }) type?: 'explicit' | 'implicit';\n @IsOptional() @IsInt() @ApiProperty({ required: false }) sessionId?: number;\n}\n"]}
@@ -1,5 +1,7 @@
1
1
  export declare class UpdateSecretDto {
2
2
  id: number;
3
+ moduleId: number;
4
+ moduleUserKey: string;
3
5
  key: string;
4
6
  displayName: string;
5
7
  description: string;
@@ -1 +1 @@
1
- {"version":3,"file":"update-secret.dto.d.ts","sourceRoot":"","sources":["../../src/dtos/update-secret.dto.ts"],"names":[],"mappings":"AAGA,qBAAa,eAAe;IAGxB,EAAE,EAAE,MAAM,CAAC;IAMX,GAAG,EAAE,MAAM,CAAC;IAMZ,WAAW,EAAE,MAAM,CAAC;IAKpB,WAAW,EAAE,MAAM,CAAC;IAMpB,KAAK,EAAE,MAAM,CAAC;IAKd,MAAM,EAAE,OAAO,CAAC;IAMhB,SAAS,EAAE,MAAM,CAAC;IAMlB,MAAM,EAAE,MAAM,CAAC;IAKf,aAAa,EAAE,IAAI,CAAC;IAKpB,cAAc,EAAE,IAAI,CAAC;CACxB"}
1
+ {"version":3,"file":"update-secret.dto.d.ts","sourceRoot":"","sources":["../../src/dtos/update-secret.dto.ts"],"names":[],"mappings":"AAGA,qBAAa,eAAe;IAGxB,EAAE,EAAE,MAAM,CAAC;IAKX,QAAQ,EAAE,MAAM,CAAC;IAKjB,aAAa,EAAE,MAAM,CAAC;IAMtB,GAAG,EAAE,MAAM,CAAC;IAMZ,WAAW,EAAE,MAAM,CAAC;IAKpB,WAAW,EAAE,MAAM,CAAC;IAMpB,KAAK,EAAE,MAAM,CAAC;IAKd,MAAM,EAAE,OAAO,CAAC;IAMhB,SAAS,EAAE,MAAM,CAAC;IAMlB,MAAM,EAAE,MAAM,CAAC;IAKf,aAAa,EAAE,IAAI,CAAC;IAKpB,cAAc,EAAE,IAAI,CAAC;CACxB"}
@@ -15,7 +15,7 @@ const swagger_1 = require("@nestjs/swagger");
15
15
  const class_validator_1 = require("class-validator");
16
16
  class UpdateSecretDto {
17
17
  static _OPENAPI_METADATA_FACTORY() {
18
- return { id: { required: true, type: () => Number }, key: { required: true, type: () => String }, displayName: { required: true, type: () => String }, description: { required: true, type: () => String }, value: { required: true, type: () => String }, redact: { required: true, type: () => Boolean }, valueType: { required: true, type: () => String }, status: { required: true, type: () => String }, lastRotatedAt: { required: true, type: () => Date }, lastAccessedAt: { required: true, type: () => Date } };
18
+ return { id: { required: true, type: () => Number }, moduleId: { required: true, type: () => Number }, moduleUserKey: { required: true, type: () => String }, key: { required: true, type: () => String }, displayName: { required: true, type: () => String }, description: { required: true, type: () => String }, value: { required: true, type: () => String }, redact: { required: true, type: () => Boolean }, valueType: { required: true, type: () => String }, status: { required: true, type: () => String }, lastRotatedAt: { required: true, type: () => Date }, lastAccessedAt: { required: true, type: () => Date } };
19
19
  }
20
20
  }
21
21
  exports.UpdateSecretDto = UpdateSecretDto;
@@ -24,6 +24,18 @@ __decorate([
24
24
  (0, class_validator_1.IsInt)(),
25
25
  __metadata("design:type", Number)
26
26
  ], UpdateSecretDto.prototype, "id", void 0);
27
+ __decorate([
28
+ (0, class_validator_1.IsOptional)(),
29
+ (0, class_validator_1.IsInt)(),
30
+ (0, swagger_1.ApiProperty)({ required: false }),
31
+ __metadata("design:type", Number)
32
+ ], UpdateSecretDto.prototype, "moduleId", void 0);
33
+ __decorate([
34
+ (0, class_validator_1.IsOptional)(),
35
+ (0, class_validator_1.IsString)(),
36
+ (0, swagger_1.ApiProperty)({ required: false }),
37
+ __metadata("design:type", String)
38
+ ], UpdateSecretDto.prototype, "moduleUserKey", void 0);
27
39
  __decorate([
28
40
  (0, class_validator_1.IsNotEmpty)(),
29
41
  (0, class_validator_1.IsOptional)(),