Re-exports§
pub use checkpoint::register_checkpoint_builtins;pub use llm::register_llm_builtins;pub use mcp::connect_mcp_server;pub use mcp::register_mcp_builtins;pub use mcp_server::take_mcp_serve_registry;pub use mcp_server::tool_registry_to_mcp_tools;pub use mcp_server::McpServer;pub use metadata::register_metadata_builtins;pub use metadata::register_scan_builtins;pub use stdlib::register_agent_stdlib;pub use stdlib::register_core_stdlib;pub use stdlib::register_io_stdlib;pub use stdlib::register_vm_stdlib;pub use store::register_store_builtins;pub use value::*;
Modules§
- bridge
- JSON-RPC 2.0 bridge for host communication.
- bridge_
builtins - Bridge-mode builtins that delegate to the host process via JSON-RPC.
- checkpoint
- Checkpoint system for resilient pipeline execution.
- llm
- LLM integration: API calls, streaming, agent loops, tool handling, and tracing.
- llm_
config - mcp
- MCP (Model Context Protocol) client for connecting to external tool servers.
- mcp_
server - MCP server mode: expose Harn tool registries as MCP tools over stdio.
- metadata
- Project metadata store for
.burin/metadata/sharded JSON files. - stdlib
- Standard library builtins for the Harn VM.
- stdlib_
modules - store
- Persistent key-value store backed by
.harn/store.json. - value
Structs§
- Chunk
- A compiled chunk of bytecode.
- Compile
Error - Compile error.
- Compiled
Function - A compiled function (closure body).
- Compiler
- Compiles an AST into bytecode.
- Debug
State - Information about current execution state for the debugger.
- Vm
- The Harn bytecode virtual machine.
Enums§
- Constant
- A constant value in the constant pool.
- Debug
Action - Debug action returned by the debug hook.
- Op
- Bytecode opcodes for the Harn VM.
Functions§
- register_
http_ builtins - Register HTTP builtins on a VM.
- reset_
http_ state - Reset thread-local HTTP mock state. Call between test runs.
- reset_
thread_ local_ state - Reset all thread-local state that can leak between test runs. Call this before each test execution for proper isolation.