Expand description
Standard library builtins for the Harn VM.
Modules§
- agent_
state - asset_
paths - Re-export of
harn_modules::asset_pathsplus a VM-side convenience that anchors the project-root walk at the currently-executing source file (viaVM_SOURCE_DIR) and falls back to the existing source-relative resolver when the path is not an@-prefixed asset reference. - host
- long_
running - process
- secret_
scan - template
- Prompt-template engine for
.harn.promptassets and therender/render_promptbuiltins. - tracing
- workflow_
messages
Functions§
- register_
agent_ stdlib - Register agent builtins (requires network access and async runtime).
- register_
core_ stdlib - Register core builtins: pure/deterministic, no I/O.
- register_
io_ stdlib - Register I/O builtins (requires OS access).
- register_
vm_ stdlib - Register all standard builtins on a VM (core + io + agent).
- reset_
stdlib_ state - Reset thread-local stdlib state. Call between test runs.
- stdlib_
builtin_ metadata - Return discoverable metadata for registered stdlib builtins.
- stdlib_
builtin_ names - Return the canonical list of all stdlib builtin names. Used by harn-lint and harn-lsp to avoid hardcoded duplicate lists.