@agentshouse/mdruntime 0.1.0-c7274d650bd05 → 0.1.0-c7bd7ca3faee4
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/AGENTS.md +1 -1
- package/README.md +2 -2
- package/package.json +2 -2
package/AGENTS.md
CHANGED
|
@@ -227,7 +227,7 @@ the network. Data lives only in the App Creator's browser and with the Provider.
|
|
|
227
227
|
## App code takes the client its host hands it and never constructs a Runtime
|
|
228
228
|
|
|
229
229
|
App code takes the client its host hands it: in House,
|
|
230
|
-
`
|
|
230
|
+
`houseBridge().runtime` from `@agentshouse/app-bridge` resolves to the
|
|
231
231
|
client House built into the page. It never constructs a Runtime or a client.
|
|
232
232
|
It imports only types from `@agentshouse/mdruntime/client`, does not call
|
|
233
233
|
`connectMdRuntime` or `serveMdRuntime`, and does not import the package main,
|
package/README.md
CHANGED
|
@@ -25,9 +25,9 @@ npm install @agentshouse/mdruntime
|
|
|
25
25
|
App code takes the client its host hands it; in House the App bridge hands it:
|
|
26
26
|
|
|
27
27
|
```ts
|
|
28
|
-
import {
|
|
28
|
+
import { houseBridge } from '@agentshouse/app-bridge';
|
|
29
29
|
|
|
30
|
-
const runtime = await
|
|
30
|
+
const runtime = await houseBridge().runtime;
|
|
31
31
|
const rooms = await runtime.rooms();
|
|
32
32
|
const notes = await runtime.query({ types: ['note'], select: 'all', limit: 20 });
|
|
33
33
|
```
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agentshouse/mdruntime",
|
|
3
|
-
"version": "0.1.0-
|
|
3
|
+
"version": "0.1.0-c7bd7ca3faee4",
|
|
4
4
|
"description": "The headless core of MD App",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"LICENSE"
|
|
42
42
|
],
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@agentshouse/mdmodel": "0.1.0-
|
|
44
|
+
"@agentshouse/mdmodel": "0.1.0-c896b3d9398b1",
|
|
45
45
|
"@tanstack/db": "0.9.2",
|
|
46
46
|
"minisearch": "7.2.0"
|
|
47
47
|
},
|