2026-07-28 04:18:09 +00:00
|
|
|
package profile
|
|
|
|
|
|
|
|
|
|
import (
|
|
|
|
|
"context"
|
2026-09-30 04:18:27 +00:00
|
|
|
"errors"
|
2026-07-28 04:18:09 +00:00
|
|
|
|
2026-11-02 14:38:00 +00:00
|
|
|
"go.maximumdirect.net/promptkit/internal/domain"
|
2026-07-28 04:18:09 +00:00
|
|
|
)
|
|
|
|
|
|
2026-09-30 04:18:27 +00:00
|
|
|
// ErrProfileNotFound identifies an absent profile in the captured index.
|
|
|
|
|
var ErrProfileNotFound = errors.New("execution profile not found")
|
|
|
|
|
|
|
|
|
|
// Repository selects execution profiles from a captured index.
|
2026-07-28 04:18:09 +00:00
|
|
|
type Repository interface {
|
|
|
|
|
GetProfile(ctx context.Context, id string) (*domain.ExecutionProfile, error)
|
|
|
|
|
}
|