dto

package
v1.7.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 16, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ValidTargets = map[string]bool{
	"claude":      true,
	"codex":       true,
	"antigravity": true,
}

ValidTargets maps valid target ecosystem names.

Functions

This section is empty.

Types

type GenerationResult

type GenerationResult struct {
	OutputPath     string
	GeneratedFiles []string
	Model          string
	TokensIn       int
	TokensOut      int
}

GenerationResult represents the result of an LLM-based context generation

type ProjectConfig

type ProjectConfig struct {
	Name         string
	Description  string
	Language     string
	Type         string
	Architecture string
	OutputPath   string
	Model        string
	Locale       string
	Capabilities []string
	Metadata     map[string]string
}

ProjectConfig representa la configuración para generar un proyecto

func (*ProjectConfig) Validate

func (pc *ProjectConfig) Validate() error

Validate valida la configuración del proyecto

type ProjectInfo

type ProjectInfo struct {
	ID           string
	Name         string
	Language     string
	Type         string
	Architecture string
	OutputPath   string
	Capabilities []string
	CreatedAt    time.Time
	UpdatedAt    time.Time
}

ProjectInfo representa información sobre un proyecto generado

type ProjectListResult

type ProjectListResult struct {
	Projects []ProjectInfo
	Total    int
}

ProjectListResult representa el resultado de listar proyectos

type SkillsConfig

type SkillsConfig struct {
	Preset     string // "default" o "neutral"
	Locale     string // "en" o "es"
	Target     string // ecosistema destino: "claude", "codex", "antigravity"
	Model      string
	OutputPath string
}

SkillsConfig representa la configuracion para generar Agent Skills reutilizables

func (*SkillsConfig) Validate

func (sc *SkillsConfig) Validate() error

Validate valida la configuracion de skills

type SpecConfig

type SpecConfig struct {
	ProjectName     string
	FromContextPath string // ruta al directorio de output existente (contiene AGENTS.md y context/)
	OutputPath      string
	Model           string
	Locale          string
}

SpecConfig representa la configuracion para generar especificaciones SDD

func (*SpecConfig) Validate

func (sc *SpecConfig) Validate() error

Validate valida la configuracion de spec

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL