Expand description
harn pack <entrypoint> — build a signed-ready .harnpack from a
Harn entrypoint.
Walks the entrypoint’s transitive imports, precompiles every module
into a .harnbc artifact, snapshots the provider catalog and
stdlib pin, generates a minimal SBOM, assembles a v2 WorkflowBundle
manifest, and emits a deterministic tar.zst archive. Signing lands
in E6.3; SBOM body and CLI --json polish in E6.4.
Structs§
- Pack
Error - Pack
Json Data - JSON payload emitted under
JsonEnvelope.dataforharn pack. - Pack
Outcome - Outcome of
build. Used by tests; the dispatcher consumes it directly viarun.
Constants§
- PACK_
SCHEMA_ VERSION - Stable schema version for the
harn pack --jsonenvelope. Bump whenPackJsonDatachanges shape in a way that agents need to detect.
Functions§
- build
- run
- run_
to_ envelope - Programmatic entrypoint used by tests and other CLI command code that needs the JSON envelope without going through stdout.