Expand description
Canonical embedded Harn standard library source catalog.
This crate intentionally contains only static source strings so runtime and static tooling crates can share the same stdlib modules without depending on each other.
Structs§
- Stdlib
CliScript - Embedded
.harnscript that backs a CLI subcommand. Looked up by theharn-clidispatch wedge (see harn#2293 epic and harn#2294 G1) so subcommands can ship in Harn instead of Rust. - Stdlib
Entrypoint Module - Stdlib
Prompt Asset - Stdlib
Public Function - Stdlib
Source
Constants§
- CONNECTOR_
EVENT_ SCHEMAS_ SOURCE - Canonical normalized connector event schemas, authored as Harn
typedeclarations. This is the SOURCE OF TRUTH for the Rust event-payload structs incrates/harn-vm/src/triggers/event/schemas_generated.rs, which are generated from these declarations byharn connector-schema-codegen. - STDLIB_
CLI_ SCRIPTS - STDLIB_
PROMPT_ ASSETS - STDLIB_
SOURCES
Functions§
- entrypoint_
modules - find_
cli_ script - Find an embedded CLI subcommand script by name. Returns the embedded
source string when present, or
Noneif no script with that name is registered inSTDLIB_CLI_SCRIPTS. - get_
stdlib_ prompt_ asset - get_
stdlib_ source - public_
functions_ for_ module