@lore-co/core 0.1.0 → 0.1.1
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 +9 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -2,10 +2,18 @@
|
|
|
2
2
|
|
|
3
3
|
Runtime schemas and shared types for Lore's engineering-memory APIs.
|
|
4
4
|
|
|
5
|
+
Install it when building a custom Lore integration that needs the public request
|
|
6
|
+
and response schemas:
|
|
7
|
+
|
|
8
|
+
```sh
|
|
9
|
+
pnpm add @lore-co/core
|
|
10
|
+
```
|
|
11
|
+
|
|
5
12
|
```ts
|
|
6
13
|
import { PairedTurnRequestSchema } from "@lore-co/core";
|
|
7
14
|
|
|
8
15
|
const turn = PairedTurnRequestSchema.parse(input);
|
|
9
16
|
```
|
|
10
17
|
|
|
11
|
-
|
|
18
|
+
Most applications should use [`@lore-co/sdk`](../sdk/README.md) instead of
|
|
19
|
+
calling these schemas directly. Node.js 22 or newer is required.
|