dto

package
v1.14.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	SkillModeStatic       = "static"
	SkillModePersonalized = "personalized"
)

Skills generation modes

View Source
const (
	InstallScopeGlobal  = "global"
	InstallScopeProject = "project"
)

Skills install scopes

Variables

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

ValidTargets maps valid target ecosystem names.

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

ValidWorkflowTargets maps valid workflow 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 holds configuration for generating a project

func (*ProjectConfig) Validate

func (pc *ProjectConfig) Validate() error

Validate validates the project configuration

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 represents information about a generated project

type ProjectListResult

type ProjectListResult struct {
	Projects []ProjectInfo
	Total    int
}

ProjectListResult represents the result of listing projects

type SkillsConfig

type SkillsConfig struct {
	Category       string // "architecture" or "workflow"
	Preset         string // "clean", "neutral", "conventional-commit", "all", etc.
	Mode           string // "static" or "personalized"
	Locale         string // "en" or "es"
	Target         string // target ecosystem: "claude", "codex", "antigravity"
	Model          string
	OutputPath     string
	ProjectContext string // project context for personalized mode
	Install        string // install scope: "global", "project", or "" (custom output)
}

SkillsConfig holds configuration for generating reusable Agent Skills

func (*SkillsConfig) Validate

func (sc *SkillsConfig) Validate() error

Validate validates the skills configuration

type SpecConfig

type SpecConfig struct {
	ProjectName     string
	FromContextPath string // path to existing output directory (contains AGENTS.md and context/)
	OutputPath      string
	Model           string
	Locale          string
}

SpecConfig holds configuration for generating SDD specifications

func (*SpecConfig) Validate

func (sc *SpecConfig) Validate() error

Validate validates the spec configuration

type WorkflowConfig added in v1.13.0

type WorkflowConfig struct {
	Category       string // "workflows"
	Preset         string // "feature-development", "bug-fix", "release-cycle", "all"
	Mode           string // "static" or "personalized"
	Target         string // target ecosystem: "claude" or "antigravity"
	Locale         string // "en" or "es"
	Model          string // LLM model (personalized mode only)
	OutputPath     string
	ProjectContext string // project description (personalized mode only)
	Install        string // "global", "project", or "" (custom)
}

WorkflowConfig holds configuration for generating workflows.

func (*WorkflowConfig) Validate added in v1.13.0

func (wc *WorkflowConfig) Validate() error

Validate validates the workflow configuration.

Jump to

Keyboard shortcuts

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