capsule-runtime 0.6.0

The runtime that executes Murmur capsules. Runs packaged AI agents in isolation, enforcing WASI capability grants on a Wasmtime component sandbox.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
package murmur:shell@0.1.0;

interface execute {
  record shell-result {
    exit-code: s32,
    stdout: string,
    stderr: string,
    truncated: bool,
    full-output-path: option<string>,
  }

  run: func(
    binary: string,
    args: list<string>,
    env: list<tuple<string, string>>,
  ) -> result<shell-result, string>;
}