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§
- Cached
Item - Metadata about a cached workflow or agent definition.
- Lock
Entry - A single pinned dependency in the lockfile.
- Lockfile
- Version-pinning lockfile persisted as YAML.
- Package
Manifest - Describes a workflow/agent package fetched from an external source.
- Source
Cache - Manages a local cache directory for externally-sourced definitions.
Enums§
- External
Source - Where to fetch an external workflow or agent definition.
- Source
Error - Errors that can occur when resolving external sources.
Functions§
- sha256_
hex - Compute the SHA-256 hex digest of
content. - verify_
checksum - Verify that
contentmatches the expectedchecksum.