@agentshouse/app-bridge 0.1.0-cfb240c3fb89d → 0.1.0-cfbb4f5408379

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -40,10 +40,11 @@ async function manageSecurity(securityPath) {
40
40
  }
41
41
  ```
42
42
 
43
- `bridge.runtime` resolves to the `MdRuntimeClient` of
44
- `@agentshouse/mdruntime/client`, whose README describes its members. Its
45
- `call(name, input)` reaches House: `HouseCalls` names each Call an App makes
46
- and the input it takes, such as `call('member.list', { room_ref })`.
43
+ `bridge.runtime` resolves to the `MdRuntimeClient` of `@agentshouse/mdruntime/client`,
44
+ whose README describes its members. Its `call(method, params)` is a remote procedure call
45
+ to House, such as `call('member.list', { room_ref })`: `HouseMethods` names each method,
46
+ the House act's name, with the `params` the App sends and the `result` House returns.
47
+ `HouseParams<Name>` is a method's params and `HouseResult<Name>` what its call resolves with.
47
48
 
48
49
  ## Test without a House
49
50