@mowaos/kernel 0.5.1 → 0.5.2
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 +1 -1
- package/dist/types.d.ts +1 -1
- package/package.json +1 -1
- package/wasm/.kernel-source-tag +1 -1
- package/wasm/mowa_wasm_bg.wasm +0 -0
package/README.md
CHANGED
|
@@ -10,7 +10,7 @@ npm install @mowaos/kernel
|
|
|
10
10
|
import { loadKernel } from "@mowaos/kernel";
|
|
11
11
|
|
|
12
12
|
const kernel = await loadKernel();
|
|
13
|
-
kernel.kernelVersion(); // "0.5.
|
|
13
|
+
kernel.kernelVersion(); // "0.5.2"
|
|
14
14
|
```
|
|
15
15
|
|
|
16
16
|
`loadKernel()` returns the kernel's JSON boundary: `loadFlowJson`, `startJson`, `advanceJson`, `dedupKeyJson` and `kernelVersion`. Each call takes and returns a JSON string, as described in the [kernel specification](https://github.com/mowaos/mowa-kernel/blob/main/docs/kernel-spec.md) and [host contract](https://github.com/mowaos/mowa-kernel/blob/main/docs/host-contract.md). The first call loads the binary; later calls return the same instance.
|
package/dist/types.d.ts
CHANGED
|
@@ -14,7 +14,7 @@ export interface MowaKernel {
|
|
|
14
14
|
advanceJson(input: string): string;
|
|
15
15
|
/** `{op, sessionId, event}` → `{status: "OK", dedupKey, intentHash}` */
|
|
16
16
|
dedupKeyJson(input: string): string;
|
|
17
|
-
/** The kernel version, e.g. `"0.5.
|
|
17
|
+
/** The kernel version, e.g. `"0.5.2"`. It is recorded in every audit record. */
|
|
18
18
|
kernelVersion(): string;
|
|
19
19
|
}
|
|
20
20
|
/** Where the browser entry gets the `.wasm` binary from. */
|
package/package.json
CHANGED
package/wasm/.kernel-source-tag
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
v0.5.
|
|
1
|
+
v0.5.2
|
package/wasm/mowa_wasm_bg.wasm
CHANGED
|
Binary file
|