Expand description
storage capability module — persistent key-value storage (host-delegated).
Functions: get, set, delete, keys.
All storage operations are host-delegated — the runtime host manages actual
persistence via env.host_call(cap_id=2, fn_id, payload). This module
validates arguments and returns CapabilityCall errors to signal the
caller to route the call to the host.
§Cap ID / Fn ID Mapping
| fn_id | Function |
|---|---|
| 1 | get |
| 2 | set |
| 3 | delete |
| 4 | keys |
Structs§
- Storage
Module - The
storagecapability module.