Right now the interface between the WASM plugins and the client is defined as a json spec, which is read at runtime and each time the client loads a plugin and then compares the functions exported by the wasm plugin to the json defined spec.
Description
Instead of using a json spec for defining the interface between the client and the WASM plugins, the spec should be defined in WIT.
Acceptance Criteria
The plugins have a minimal interface defined.
The client is able to use this interface to interact with the plugin implementation
Context
Right now the interface between the WASM plugins and the client is defined as a json spec, which is read at runtime and each time the client loads a plugin and then compares the functions exported by the wasm plugin to the json defined spec.
Description
Instead of using a json spec for defining the interface between the client and the WASM plugins, the spec should be defined in WIT.
Acceptance Criteria
The plugins have a minimal interface defined. The client is able to use this interface to interact with the plugin implementation