capsule_runtime/
bindings.rs1pub mod host {
2 wasmtime::component::bindgen!({
3 path: "wit/host",
4 world: "runtime-host",
5 });
6}
7
8pub mod tool_host {
11 wasmtime::component::bindgen!({
12 path: "wit/host",
13 world: "tool-host",
14 imports: { default: async },
15 with: {
16 "murmur:process/process.connection": crate::session_process::Connection,
17 },
18 });
19}
20
21pub mod hook {
22 wasmtime::component::bindgen!({
23 path: "wit/hook",
24 world: "hook",
25 });
26}
27
28pub mod process_driver {
29 wasmtime::component::bindgen!({
30 path: "wit/process-driver",
31 world: "process-driver",
32 exports: { default: async },
33 });
34}