Skip to main content

Crate harn_cli

Crate harn_cli 

Source

Modules§

acp
cli
Top-level clap definition for the harn CLI.
commands
config
Lightweight harn.toml loader for harn fmt, harn lint, and harn eval prompt --fleet-name <name>.
env_guard
format
Shared, lightweight formatting helpers for CLI commands.
json_envelope
Canonical JSON envelope for harn CLI commands.
package
skill_loader
CLI-side glue that assembles harn-vm’s layered skill discovery from the inputs harn run / harn test / harn check see at startup: repeatable --skill-dir, $HARN_SKILLS_PATH, the nearest harn.toml, and the user’s home / system directories.
skill_provenance
test_runner

Structs§

EmbeddedSkill
A single skill embedded into the Harn build.
SkillFrontmatter
Frontmatter fields embedded with each bundled skill.

Constants§

CLI_RUNTIME_STACK_SIZE

Functions§

get_embedded_skill
Return one bundled skill by canonical skill name.
list_embedded_skills
Return every skill bundled into this build.
run
Entry point used by src/main.rs. Hosts the CLI runtime thread and drives the async dispatcher in async_main.