@lore-co/adapter-generic 0.1.0 → 0.1.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 +13 -1
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
Host-controlled bridge for services that own their agent runtime.
|
|
4
4
|
|
|
5
|
+
## Install
|
|
6
|
+
|
|
5
7
|
```sh
|
|
6
8
|
pnpm add @lore-co/adapter-generic
|
|
7
9
|
```
|
|
@@ -32,4 +34,14 @@ stable connector, event, and session identities. `observeEvent`,
|
|
|
32
34
|
delivered memories. `prepareTask` remains as a legacy compatibility path.
|
|
33
35
|
Model and MCP policy stays with the host application.
|
|
34
36
|
|
|
35
|
-
|
|
37
|
+
## Production guidance
|
|
38
|
+
|
|
39
|
+
- Keep the workspace token in server-side secrets.
|
|
40
|
+
- Persist stable connector, event, and session IDs for safe retries.
|
|
41
|
+
- Call `prepareDelivery` before the model request and record observations after
|
|
42
|
+
the model turn.
|
|
43
|
+
- Keep model-provider and MCP authorization decisions in the host application.
|
|
44
|
+
|
|
45
|
+
Node.js 22 or newer is required. See
|
|
46
|
+
[generic host integrations](../../../docs/detailed.md#generic-host-integrations) for
|
|
47
|
+
complete examples.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lore-co/adapter-generic",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"description": "Host-controlled adapter for auditable Lore agent integrations",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -29,8 +29,8 @@
|
|
|
29
29
|
],
|
|
30
30
|
"license": "FSL-1.1-MIT",
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@lore-co/core": "0.1.
|
|
33
|
-
"@lore-co/sdk": "0.1.
|
|
32
|
+
"@lore-co/core": "0.1.2",
|
|
33
|
+
"@lore-co/sdk": "0.1.2"
|
|
34
34
|
},
|
|
35
35
|
"scripts": {
|
|
36
36
|
"dev": "tsc -p tsconfig.json --watch --preserveWatchOutput",
|