Expand description
Deterministic local package operations for the hara package command.
Network reconciliation deliberately does not live here yet: package roots are only activated after a registry and identity client has verified them.
Re-exports§
pub use crate::package_catalog::catalog_from_lock;pub use crate::package_catalog::LockedPackage;
Constants§
- BUILD_
THREAD_ STACK_ SIZE - Package compilation walks the complete source graph and needs more stack than Rust’s default worker thread. Keep native API and CLI package builds on the same bounded budget as the runtime broker.
Functions§
- build_
path - build_
path_ with_ package - Builds one semantic package from a project profile. The profile and its selected name are kept on a cloned project model so a command-line selection never mutates project.edn on disk.
- check_
path - Capability adapter used by the Hara-owned CLI policy. These functions expose package mechanics without parsing command-line arguments or writing user-facing output.
- github_
workflow_ required - inspect_
path - install_
path - install_
path_ at - Installs a package into an explicit distribution root. Embedders and tests use this form to keep package state isolated from the user’s global Hara distribution.
- install_
root - Returns the configured base directory for installed Hara packages.
- publish_
path - publish_
path_ with_ signer - Publish a package through a caller-owned detached-intent signer. Embedders
use this form when the signer is part of the host executable rather than a
child process named by
HARA_SIGNER. - publish_
path_ with_ signer_ and_ identity - Integrated hosts pass their public publisher key so a missing policy grant can enter the browser-backed enrollment flow and successful submissions can carry an identity authorization. The legacy external signer path remains available for embedding hosts that have not adopted that flow yet.
- run
- Handles the public
hara packagecommand group. - source_
release_ commit - Resolves the commit that a publication intent names. Untagged publication requires a clean checkout whose HEAD is exactly the origin default branch.
- tap_
command - verify_
registry_ request_ paths