Skip to main content

Module bridge

Module bridge 

Source
Expand description

JSON-RPC 2.0 bridge for host communication.

When harn run --bridge is used, the VM delegates builtins (llm_call, file I/O, tool execution) to a host process over stdin/stdout JSON-RPC. The host application handles these requests using its own providers.

Structs§

HostBridge
A JSON-RPC 2.0 bridge to a host process over stdin/stdout.
QueuedUserMessage

Enums§

DeliveryCheckpoint
QueuedUserMessageMode

Functions§

json_result_to_vm_value
Convert a serde_json::Value to a VmValue.