project

package
v0.0.35 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Project

type Project struct {
	ID                string    `yaml:"id"`
	Name              string    `yaml:"name"`
	Description       string    `yaml:"description"`
	RepositoryURL     string    `yaml:"repository_url"`
	DefaultBranch     string    `yaml:"default_branch"`
	Order             int32     `yaml:"order"`
	HiddenFromSidebar bool      `yaml:"hidden_from_sidebar"`
	CreatedAt         time.Time `yaml:"created_at"`
	UpdatedAt         time.Time `yaml:"updated_at"`
}

type Repository

type Repository interface {
	Create(ctx context.Context, p *Project) error
	Get(ctx context.Context, id string) (*Project, error)
	FindByName(ctx context.Context, name string) (*Project, error)
	List(ctx context.Context, limit, offset int) ([]*Project, int, error)
	ListAll(ctx context.Context) ([]*Project, error)
	Update(ctx context.Context, p *Project) error
	Delete(ctx context.Context, id string) error
}

type Seeder added in v0.0.31

type Seeder struct {
	// contains filtered or unexported fields
}

Seeder creates default workflow, agents, and skills for a newly created project.

func NewSeeder added in v0.0.31

func NewSeeder(workflowRepo workflow.Repository, agentRepo agent.Repository, skillRepo skill.Repository) *Seeder

NewSeeder creates a new Seeder.

func (*Seeder) Seed added in v0.0.31

func (s *Seeder) Seed(ctx context.Context, projectID string) error

Seed creates the default development workflow with architect and software-engineer agents, and the create-pr skill for the given project.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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