Skip to main content

Module wasm_hooks

Module wasm_hooks 

Source
Expand description

WASM extension event hooks — types and hook manager.

Provides bridge types for communication between WASM extensions and oxicode’s TUI/agent. Extensions call oxicode_notify and oxicode_send_message host functions that push to these queues; the TUI/agent loop drains them.

Structs§

PendingMessage
A pending message injection from a WASM extension.
PendingNotification
A pending notification from a WASM extension to be shown in TUI.
ToolCallHookResult
Result from a tool_call hook.
ToolResultHookResult
Result from a tool_result hook.
WasmHookManager
Manages hook dispatching to WASM extensions.