@solidxai/core 0.1.20 → 0.1.21-beta.0

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 (186) hide show
  1. package/CHANGELOG.md +17 -0
  2. package/dist/dtos/create-agent-hub-tag.dto.d.ts +2 -0
  3. package/dist/dtos/create-agent-hub-tag.dto.d.ts.map +1 -1
  4. package/dist/dtos/create-agent-hub-tag.dto.js +13 -1
  5. package/dist/dtos/create-agent-hub-tag.dto.js.map +1 -1
  6. package/dist/dtos/create-agent-registry.dto.d.ts +2 -0
  7. package/dist/dtos/create-agent-registry.dto.d.ts.map +1 -1
  8. package/dist/dtos/create-agent-registry.dto.js +13 -1
  9. package/dist/dtos/create-agent-registry.dto.js.map +1 -1
  10. package/dist/dtos/create-agent-skill-registry.dto.d.ts +2 -0
  11. package/dist/dtos/create-agent-skill-registry.dto.d.ts.map +1 -1
  12. package/dist/dtos/create-agent-skill-registry.dto.js +13 -1
  13. package/dist/dtos/create-agent-skill-registry.dto.js.map +1 -1
  14. package/dist/dtos/create-agent-tool-registry.dto.d.ts +2 -0
  15. package/dist/dtos/create-agent-tool-registry.dto.d.ts.map +1 -1
  16. package/dist/dtos/create-agent-tool-registry.dto.js +13 -1
  17. package/dist/dtos/create-agent-tool-registry.dto.js.map +1 -1
  18. package/dist/dtos/update-agent-hub-tag.dto.d.ts +2 -0
  19. package/dist/dtos/update-agent-hub-tag.dto.d.ts.map +1 -1
  20. package/dist/dtos/update-agent-hub-tag.dto.js +13 -1
  21. package/dist/dtos/update-agent-hub-tag.dto.js.map +1 -1
  22. package/dist/dtos/update-agent-registry.dto.d.ts +2 -0
  23. package/dist/dtos/update-agent-registry.dto.d.ts.map +1 -1
  24. package/dist/dtos/update-agent-registry.dto.js +13 -1
  25. package/dist/dtos/update-agent-registry.dto.js.map +1 -1
  26. package/dist/dtos/update-agent-skill-registry.dto.d.ts +2 -0
  27. package/dist/dtos/update-agent-skill-registry.dto.d.ts.map +1 -1
  28. package/dist/dtos/update-agent-skill-registry.dto.js +13 -1
  29. package/dist/dtos/update-agent-skill-registry.dto.js.map +1 -1
  30. package/dist/dtos/update-agent-tool-registry.dto.d.ts +2 -0
  31. package/dist/dtos/update-agent-tool-registry.dto.d.ts.map +1 -1
  32. package/dist/dtos/update-agent-tool-registry.dto.js +13 -1
  33. package/dist/dtos/update-agent-tool-registry.dto.js.map +1 -1
  34. package/dist/entities/agent-hub-tag.entity.d.ts +2 -0
  35. package/dist/entities/agent-hub-tag.entity.d.ts.map +1 -1
  36. package/dist/entities/agent-hub-tag.entity.js +8 -1
  37. package/dist/entities/agent-hub-tag.entity.js.map +1 -1
  38. package/dist/entities/agent-registry.entity.d.ts +2 -0
  39. package/dist/entities/agent-registry.entity.d.ts.map +1 -1
  40. package/dist/entities/agent-registry.entity.js +8 -1
  41. package/dist/entities/agent-registry.entity.js.map +1 -1
  42. package/dist/entities/agent-skill-registry.entity.d.ts +2 -0
  43. package/dist/entities/agent-skill-registry.entity.d.ts.map +1 -1
  44. package/dist/entities/agent-skill-registry.entity.js +8 -1
  45. package/dist/entities/agent-skill-registry.entity.js.map +1 -1
  46. package/dist/entities/agent-skill.entity.d.ts +1 -0
  47. package/dist/entities/agent-skill.entity.d.ts.map +1 -1
  48. package/dist/entities/agent-skill.entity.js +5 -1
  49. package/dist/entities/agent-skill.entity.js.map +1 -1
  50. package/dist/entities/agent-tool-registry.entity.d.ts +2 -0
  51. package/dist/entities/agent-tool-registry.entity.d.ts.map +1 -1
  52. package/dist/entities/agent-tool-registry.entity.js +8 -1
  53. package/dist/entities/agent-tool-registry.entity.js.map +1 -1
  54. package/dist/entities/agent-tool.entity.d.ts +1 -0
  55. package/dist/entities/agent-tool.entity.d.ts.map +1 -1
  56. package/dist/entities/agent-tool.entity.js +5 -1
  57. package/dist/entities/agent-tool.entity.js.map +1 -1
  58. package/dist/helpers/bootstrap.helper.d.ts.map +1 -1
  59. package/dist/helpers/bootstrap.helper.js +28 -0
  60. package/dist/helpers/bootstrap.helper.js.map +1 -1
  61. package/dist/helpers/module-metadata-helper.service.js +2 -2
  62. package/dist/helpers/module-metadata-helper.service.js.map +1 -1
  63. package/dist/resources/agent-embed/solid-agent-embed.js +283 -75
  64. package/dist/seeders/module-metadata-agenthub.spec.d.ts +2 -0
  65. package/dist/seeders/module-metadata-agenthub.spec.d.ts.map +1 -0
  66. package/dist/seeders/module-metadata-agenthub.spec.js +62 -0
  67. package/dist/seeders/module-metadata-agenthub.spec.js.map +1 -0
  68. package/dist/seeders/module-metadata-seeder.service.d.ts +8 -0
  69. package/dist/seeders/module-metadata-seeder.service.d.ts.map +1 -1
  70. package/dist/seeders/module-metadata-seeder.service.js +176 -0
  71. package/dist/seeders/module-metadata-seeder.service.js.map +1 -1
  72. package/dist/seeders/seed-data/solid-core-metadata.json +216 -18
  73. package/dist/services/agent-config-version.service.d.ts +9 -0
  74. package/dist/services/agent-config-version.service.d.ts.map +1 -1
  75. package/dist/services/agent-config-version.service.js +13 -0
  76. package/dist/services/agent-config-version.service.js.map +1 -1
  77. package/dist/services/agent-hub-tag.service.d.ts +4 -0
  78. package/dist/services/agent-hub-tag.service.d.ts.map +1 -1
  79. package/dist/services/agent-hub-tag.service.js +65 -2
  80. package/dist/services/agent-hub-tag.service.js.map +1 -1
  81. package/dist/services/agent-registry.service.d.ts +1 -0
  82. package/dist/services/agent-registry.service.d.ts.map +1 -1
  83. package/dist/services/agent-registry.service.js +12 -2
  84. package/dist/services/agent-registry.service.js.map +1 -1
  85. package/dist/services/file/disk-file.service.d.ts.map +1 -1
  86. package/dist/services/file/disk-file.service.js +6 -1
  87. package/dist/services/file/disk-file.service.js.map +1 -1
  88. package/dist/services/file/index.d.ts +1 -0
  89. package/dist/services/file/index.d.ts.map +1 -1
  90. package/dist/services/file/index.js +1 -0
  91. package/dist/services/file/index.js.map +1 -1
  92. package/dist/services/file/media-storage-paths.d.ts +8 -0
  93. package/dist/services/file/media-storage-paths.d.ts.map +1 -0
  94. package/dist/services/file/media-storage-paths.js +78 -0
  95. package/dist/services/file/media-storage-paths.js.map +1 -0
  96. package/dist/services/file/storage-path-builder.d.ts +0 -2
  97. package/dist/services/file/storage-path-builder.d.ts.map +1 -1
  98. package/dist/services/file/storage-path-builder.js +3 -44
  99. package/dist/services/file/storage-path-builder.js.map +1 -1
  100. package/dist/services/media-storage.utils.d.ts +1 -1
  101. package/dist/services/media-storage.utils.d.ts.map +1 -1
  102. package/dist/services/media-storage.utils.js +3 -43
  103. package/dist/services/media-storage.utils.js.map +1 -1
  104. package/dist/services/module-metadata.service.d.ts +0 -1
  105. package/dist/services/module-metadata.service.d.ts.map +1 -1
  106. package/dist/services/module-metadata.service.js +7 -15
  107. package/dist/services/module-metadata.service.js.map +1 -1
  108. package/dist/services/settings/default-settings-provider.service.d.ts +22 -2
  109. package/dist/services/settings/default-settings-provider.service.d.ts.map +1 -1
  110. package/dist/services/settings/default-settings-provider.service.js +12 -1
  111. package/dist/services/settings/default-settings-provider.service.js.map +1 -1
  112. package/dist/solid-core.module.d.ts.map +1 -1
  113. package/dist/solid-core.module.js +15 -2
  114. package/dist/solid-core.module.js.map +1 -1
  115. package/dist/subscribers/agent-hub-tag.subscriber.d.ts +19 -0
  116. package/dist/subscribers/agent-hub-tag.subscriber.d.ts.map +1 -0
  117. package/dist/subscribers/agent-hub-tag.subscriber.js +197 -0
  118. package/dist/subscribers/agent-hub-tag.subscriber.js.map +1 -0
  119. package/dist/subscribers/agent-registry-subscribers.spec.d.ts +2 -0
  120. package/dist/subscribers/agent-registry-subscribers.spec.d.ts.map +1 -0
  121. package/dist/subscribers/agent-registry-subscribers.spec.js +104 -0
  122. package/dist/subscribers/agent-registry-subscribers.spec.js.map +1 -0
  123. package/dist/subscribers/agent-registry.subscriber.d.ts +24 -0
  124. package/dist/subscribers/agent-registry.subscriber.d.ts.map +1 -0
  125. package/dist/subscribers/agent-registry.subscriber.js +229 -0
  126. package/dist/subscribers/agent-registry.subscriber.js.map +1 -0
  127. package/dist/subscribers/agent-skill-registry.subscriber.d.ts +19 -0
  128. package/dist/subscribers/agent-skill-registry.subscriber.d.ts.map +1 -0
  129. package/dist/subscribers/agent-skill-registry.subscriber.js +199 -0
  130. package/dist/subscribers/agent-skill-registry.subscriber.js.map +1 -0
  131. package/dist/subscribers/agent-skill.subscriber.d.ts +13 -0
  132. package/dist/subscribers/agent-skill.subscriber.d.ts.map +1 -0
  133. package/dist/subscribers/agent-skill.subscriber.js +61 -0
  134. package/dist/subscribers/agent-skill.subscriber.js.map +1 -0
  135. package/dist/subscribers/agent-tool-registry.subscriber.d.ts +19 -0
  136. package/dist/subscribers/agent-tool-registry.subscriber.d.ts.map +1 -0
  137. package/dist/subscribers/agent-tool-registry.subscriber.js +201 -0
  138. package/dist/subscribers/agent-tool-registry.subscriber.js.map +1 -0
  139. package/dist/subscribers/agent-tool.subscriber.d.ts +13 -0
  140. package/dist/subscribers/agent-tool.subscriber.d.ts.map +1 -0
  141. package/dist/subscribers/agent-tool.subscriber.js +61 -0
  142. package/dist/subscribers/agent-tool.subscriber.js.map +1 -0
  143. package/dist/subscribers/agenthub-metadata-sync.util.d.ts +16 -0
  144. package/dist/subscribers/agenthub-metadata-sync.util.d.ts.map +1 -0
  145. package/dist/subscribers/agenthub-metadata-sync.util.js +77 -0
  146. package/dist/subscribers/agenthub-metadata-sync.util.js.map +1 -0
  147. package/package.json +1 -1
  148. package/resources/agent-embed/solid-agent-embed.js +283 -75
  149. package/src/dtos/create-agent-hub-tag.dto.ts +10 -0
  150. package/src/dtos/create-agent-registry.dto.ts +10 -0
  151. package/src/dtos/create-agent-skill-registry.dto.ts +10 -0
  152. package/src/dtos/create-agent-tool-registry.dto.ts +10 -0
  153. package/src/dtos/update-agent-hub-tag.dto.ts +10 -0
  154. package/src/dtos/update-agent-registry.dto.ts +10 -0
  155. package/src/dtos/update-agent-skill-registry.dto.ts +10 -0
  156. package/src/dtos/update-agent-tool-registry.dto.ts +10 -0
  157. package/src/entities/agent-hub-tag.entity.ts +7 -1
  158. package/src/entities/agent-registry.entity.ts +7 -1
  159. package/src/entities/agent-skill-registry.entity.ts +7 -1
  160. package/src/entities/agent-skill.entity.ts +4 -1
  161. package/src/entities/agent-tool-registry.entity.ts +7 -1
  162. package/src/entities/agent-tool.entity.ts +4 -1
  163. package/src/helpers/bootstrap.helper.ts +36 -3
  164. package/src/helpers/module-metadata-helper.service.ts +2 -2
  165. package/src/seeders/module-metadata-agenthub.spec.ts +65 -0
  166. package/src/seeders/module-metadata-seeder.service.ts +180 -0
  167. package/src/seeders/seed-data/solid-core-metadata.json +216 -18
  168. package/src/services/agent-config-version.service.ts +28 -3
  169. package/src/services/agent-hub-tag.service.ts +81 -2
  170. package/src/services/agent-registry.service.ts +17 -1
  171. package/src/services/file/disk-file.service.ts +6 -1
  172. package/src/services/file/index.ts +1 -0
  173. package/src/services/file/media-storage-paths.ts +50 -0
  174. package/src/services/file/storage-path-builder.ts +2 -12
  175. package/src/services/media-storage.utils.ts +10 -16
  176. package/src/services/module-metadata.service.ts +7 -17
  177. package/src/services/settings/default-settings-provider.service.ts +12 -1
  178. package/src/solid-core.module.ts +16 -3
  179. package/src/subscribers/agent-hub-tag.subscriber.ts +149 -0
  180. package/src/subscribers/agent-registry-subscribers.spec.ts +71 -0
  181. package/src/subscribers/agent-registry.subscriber.ts +182 -0
  182. package/src/subscribers/agent-skill-registry.subscriber.ts +144 -0
  183. package/src/subscribers/agent-skill.subscriber.ts +46 -0
  184. package/src/subscribers/agent-tool-registry.subscriber.ts +146 -0
  185. package/src/subscribers/agent-tool.subscriber.ts +46 -0
  186. package/src/subscribers/agenthub-metadata-sync.util.ts +51 -0
package/CHANGELOG.md CHANGED
@@ -1,5 +1,22 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.1.21-beta.0] - 2026-10-15
4
+
5
+ ### Added
6
+
7
+ - upgrade SolidAgentEmbed to version 4 with enhanced context handling and event management
8
+ - enhance agent and tool metadata synchronization
9
+ - add agent registry, tool, and skill subscribers with metadata synchronization
10
+
11
+ ### Fixed
12
+
13
+ - improve mode handling and refactor control button creation in agent embed SDK
14
+
15
+ ### Other
16
+
17
+ - Feat/media storage root (#196)
18
+ - New tab op changes (#193)
19
+
3
20
  ## [0.1.20] - 2026-10-14
4
21
 
5
22
  ### Added
@@ -3,6 +3,8 @@ import { UpdateAgentToolRegistryDto } from './update-agent-tool-registry.dto';
3
3
  import { UpdateAgentRegistryDto } from './update-agent-registry.dto';
4
4
  export declare class CreateAgentHubTagDto {
5
5
  name: string;
6
+ moduleId: number;
7
+ moduleUserKey: string;
6
8
  skills: UpdateAgentSkillRegistryDto[];
7
9
  skillsIds: number[];
8
10
  skillsCommand: string;
@@ -1 +1 @@
1
- {"version":3,"file":"create-agent-hub-tag.dto.d.ts","sourceRoot":"","sources":["../../src/dtos/create-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;IAI7B,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":"create-agent-hub-tag.dto.d.ts","sourceRoot":"","sources":["../../src/dtos/create-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;IAI7B,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 CreateAgentHubTagDto {
21
21
  static _OPENAPI_METADATA_FACTORY() {
22
- return { 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 { 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.CreateAgentHubTagDto = CreateAgentHubTagDto;
@@ -29,6 +29,18 @@ __decorate([
29
29
  (0, swagger_1.ApiProperty)(),
30
30
  __metadata("design:type", String)
31
31
  ], CreateAgentHubTagDto.prototype, "name", void 0);
32
+ __decorate([
33
+ (0, class_validator_1.IsOptional)(),
34
+ (0, class_validator_1.IsInt)(),
35
+ (0, swagger_1.ApiProperty)({ required: false }),
36
+ __metadata("design:type", Number)
37
+ ], CreateAgentHubTagDto.prototype, "moduleId", void 0);
38
+ __decorate([
39
+ (0, class_validator_1.IsOptional)(),
40
+ (0, class_validator_1.IsString)(),
41
+ (0, swagger_1.ApiProperty)({ required: false }),
42
+ __metadata("design:type", String)
43
+ ], CreateAgentHubTagDto.prototype, "moduleUserKey", void 0);
32
44
  __decorate([
33
45
  (0, class_validator_1.IsOptional)(),
34
46
  (0, class_validator_1.IsArray)(),
@@ -1 +1 @@
1
- {"version":3,"file":"create-agent-hub-tag.dto.js","sourceRoot":"","sources":["../../src/dtos/create-agent-hub-tag.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,6CAA8C;AAC9C,yDAAyC;AACzC,qDAAmG;AACnG,uFAAgF;AAChF,qFAA8E;AAC9E,2EAAqE;AAErE,MAAa,oBAAoB;;;;CA8DhC;AA9DD,oDA8DC;AA1DG;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,qBAAW,GAAE;;kDACD;AAOb;IALC,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,GAAE;IACT,IAAA,gCAAc,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CA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C;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 CreateAgentHubTagDto {\n @IsNotEmpty()\n @IsString()\n @ApiProperty()\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":"create-agent-hub-tag.dto.js","sourceRoot":"","sources":["../../src/dtos/create-agent-hub-tag.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,6CAA8C;AAC9C,yDAAyC;AACzC,qDAAmG;AACnG,uFAAgF;AAChF,qFAA8E;AAC9E,2EAAqE;AAErE,MAAa,oBAAoB;;;;CAwEhC;AAxED,oDAwEC;AApEG;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,qBAAW,GAAE;;kDACD;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,QAAQ,EAAE,KAAK,EAAE,CAAC;;2DACX;AAOtB;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,6DAA2B,CAAC;IACvC,IAAA,qBAAW,EAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;;oDACK;AAOtC;IALC,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,GAAE;IACT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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 CreateAgentHubTagDto {\n @IsNotEmpty()\n @IsString()\n @ApiProperty()\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"]}
@@ -20,6 +20,8 @@ export declare class CreateAgentRegistryDto {
20
20
  turnStepLimit: number;
21
21
  costLimit: number;
22
22
  configVersion?: number;
23
+ moduleId: number;
24
+ moduleUserKey: string;
23
25
  tags: UpdateAgentHubTagDto[];
24
26
  tagsIds: number[];
25
27
  tagsCommand: string;
@@ -1 +1 @@
1
- {"version":3,"file":"create-agent-registry.dto.d.ts","sourceRoot":"","sources":["../../src/dtos/create-agent-registry.dto.ts"],"names":[],"mappings":"AAIA,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,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AACnE,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAC3D,OAAO,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAElE,qBAAa,sBAAsB;IAI/B,IAAI,EAAE,MAAM,CAAC;IAKb,KAAK,EAAE,MAAM,CAAC;IAKd,WAAW,CAAC,EAAE,MAAM,CAAC;IAKrB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAKlB,YAAY,EAAE,MAAM,CAAC;IAKrB,cAAc,EAAE,MAAM,CAAQ;IAK9B,iBAAiB,EAAE,MAAM,CAAC;IA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,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"}
@@ -30,7 +30,7 @@ class CreateAgentRegistryDto {
30
30
  this.costLimit = 3;
31
31
  }
32
32
  static _OPENAPI_METADATA_FACTORY() {
33
- return { 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, default: "[]" }, reasoningModelKey: { required: true, type: () => String }, fastModelKey: { required: true, type: () => String }, status: { required: true, type: () => String, default: "draft" }, stepLimit: { required: true, type: () => Number }, turnStepLimit: { required: true, type: () => Number }, costLimit: { required: true, type: () => Number, default: 3 }, 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 } };
33
+ return { 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, default: "[]" }, reasoningModelKey: { required: true, type: () => String }, fastModelKey: { required: true, type: () => String }, status: { required: true, type: () => String, default: "draft" }, stepLimit: { required: true, type: () => Number }, turnStepLimit: { required: true, type: () => Number }, costLimit: { required: true, type: () => Number, default: 3 }, 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 } };
34
34
  }
35
35
  }
36
36
  exports.CreateAgentRegistryDto = CreateAgentRegistryDto;
@@ -112,6 +112,18 @@ __decorate([
112
112
  (0, swagger_1.ApiProperty)({ required: false }),
113
113
  __metadata("design:type", Number)
114
114
  ], CreateAgentRegistryDto.prototype, "configVersion", void 0);
115
+ __decorate([
116
+ (0, class_validator_2.IsOptional)(),
117
+ (0, class_validator_2.IsInt)(),
118
+ (0, swagger_1.ApiProperty)({ required: false }),
119
+ __metadata("design:type", Number)
120
+ ], CreateAgentRegistryDto.prototype, "moduleId", void 0);
121
+ __decorate([
122
+ (0, class_validator_1.IsString)(),
123
+ (0, class_validator_2.IsOptional)(),
124
+ (0, swagger_1.ApiProperty)({ required: false }),
125
+ __metadata("design:type", String)
126
+ ], CreateAgentRegistryDto.prototype, "moduleUserKey", void 0);
115
127
  __decorate([
116
128
  (0, class_validator_2.IsOptional)(),
117
129
  (0, swagger_1.ApiProperty)({ required: false }),
@@ -1 +1 @@
1
- {"version":3,"file":"create-agent-registry.dto.js","sourceRoot":"","sources":["../../src/dtos/create-agent-registry.dto.ts"],"names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GAAE;IACZ,IAAA,qBAAW,GAAE;;gEACW","sourcesContent":["import { ApiProperty } from '@nestjs/swagger';\nimport { IsString } from 'class-validator';\nimport { IsNotEmpty, IsJSON, IsInt, IsNumber, ValidateNested, IsArray, IsOptional } from 'class-validator';\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 CreateAgentRegistryDto {\n @IsNotEmpty()\n @IsString()\n @ApiProperty()\n name: string;\n\n @IsNotEmpty()\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 @IsString()\n @ApiProperty()\n systemPrompt: string;\n\n @IsNotEmpty()\n @IsString()\n @ApiProperty()\n requiredInputs: string = \"[]\";\n\n @IsNotEmpty()\n @IsString()\n @ApiProperty()\n reasoningModelKey: string;\n\n @IsNotEmpty()\n @IsString()\n @ApiProperty()\n fastModelKey: string;\n\n @IsNotEmpty()\n @IsString()\n @ApiProperty()\n status: string = \"draft\";\n\n @IsNotEmpty()\n @IsInt()\n @ApiProperty()\n stepLimit: number;\n\n @IsNotEmpty()\n @IsInt()\n @ApiProperty()\n turnStepLimit: number;\n\n @IsNotEmpty()\n @IsNumber()\n @ApiProperty()\n costLimit: number = 3;\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":"create-agent-registry.dto.js","sourceRoot":"","sources":["../../src/dtos/create-agent-registry.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,6CAA8C;AAC9C,qDAA2C;AAC3C,qDAA2G;AAC3G,yDAAyC;AACzC,mEAA6D;AAC7D,qEAA+D;AAC/D,mEAA6D;AAC7D,uEAAiE;AACjE,yEAAmE;AACnE,yEAAmE;AACnE,iEAA2D;AAC3D,yEAAkE;AAElE,MAAa,sBAAsB;IAAnC;QA6BI,mBAAc,GAAW,IAAI,CAAC;QAe9B,WAAM,GAAW,OAAO,CAAC;QAezB,cAAS,GAAW,CAAC,CAAC;KA0JzB;;;;CAAA;AArND,wDAqNC;AAjNG;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,qBAAW,GAAE;;oDACD;AAKb;IAHC,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,qBAAW,EAAC,EAAE,QAAQ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,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,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 { ApiProperty } from '@nestjs/swagger';\nimport { IsString } from 'class-validator';\nimport { IsNotEmpty, IsJSON, IsInt, IsNumber, ValidateNested, IsArray, IsOptional } from 'class-validator';\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 CreateAgentRegistryDto {\n @IsNotEmpty()\n @IsString()\n @ApiProperty()\n name: string;\n\n @IsNotEmpty()\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 @IsString()\n @ApiProperty()\n systemPrompt: string;\n\n @IsNotEmpty()\n @IsString()\n @ApiProperty()\n requiredInputs: string = \"[]\";\n\n @IsNotEmpty()\n @IsString()\n @ApiProperty()\n reasoningModelKey: string;\n\n @IsNotEmpty()\n @IsString()\n @ApiProperty()\n fastModelKey: string;\n\n @IsNotEmpty()\n @IsString()\n @ApiProperty()\n status: string = \"draft\";\n\n @IsNotEmpty()\n @IsInt()\n @ApiProperty()\n stepLimit: number;\n\n @IsNotEmpty()\n @IsInt()\n @ApiProperty()\n turnStepLimit: number;\n\n @IsNotEmpty()\n @IsNumber()\n @ApiProperty()\n costLimit: number = 3;\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"]}
@@ -6,6 +6,8 @@ export declare class CreateAgentSkillRegistryDto {
6
6
  iconName?: string;
7
7
  description: string;
8
8
  body: string;
9
+ moduleId: number;
10
+ moduleUserKey: string;
9
11
  tags: UpdateAgentHubTagDto[];
10
12
  tagsIds: number[];
11
13
  tagsCommand: string;
@@ -1 +1 @@
1
- {"version":3,"file":"create-agent-skill-registry.dto.d.ts","sourceRoot":"","sources":["../../src/dtos/create-agent-skill-registry.dto.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAC/D,OAAO,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAElE,qBAAa,2BAA2B;IAIpC,IAAI,EAAE,MAAM,CAAC;IAKb,IAAI,EAAE,MAAM,CAAY;IAKxB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAKlB,WAAW,EAAE,MAAM,CAAC;IAKpB,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":"create-agent-skill-registry.dto.d.ts","sourceRoot":"","sources":["../../src/dtos/create-agent-skill-registry.dto.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAC/D,OAAO,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAElE,qBAAa,2BAA2B;IAIpC,IAAI,EAAE,MAAM,CAAC;IAKb,IAAI,EAAE,MAAM,CAAY;IAKxB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAKlB,WAAW,EAAE,MAAM,CAAC;IAKpB,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"}
@@ -22,7 +22,7 @@ class CreateAgentSkillRegistryDto {
22
22
  this.type = "custom";
23
23
  }
24
24
  static _OPENAPI_METADATA_FACTORY() {
25
- return { name: { required: true, type: () => String }, type: { required: true, type: () => String, default: "custom" }, 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 } };
25
+ return { name: { required: true, type: () => String }, type: { required: true, type: () => String, default: "custom" }, 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 } };
26
26
  }
27
27
  }
28
28
  exports.CreateAgentSkillRegistryDto = CreateAgentSkillRegistryDto;
@@ -56,6 +56,18 @@ __decorate([
56
56
  (0, swagger_1.ApiProperty)(),
57
57
  __metadata("design:type", String)
58
58
  ], CreateAgentSkillRegistryDto.prototype, "body", void 0);
59
+ __decorate([
60
+ (0, class_validator_2.IsOptional)(),
61
+ (0, class_validator_1.IsInt)(),
62
+ (0, swagger_1.ApiProperty)({ required: false }),
63
+ __metadata("design:type", Number)
64
+ ], CreateAgentSkillRegistryDto.prototype, "moduleId", void 0);
65
+ __decorate([
66
+ (0, class_validator_1.IsString)(),
67
+ (0, class_validator_2.IsOptional)(),
68
+ (0, swagger_1.ApiProperty)({ required: false }),
69
+ __metadata("design:type", String)
70
+ ], CreateAgentSkillRegistryDto.prototype, "moduleUserKey", void 0);
59
71
  __decorate([
60
72
  (0, class_validator_2.IsOptional)(),
61
73
  (0, swagger_1.ApiProperty)({ required: false }),
@@ -1 +1 @@
1
- {"version":3,"file":"create-agent-skill-registry.dto.js","sourceRoot":"","sources":["../../src/dtos/create-agent-skill-registry.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,6CAA8C;AAC9C,qDAAkD;AAClD,qDAA0F;AAC1F,yDAAyC;AACzC,qEAA+D;AAC/D,yEAAkE;AAElE,MAAa,2BAA2B;IAAxC;QASI,SAAI,GAAW,QAAQ,CAAC;KAoD3B;;;;CAAA;AA7DD,kEA6DC;AAzDG;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,qBAAW,GAAE;;yDACD;AAKb;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,qBAAW,GAAE;;yDACU;AAKxB;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,qBAAW,EAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;;6DACf;AAKlB;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,qBAAW,GAAE;;gEACM;AAKpB;IAHC,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 { ApiProperty } from '@nestjs/swagger';\nimport { IsInt, IsString } from 'class-validator';\nimport { IsNotEmpty, IsJSON, ValidateNested, IsArray, IsOptional } from 'class-validator';\nimport { Type } from 'class-transformer';\nimport { UpdateAgentSkillDto } from './update-agent-skill.dto';\nimport { UpdateAgentHubTagDto } from './update-agent-hub-tag.dto';\n\nexport class CreateAgentSkillRegistryDto {\n @IsNotEmpty()\n @IsString()\n @ApiProperty()\n name: string;\n\n @IsNotEmpty()\n @IsString()\n @ApiProperty()\n type: string = \"custom\";\n\n @IsOptional()\n @IsString()\n @ApiProperty({ required: false })\n iconName?: string;\n\n @IsNotEmpty()\n @IsString()\n @ApiProperty()\n description: string;\n\n @IsNotEmpty()\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":"create-agent-skill-registry.dto.js","sourceRoot":"","sources":["../../src/dtos/create-agent-skill-registry.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,6CAA8C;AAC9C,qDAAkD;AAClD,qDAA0F;AAC1F,yDAAyC;AACzC,qEAA+D;AAC/D,yEAAkE;AAElE,MAAa,2BAA2B;IAAxC;QASI,SAAI,GAAW,QAAQ,CAAC;KA8D3B;;;;CAAA;AAvED,kEAuEC;AAnEG;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,qBAAW,GAAE;;yDACD;AAKb;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,qBAAW,GAAE;;yDACU;AAKxB;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,qBAAW,EAAC,EAAE,QAAQ,EAAE,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AAI,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 { ApiProperty } from '@nestjs/swagger';\nimport { IsInt, IsString } from 'class-validator';\nimport { IsNotEmpty, IsJSON, ValidateNested, IsArray, IsOptional } from 'class-validator';\nimport { Type } from 'class-transformer';\nimport { UpdateAgentSkillDto } from './update-agent-skill.dto';\nimport { UpdateAgentHubTagDto } from './update-agent-hub-tag.dto';\n\nexport class CreateAgentSkillRegistryDto {\n @IsNotEmpty()\n @IsString()\n @ApiProperty()\n name: string;\n\n @IsNotEmpty()\n @IsString()\n @ApiProperty()\n type: string = \"custom\";\n\n @IsOptional()\n @IsString()\n @ApiProperty({ required: false })\n iconName?: string;\n\n @IsNotEmpty()\n @IsString()\n @ApiProperty()\n description: string;\n\n @IsNotEmpty()\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"]}
@@ -9,6 +9,8 @@ export declare class CreateAgentToolRegistryDto {
9
9
  checksum?: string;
10
10
  status: string;
11
11
  lastLoadError: string;
12
+ moduleId: number;
13
+ moduleUserKey: string;
12
14
  tags: UpdateAgentHubTagDto[];
13
15
  tagsIds: number[];
14
16
  tagsCommand: string;
@@ -1 +1 @@
1
- {"version":3,"file":"create-agent-tool-registry.dto.d.ts","sourceRoot":"","sources":["../../src/dtos/create-agent-tool-registry.dto.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAC7D,OAAO,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAElE,qBAAa,0BAA0B;IAInC,IAAI,EAAE,MAAM,CAAC;IAKb,IAAI,EAAE,MAAM,CAAC;IAKb,QAAQ,CAAC,EAAE,MAAM,CAAC;IAKlB,WAAW,EAAE,MAAM,CAAC;IAKpB,UAAU,EAAE,MAAM,CAAC;IAKnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAKlB,MAAM,EAAE,MAAM,CAAc;IAK5B,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":"create-agent-tool-registry.dto.d.ts","sourceRoot":"","sources":["../../src/dtos/create-agent-tool-registry.dto.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAC7D,OAAO,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAElE,qBAAa,0BAA0B;IAInC,IAAI,EAAE,MAAM,CAAC;IAKb,IAAI,EAAE,MAAM,CAAC;IAKb,QAAQ,CAAC,EAAE,MAAM,CAAC;IAKlB,WAAW,EAAE,MAAM,CAAC;IAKpB,UAAU,EAAE,MAAM,CAAC;IAKnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAKlB,MAAM,EAAE,MAAM,CAAc;IAK5B,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"}
@@ -22,7 +22,7 @@ class CreateAgentToolRegistryDto {
22
22
  this.status = "inactive";
23
23
  }
24
24
  static _OPENAPI_METADATA_FACTORY() {
25
- return { 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, default: "inactive" }, 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 } };
25
+ return { 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, default: "inactive" }, 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 } };
26
26
  }
27
27
  }
28
28
  exports.CreateAgentToolRegistryDto = CreateAgentToolRegistryDto;
@@ -74,6 +74,18 @@ __decorate([
74
74
  (0, swagger_1.ApiProperty)(),
75
75
  __metadata("design:type", String)
76
76
  ], CreateAgentToolRegistryDto.prototype, "lastLoadError", void 0);
77
+ __decorate([
78
+ (0, class_validator_2.IsOptional)(),
79
+ (0, class_validator_1.IsInt)(),
80
+ (0, swagger_1.ApiProperty)({ required: false }),
81
+ __metadata("design:type", Number)
82
+ ], CreateAgentToolRegistryDto.prototype, "moduleId", void 0);
83
+ __decorate([
84
+ (0, class_validator_1.IsString)(),
85
+ (0, class_validator_2.IsOptional)(),
86
+ (0, swagger_1.ApiProperty)({ required: false }),
87
+ __metadata("design:type", String)
88
+ ], CreateAgentToolRegistryDto.prototype, "moduleUserKey", void 0);
77
89
  __decorate([
78
90
  (0, class_validator_2.IsOptional)(),
79
91
  (0, swagger_1.ApiProperty)({ required: false }),
@@ -1 +1 @@
1
- {"version":3,"file":"create-agent-tool-registry.dto.js","sourceRoot":"","sources":["../../src/dtos/create-agent-tool-registry.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,6CAA8C;AAC9C,qDAAkD;AAClD,qDAAkF;AAClF,yDAAyC;AACzC,mEAA6D;AAC7D,yEAAkE;AAElE,MAAa,0BAA0B;IAAvC;QAkCI,WAAM,GAAW,UAAU,CAAC;KA0C/B;;;;CAAA;AA5ED,gEA4EC;AAxEG;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,qBAAW,GAAE;;wDACD;AAKb;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA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K,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 { ApiProperty } from '@nestjs/swagger';\nimport { IsInt, IsString } from 'class-validator';\nimport { IsNotEmpty, IsOptional, ValidateNested, IsArray } from 'class-validator';\nimport { Type } from 'class-transformer';\nimport { UpdateAgentToolDto } from './update-agent-tool.dto';\nimport { UpdateAgentHubTagDto } from './update-agent-hub-tag.dto';\n\nexport class CreateAgentToolRegistryDto {\n @IsNotEmpty()\n @IsString()\n @ApiProperty()\n name: string;\n\n @IsNotEmpty()\n @IsString()\n @ApiProperty()\n type: string;\n\n @IsOptional()\n @IsString()\n @ApiProperty({ required: false })\n iconName?: string;\n\n @IsNotEmpty()\n @IsString()\n @ApiProperty()\n description: string;\n\n @IsNotEmpty()\n @IsString()\n @ApiProperty()\n sourceCode: string;\n\n @IsOptional()\n @IsString()\n @ApiProperty({ required: false })\n checksum?: string;\n\n @IsNotEmpty()\n @IsString()\n @ApiProperty()\n status: string = \"inactive\";\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":"create-agent-tool-registry.dto.js","sourceRoot":"","sources":["../../src/dtos/create-agent-tool-registry.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,6CAA8C;AAC9C,qDAAkD;AAClD,qDAAkF;AAClF,yDAAyC;AACzC,mEAA6D;AAC7D,yEAAkE;AAElE,MAAa,0BAA0B;IAAvC;QAkCI,WAAM,GAAW,UAAU,CAAC;KAoD/B;;;;CAAA;AAtFD,gEAsFC;AAlFG;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,qBAAW,GAAE;;wDACD;AAKb;IAHC,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;AAKlB;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,qBAAW,GAAE;;+DACM;AAKpB;IAHC,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;AAKlB;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,qBAAW,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O,GAAE;IACT,IAAA,qBAAW,GAAE;;iEACU;AAKxB;IAHC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,qBAAW,GAAE;;qEACY","sourcesContent":["import { ApiProperty } from '@nestjs/swagger';\nimport { IsInt, IsString } from 'class-validator';\nimport { IsNotEmpty, IsOptional, ValidateNested, IsArray } from 'class-validator';\nimport { Type } from 'class-transformer';\nimport { UpdateAgentToolDto } from './update-agent-tool.dto';\nimport { UpdateAgentHubTagDto } from './update-agent-hub-tag.dto';\n\nexport class CreateAgentToolRegistryDto {\n @IsNotEmpty()\n @IsString()\n @ApiProperty()\n name: string;\n\n @IsNotEmpty()\n @IsString()\n @ApiProperty()\n type: string;\n\n @IsOptional()\n @IsString()\n @ApiProperty({ required: false })\n iconName?: string;\n\n @IsNotEmpty()\n @IsString()\n @ApiProperty()\n description: string;\n\n @IsNotEmpty()\n @IsString()\n @ApiProperty()\n sourceCode: string;\n\n @IsOptional()\n @IsString()\n @ApiProperty({ required: false })\n checksum?: string;\n\n @IsNotEmpty()\n @IsString()\n @ApiProperty()\n status: string = \"inactive\";\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"]}
@@ -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,qBAAW,EAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;;kDACpB;AAOb;I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C,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,QAAQ,EAAE,KAAK,EAAE,CAAC;;2DACX;AAOtB;IALC,IAAA,4BAA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,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,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AACnE,OAAO,EAAE,iBAAiB,EAAE,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E,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,qBAAW,EAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;;wDACf;AA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C,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":"","sources":["../../src/dtos/update-agent-registry.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;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,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,GAAE;;yDACD;AAMb;IAJC,IAAA,4BAAU,GAAE;IACZ,IAAA,4BAAU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A,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"]}