Skip to main content

Module project

Module project 

Source
Expand description

Project manifest discovery and editing for the native CLI.

project.edn is data, never evaluator input. Keeping this model separate from Runtime makes command behaviour portable to other Hara hosts.

Structs§

Distribution
NativeRequirement
NpmWasmDependency
Project
ProjectProfile
ResolvedProfile
ResolvedRuntimeProfile
RuntimeProfile
SourceCatalog
A source-only namespace catalog used by native runtimes.
WasmNativeImport

Enums§

LockMode

Functions§

discover
expand_aliases
Expands aliases without shell interpretation. Cycles are rejected rather than silently consuming user arguments.
files_in
main_file
new_app
normalize_coordinate
read
register_native_imports
Installs direct WASM imports exclusively from the verified project lock and content-addressed cache. Runtime evaluation never invokes npm or the network.
register_sources
Registers namespaces from the automatically selected native Rust profile.
set_dependency
source_catalog
Builds a path-backed source catalog for one project and its installed Hara dependencies.
source_catalogs
Builds a path-backed source catalog for several ordered project layers. Each project contributes its verified installed dependencies first, followed by its own source paths; later project layers take precedence.
source_resources
Returns namespace resources from installed dependencies followed by the automatically selected native Rust profile of the consuming project.
sync_lock
Creates or validates the lockfile for graphs that need no remote packages. Remote graphs deliberately stop here until the reviewed registry and identity clients can provide the required signed release metadata.