@solidxai/core 0.1.20-beta.4 → 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.
- package/CHANGELOG.md +49 -0
- package/dist/dtos/create-agent-hub-tag.dto.d.ts +2 -0
- package/dist/dtos/create-agent-hub-tag.dto.d.ts.map +1 -1
- package/dist/dtos/create-agent-hub-tag.dto.js +13 -1
- package/dist/dtos/create-agent-hub-tag.dto.js.map +1 -1
- package/dist/dtos/create-agent-registry.dto.d.ts +2 -0
- package/dist/dtos/create-agent-registry.dto.d.ts.map +1 -1
- package/dist/dtos/create-agent-registry.dto.js +13 -1
- package/dist/dtos/create-agent-registry.dto.js.map +1 -1
- package/dist/dtos/create-agent-skill-registry.dto.d.ts +2 -0
- package/dist/dtos/create-agent-skill-registry.dto.d.ts.map +1 -1
- package/dist/dtos/create-agent-skill-registry.dto.js +13 -1
- package/dist/dtos/create-agent-skill-registry.dto.js.map +1 -1
- package/dist/dtos/create-agent-tool-registry.dto.d.ts +2 -0
- package/dist/dtos/create-agent-tool-registry.dto.d.ts.map +1 -1
- package/dist/dtos/create-agent-tool-registry.dto.js +13 -1
- package/dist/dtos/create-agent-tool-registry.dto.js.map +1 -1
- package/dist/dtos/update-agent-hub-tag.dto.d.ts +2 -0
- package/dist/dtos/update-agent-hub-tag.dto.d.ts.map +1 -1
- package/dist/dtos/update-agent-hub-tag.dto.js +13 -1
- package/dist/dtos/update-agent-hub-tag.dto.js.map +1 -1
- package/dist/dtos/update-agent-registry.dto.d.ts +2 -0
- package/dist/dtos/update-agent-registry.dto.d.ts.map +1 -1
- package/dist/dtos/update-agent-registry.dto.js +13 -1
- package/dist/dtos/update-agent-registry.dto.js.map +1 -1
- package/dist/dtos/update-agent-skill-registry.dto.d.ts +2 -0
- package/dist/dtos/update-agent-skill-registry.dto.d.ts.map +1 -1
- package/dist/dtos/update-agent-skill-registry.dto.js +13 -1
- package/dist/dtos/update-agent-skill-registry.dto.js.map +1 -1
- package/dist/dtos/update-agent-tool-registry.dto.d.ts +2 -0
- package/dist/dtos/update-agent-tool-registry.dto.d.ts.map +1 -1
- package/dist/dtos/update-agent-tool-registry.dto.js +13 -1
- package/dist/dtos/update-agent-tool-registry.dto.js.map +1 -1
- package/dist/entities/agent-hub-tag.entity.d.ts +2 -0
- package/dist/entities/agent-hub-tag.entity.d.ts.map +1 -1
- package/dist/entities/agent-hub-tag.entity.js +8 -1
- package/dist/entities/agent-hub-tag.entity.js.map +1 -1
- package/dist/entities/agent-registry.entity.d.ts +2 -0
- package/dist/entities/agent-registry.entity.d.ts.map +1 -1
- package/dist/entities/agent-registry.entity.js +8 -1
- package/dist/entities/agent-registry.entity.js.map +1 -1
- package/dist/entities/agent-skill-registry.entity.d.ts +2 -0
- package/dist/entities/agent-skill-registry.entity.d.ts.map +1 -1
- package/dist/entities/agent-skill-registry.entity.js +8 -1
- package/dist/entities/agent-skill-registry.entity.js.map +1 -1
- package/dist/entities/agent-skill.entity.d.ts +1 -0
- package/dist/entities/agent-skill.entity.d.ts.map +1 -1
- package/dist/entities/agent-skill.entity.js +5 -1
- package/dist/entities/agent-skill.entity.js.map +1 -1
- package/dist/entities/agent-tool-registry.entity.d.ts +2 -0
- package/dist/entities/agent-tool-registry.entity.d.ts.map +1 -1
- package/dist/entities/agent-tool-registry.entity.js +8 -1
- package/dist/entities/agent-tool-registry.entity.js.map +1 -1
- package/dist/entities/agent-tool.entity.d.ts +1 -0
- package/dist/entities/agent-tool.entity.d.ts.map +1 -1
- package/dist/entities/agent-tool.entity.js +5 -1
- package/dist/entities/agent-tool.entity.js.map +1 -1
- package/dist/helpers/bootstrap.helper.d.ts.map +1 -1
- package/dist/helpers/bootstrap.helper.js +28 -0
- package/dist/helpers/bootstrap.helper.js.map +1 -1
- package/dist/helpers/module-metadata-helper.service.js +2 -2
- package/dist/helpers/module-metadata-helper.service.js.map +1 -1
- package/dist/resources/agent-embed/solid-agent-embed.js +283 -75
- package/dist/seeders/module-metadata-agenthub.spec.d.ts +2 -0
- package/dist/seeders/module-metadata-agenthub.spec.d.ts.map +1 -0
- package/dist/seeders/module-metadata-agenthub.spec.js +62 -0
- package/dist/seeders/module-metadata-agenthub.spec.js.map +1 -0
- package/dist/seeders/module-metadata-seeder.service.d.ts +8 -0
- package/dist/seeders/module-metadata-seeder.service.d.ts.map +1 -1
- package/dist/seeders/module-metadata-seeder.service.js +176 -0
- package/dist/seeders/module-metadata-seeder.service.js.map +1 -1
- package/dist/seeders/seed-data/solid-core-metadata.json +216 -18
- package/dist/services/agent-config-version.service.d.ts +9 -0
- package/dist/services/agent-config-version.service.d.ts.map +1 -1
- package/dist/services/agent-config-version.service.js +13 -0
- package/dist/services/agent-config-version.service.js.map +1 -1
- package/dist/services/agent-hub-tag.service.d.ts +4 -0
- package/dist/services/agent-hub-tag.service.d.ts.map +1 -1
- package/dist/services/agent-hub-tag.service.js +65 -2
- package/dist/services/agent-hub-tag.service.js.map +1 -1
- package/dist/services/agent-registry.service.d.ts +1 -0
- package/dist/services/agent-registry.service.d.ts.map +1 -1
- package/dist/services/agent-registry.service.js +12 -2
- package/dist/services/agent-registry.service.js.map +1 -1
- package/dist/services/file/disk-file.service.d.ts.map +1 -1
- package/dist/services/file/disk-file.service.js +6 -1
- package/dist/services/file/disk-file.service.js.map +1 -1
- package/dist/services/file/index.d.ts +1 -0
- package/dist/services/file/index.d.ts.map +1 -1
- package/dist/services/file/index.js +1 -0
- package/dist/services/file/index.js.map +1 -1
- package/dist/services/file/media-storage-paths.d.ts +8 -0
- package/dist/services/file/media-storage-paths.d.ts.map +1 -0
- package/dist/services/file/media-storage-paths.js +78 -0
- package/dist/services/file/media-storage-paths.js.map +1 -0
- package/dist/services/file/storage-path-builder.d.ts +0 -2
- package/dist/services/file/storage-path-builder.d.ts.map +1 -1
- package/dist/services/file/storage-path-builder.js +3 -44
- package/dist/services/file/storage-path-builder.js.map +1 -1
- package/dist/services/media-storage.utils.d.ts +1 -1
- package/dist/services/media-storage.utils.d.ts.map +1 -1
- package/dist/services/media-storage.utils.js +3 -43
- package/dist/services/media-storage.utils.js.map +1 -1
- package/dist/services/module-metadata.service.d.ts +0 -1
- package/dist/services/module-metadata.service.d.ts.map +1 -1
- package/dist/services/module-metadata.service.js +7 -15
- package/dist/services/module-metadata.service.js.map +1 -1
- package/dist/services/settings/default-settings-provider.service.d.ts +22 -2
- package/dist/services/settings/default-settings-provider.service.d.ts.map +1 -1
- package/dist/services/settings/default-settings-provider.service.js +12 -1
- package/dist/services/settings/default-settings-provider.service.js.map +1 -1
- package/dist/solid-core.module.d.ts.map +1 -1
- package/dist/solid-core.module.js +15 -2
- package/dist/solid-core.module.js.map +1 -1
- package/dist/subscribers/agent-hub-tag.subscriber.d.ts +19 -0
- package/dist/subscribers/agent-hub-tag.subscriber.d.ts.map +1 -0
- package/dist/subscribers/agent-hub-tag.subscriber.js +197 -0
- package/dist/subscribers/agent-hub-tag.subscriber.js.map +1 -0
- package/dist/subscribers/agent-registry-subscribers.spec.d.ts +2 -0
- package/dist/subscribers/agent-registry-subscribers.spec.d.ts.map +1 -0
- package/dist/subscribers/agent-registry-subscribers.spec.js +104 -0
- package/dist/subscribers/agent-registry-subscribers.spec.js.map +1 -0
- package/dist/subscribers/agent-registry.subscriber.d.ts +24 -0
- package/dist/subscribers/agent-registry.subscriber.d.ts.map +1 -0
- package/dist/subscribers/agent-registry.subscriber.js +229 -0
- package/dist/subscribers/agent-registry.subscriber.js.map +1 -0
- package/dist/subscribers/agent-skill-registry.subscriber.d.ts +19 -0
- package/dist/subscribers/agent-skill-registry.subscriber.d.ts.map +1 -0
- package/dist/subscribers/agent-skill-registry.subscriber.js +199 -0
- package/dist/subscribers/agent-skill-registry.subscriber.js.map +1 -0
- package/dist/subscribers/agent-skill.subscriber.d.ts +13 -0
- package/dist/subscribers/agent-skill.subscriber.d.ts.map +1 -0
- package/dist/subscribers/agent-skill.subscriber.js +61 -0
- package/dist/subscribers/agent-skill.subscriber.js.map +1 -0
- package/dist/subscribers/agent-tool-registry.subscriber.d.ts +19 -0
- package/dist/subscribers/agent-tool-registry.subscriber.d.ts.map +1 -0
- package/dist/subscribers/agent-tool-registry.subscriber.js +201 -0
- package/dist/subscribers/agent-tool-registry.subscriber.js.map +1 -0
- package/dist/subscribers/agent-tool.subscriber.d.ts +13 -0
- package/dist/subscribers/agent-tool.subscriber.d.ts.map +1 -0
- package/dist/subscribers/agent-tool.subscriber.js +61 -0
- package/dist/subscribers/agent-tool.subscriber.js.map +1 -0
- package/dist/subscribers/agenthub-metadata-sync.util.d.ts +16 -0
- package/dist/subscribers/agenthub-metadata-sync.util.d.ts.map +1 -0
- package/dist/subscribers/agenthub-metadata-sync.util.js +77 -0
- package/dist/subscribers/agenthub-metadata-sync.util.js.map +1 -0
- package/package.json +1 -1
- package/resources/agent-embed/solid-agent-embed.js +283 -75
- package/src/dtos/create-agent-hub-tag.dto.ts +10 -0
- package/src/dtos/create-agent-registry.dto.ts +10 -0
- package/src/dtos/create-agent-skill-registry.dto.ts +10 -0
- package/src/dtos/create-agent-tool-registry.dto.ts +10 -0
- package/src/dtos/update-agent-hub-tag.dto.ts +10 -0
- package/src/dtos/update-agent-registry.dto.ts +10 -0
- package/src/dtos/update-agent-skill-registry.dto.ts +10 -0
- package/src/dtos/update-agent-tool-registry.dto.ts +10 -0
- package/src/entities/agent-hub-tag.entity.ts +7 -1
- package/src/entities/agent-registry.entity.ts +7 -1
- package/src/entities/agent-skill-registry.entity.ts +7 -1
- package/src/entities/agent-skill.entity.ts +4 -1
- package/src/entities/agent-tool-registry.entity.ts +7 -1
- package/src/entities/agent-tool.entity.ts +4 -1
- package/src/helpers/bootstrap.helper.ts +36 -3
- package/src/helpers/module-metadata-helper.service.ts +2 -2
- package/src/seeders/module-metadata-agenthub.spec.ts +65 -0
- package/src/seeders/module-metadata-seeder.service.ts +180 -0
- package/src/seeders/seed-data/solid-core-metadata.json +216 -18
- package/src/services/agent-config-version.service.ts +28 -3
- package/src/services/agent-hub-tag.service.ts +81 -2
- package/src/services/agent-registry.service.ts +17 -1
- package/src/services/file/disk-file.service.ts +6 -1
- package/src/services/file/index.ts +1 -0
- package/src/services/file/media-storage-paths.ts +50 -0
- package/src/services/file/storage-path-builder.ts +2 -12
- package/src/services/media-storage.utils.ts +10 -16
- package/src/services/module-metadata.service.ts +7 -17
- package/src/services/settings/default-settings-provider.service.ts +12 -1
- package/src/solid-core.module.ts +16 -3
- package/src/subscribers/agent-hub-tag.subscriber.ts +149 -0
- package/src/subscribers/agent-registry-subscribers.spec.ts +71 -0
- package/src/subscribers/agent-registry.subscriber.ts +182 -0
- package/src/subscribers/agent-skill-registry.subscriber.ts +144 -0
- package/src/subscribers/agent-skill.subscriber.ts +46 -0
- package/src/subscribers/agent-tool-registry.subscriber.ts +146 -0
- package/src/subscribers/agent-tool.subscriber.ts +46 -0
- package/src/subscribers/agenthub-metadata-sync.util.ts +51 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,54 @@
|
|
|
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
|
+
|
|
20
|
+
## [0.1.20] - 2026-10-14
|
|
21
|
+
|
|
22
|
+
### Added
|
|
23
|
+
|
|
24
|
+
- add Chatter Message Archive functionality with controller, service, and metadata updates
|
|
25
|
+
- disable Swagger in production environments (#168)
|
|
26
|
+
- add documentation for AgentHub agent configuration, data model, and runtime verification
|
|
27
|
+
- enhance boolean column type handling in entities and update rel… (#186)
|
|
28
|
+
- add module relation to email and SMS templates; update DTOs and seed data
|
|
29
|
+
- add Agent Hub Tag functionality
|
|
30
|
+
- refactor agent tool lifecycle environment handling and add PostgreSQL URL generation
|
|
31
|
+
- enhance agent tool lifecycle preference handling and validation
|
|
32
|
+
- add checkTool method and lifecycle script for agent tools; enhance SecretService with findAvailableKeys
|
|
33
|
+
|
|
34
|
+
### Fixed
|
|
35
|
+
|
|
36
|
+
- update defaultValue type from integer to string for consistency (#187)
|
|
37
|
+
|
|
38
|
+
### Changed
|
|
39
|
+
|
|
40
|
+
- enhance requiredInputs structure and validation in AgentHub integration
|
|
41
|
+
|
|
42
|
+
### Maintenance
|
|
43
|
+
|
|
44
|
+
- exclude CLAUDE.md and .claude/ from npm package (#191)
|
|
45
|
+
|
|
46
|
+
### Other
|
|
47
|
+
|
|
48
|
+
- Update solidx modules (#190)
|
|
49
|
+
- New tab op changes
|
|
50
|
+
- menuItemMetaData edit:true and default icon added for menu (#184)
|
|
51
|
+
|
|
3
52
|
## [0.1.20-beta.4] - 2026-10-13
|
|
4
53
|
|
|
5
54
|
### Maintenance
|
|
@@ -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;
|
|
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;;;;
|
|
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,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;IA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B,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"]}
|
|
@@ -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;IAK1B,YAAY,EAAE,MAAM,CAAC;IAKrB,MAAM,EAAE,MAAM,CAAW;IAKzB,SAAS,EAAE,MAAM,CAAC;IAKlB,aAAa,EAAE,MAAM,CAAC;IAKtB,SAAS,EAAE,MAAM,CAAK;IAKtB,aAAa,CAAC,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"create-agent-registry.d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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"}
|
|
@@ -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":[],"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;
|
|
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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AC;IAC9B,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,gDAAqB,CAAC;;8DACM;AAKxC;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,GAAE;IACT,IAAA,qBAAW,GAAE;;iEACc;AAK5B;IAHC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,qBAAW,GAAE;;qEACgB;AAO9B;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,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"]}
|
|
@@ -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;
|
|
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;
|
|
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,IA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AAO,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 @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"]}
|
|
@@ -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;
|
|
1
|
+
{"version":3,"file":"create-agent-tool-registry.dto.js","sourceRoot":"","sources":["../../src/dt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,EAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;;iEACX;AAOtB;IALC,IAAA,4BAAU,GAAE;IACZ,IAAA,qBAAW,EAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAChC,IAAA,yBAAO,GAAE;IACT,IAAA,gCAAc,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;IAC9B,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,+CAAoB,CAAC;;wDACJ;AAO7B;IALC,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,GAAE;IACT,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;IAClB,IAAA,uBAAK,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;IACrB,IAAA,qBAAW,EAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;;2DACf;AAKlB;IAHC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,qBAAW,EAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;;+DACb;AAOpB;IALC,IAAA,4BAAU,GAAE;IACZ,IAAA,qBAAW,GAAE;IACb,IAAA,yBAAO,GAAE;IACT,IAAA,gCAAc,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;IAC9B,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,0CAAkB,CAAC;;8DACE;AAKjC;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,GAAE;IACT,IAAA,qBAAW,GAAE;;iEACU;AAKxB;IAHC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,qBAAW,GAAE;;qEACY","sourcesContent":["import { 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;
|
|
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;;;;
|
|
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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AHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,qBAAW,EAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;;0DACZ;AAOrB;IALC,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,GAAE;IACT,IAAA,gCAAc,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;IAC9B,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,kDAAsB,CAAC;IAClC,IAAA,qBAAW,EAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;;oDACA;AAOjC;IALC,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,GAAE;IACT,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;IAClB,IAAA,uBAAK,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;IACrB,IAAA,qBAAW,EAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;;uDACb;AAKpB;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,qBAAW,EAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;;2DACX","sourcesContent":["import { ApiProperty } from '@nestjs/swagger';\nimport { Type } from 'class-transformer';\nimport { IsArray, IsInt, IsNotEmpty, IsOptional, IsString, ValidateNested } from 'class-validator';\nimport { UpdateAgentSkillRegistryDto } from './update-agent-skill-registry.dto';\nimport { UpdateAgentToolRegistryDto } from './update-agent-tool-registry.dto';\nimport { UpdateAgentRegistryDto } from './update-agent-registry.dto';\n\nexport class UpdateAgentHubTagDto {\n @IsOptional()\n @IsInt()\n id: number;\n\n @IsOptional()\n @IsNotEmpty()\n @IsString()\n @ApiProperty({ required: false })\n name: string;\n\n @IsOptional()\n @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"]}
|
|
@@ -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,MAAM,wBAAwB,CAAC;AAC3D,OAA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,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,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sNumber, 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":";;;;;;;;;;;;;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;;;;CAmOlC;AAnOD,wDAmOC;AAhOG;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,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AC,gDAAqB,CAAC;;8DACM;AAKxC;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,GAAE;IACT,IAAA,qBAAW,GAAE;;iEACc;AAK5B;IAHC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,qBAAW,GAAE;;qEACgB;AAO9B;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,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 @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"]}
|
|
@@ -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;
|
|
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 }),
|