Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dependency ¶
type Dependency struct {
URL string
LocalPath string
SHA256 string
FetchedAt time.Time
CacheHit bool
}
Dependency records a single URL that was resolved to a local cache path.
func ResolveHarness ¶
func ResolveHarness(ctx context.Context, h *harness.Harness, opts ResolveOpts) ([]Dependency, error)
ResolveHarness resolves URL-referenced declarative fields (Agent, Policy, Skills) in the harness to local cache paths. Local paths are left unchanged. The harness is modified in place. Returns the list of resolved dependencies.
Phase 1: single-level resolution only (no transitive deps).
type ResolveOpts ¶
type ResolveOpts struct {
WorkspaceRoot string
FetchPolicy fetch.FetchPolicy
TraceID string
AuditLogPath string
}
ResolveOpts controls how URL-referenced resources are resolved.
Click to show internal directories.
Click to hide internal directories.