"use strict";
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
    return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __metadata = (this && this.__metadata) || function (k, v) {
    if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.CreateSubAgentDto = void 0;
const class_validator_1 = require("class-validator");
const swagger_1 = require("@nestjs/swagger");
class CreateSubAgentDto {
}
exports.CreateSubAgentDto = CreateSubAgentDto;
__decorate([
    (0, swagger_1.ApiProperty)({ description: 'Name of the sub-agent', example: 'Bug Fixer' }),
    (0, class_validator_1.IsString)(),
    __metadata("design:type", String)
], CreateSubAgentDto.prototype, "name", void 0);
__decorate([
    (0, swagger_1.ApiPropertyOptional)({
        description: 'Description of what this sub-agent does',
    }),
    (0, class_validator_1.IsOptional)(),
    (0, class_validator_1.IsString)(),
    __metadata("design:type", String)
], CreateSubAgentDto.prototype, "description", void 0);
__decorate([
    (0, swagger_1.ApiPropertyOptional)({
        description: 'UUID of system prompt for this sub-agent',
        format: 'uuid',
    }),
    (0, class_validator_1.IsOptional)(),
    (0, class_validator_1.IsUUID)(),
    __metadata("design:type", String)
], CreateSubAgentDto.prototype, "system_prompt_id", void 0);
__decorate([
    (0, swagger_1.ApiPropertyOptional)({
        description: 'UUID of context template for initial prompts',
        format: 'uuid',
    }),
    (0, class_validator_1.IsOptional)(),
    (0, class_validator_1.IsUUID)(),
    __metadata("design:type", String)
], CreateSubAgentDto.prototype, "context_template_id", void 0);
__decorate([
    (0, swagger_1.ApiPropertyOptional)({
        description: 'UUID of context template for follow-up prompts',
        format: 'uuid',
    }),
    (0, class_validator_1.IsOptional)(),
    (0, class_validator_1.IsUUID)(),
    __metadata("design:type", String)
], CreateSubAgentDto.prototype, "followup_context_template_id", void 0);
__decorate([
    (0, swagger_1.ApiPropertyOptional)({
        description: 'Array of tool names this sub-agent can use. null = all tools, [] = no tools',
        example: ['create_file', 'overwrite_file'],
        type: 'array',
    }),
    (0, class_validator_1.IsOptional)(),
    (0, class_validator_1.IsArray)(),
    (0, class_validator_1.IsString)({ each: true }),
    __metadata("design:type", Array)
], CreateSubAgentDto.prototype, "enabled_tools", void 0);
__decorate([
    (0, swagger_1.ApiPropertyOptional)({
        description: 'Enabled MCP tools: null (no MCP tools), "all", or array of serverName__toolName identifiers',
        example: 'all',
    }),
    (0, class_validator_1.IsOptional)(),
    __metadata("design:type", Object)
], CreateSubAgentDto.prototype, "enabled_mcp_tools", void 0);
__decorate([
    (0, swagger_1.ApiPropertyOptional)({ description: 'Whether this sub-agent is active' }),
    (0, class_validator_1.IsOptional)(),
    (0, class_validator_1.IsBoolean)(),
    __metadata("design:type", Boolean)
], CreateSubAgentDto.prototype, "is_active", void 0);
__decorate([
    (0, swagger_1.ApiPropertyOptional)({
        description: 'Model ID to use for this sub-agent',
        example: 'ollama/glm-5.1:cloud',
    }),
    (0, class_validator_1.IsOptional)(),
    (0, class_validator_1.IsString)(),
    __metadata("design:type", String)
], CreateSubAgentDto.prototype, "model_id", void 0);
__decorate([
    (0, swagger_1.ApiPropertyOptional)({
        description: 'Whether this is a built-in sub-agent (only used by seeding)',
        example: false,
    }),
    (0, class_validator_1.IsOptional)(),
    (0, class_validator_1.IsBoolean)(),
    __metadata("design:type", Boolean)
], CreateSubAgentDto.prototype, "is_builtin", void 0);
__decorate([
    (0, swagger_1.ApiPropertyOptional)({
        description: 'Unique key for built-in sub-agents (only used by seeding)',
        example: 'explore-codebase',
    }),
    (0, class_validator_1.IsOptional)(),
    (0, class_validator_1.IsString)(),
    __metadata("design:type", String)
], CreateSubAgentDto.prototype, "builtin_key", void 0);
//# sourceMappingURL=create-sub-agent.dto.js.map