Skip to main content

Module sources

Module sources 

Source
Expand description

External source resolver for workflow/agent YAML configs.

Provides types and caching logic for fetching workflow and agent definitions from remote sources (registries, GitHub repos, raw URLs). The actual HTTP fetching is intentionally not handled here — callers (e.g., the CLI) supply fetched content and this module handles parsing, caching, and lockfile management.

Structs§

CachedItem
Metadata about a cached workflow or agent definition.
LockEntry
A single pinned dependency in the lockfile.
Lockfile
Version-pinning lockfile persisted as YAML.
PackageManifest
Describes a workflow/agent package fetched from an external source.
SourceCache
Manages a local cache directory for externally-sourced definitions.

Enums§

ExternalSource
Where to fetch an external workflow or agent definition.
SourceError
Errors that can occur when resolving external sources.

Functions§

sha256_hex
Compute the SHA-256 hex digest of content.
verify_checksum
Verify that content matches the expected checksum.