@agentshouse/mdruntime 0.1.0-ce531b51ff088 → 0.1.0-cec6690d5712e
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 +121 -29
- package/README.md +21 -11
- package/dist/adapter.d.ts +65 -28
- package/dist/adapter.d.ts.map +1 -1
- package/dist/adapter.js +1 -9
- package/dist/attached-model.d.ts +11 -0
- package/dist/attached-model.d.ts.map +1 -0
- package/dist/attached-model.js +47 -0
- package/dist/attempt.d.ts +16 -0
- package/dist/attempt.d.ts.map +1 -0
- package/dist/attempt.js +57 -0
- package/dist/bootstrap.d.ts +20 -6
- package/dist/bootstrap.d.ts.map +1 -1
- package/dist/bootstrap.js +89 -35
- package/dist/change-set.d.ts.map +1 -1
- package/dist/change-set.js +13 -7
- package/dist/change.d.ts +4 -0
- package/dist/change.d.ts.map +1 -1
- package/dist/chat/acts.d.ts +34 -0
- package/dist/chat/acts.d.ts.map +1 -0
- package/dist/chat/acts.js +36 -0
- package/dist/chat/context.d.ts +3 -0
- package/dist/chat/context.d.ts.map +1 -0
- package/dist/chat/context.js +10 -0
- package/dist/chat/input.d.ts +9 -0
- package/dist/chat/input.d.ts.map +1 -0
- package/dist/chat/input.js +99 -0
- package/dist/chat/kit.d.ts +60 -0
- package/dist/chat/kit.d.ts.map +1 -0
- package/dist/chat/kit.js +123 -0
- package/dist/chat/lasting.d.ts +6 -0
- package/dist/chat/lasting.d.ts.map +1 -0
- package/dist/chat/lasting.js +19 -0
- package/dist/chat/list.d.ts +20 -0
- package/dist/chat/list.d.ts.map +1 -0
- package/dist/chat/list.js +59 -0
- package/dist/chat/markdown.d.ts +19 -0
- package/dist/chat/markdown.d.ts.map +1 -0
- package/dist/chat/markdown.js +187 -0
- package/dist/chat/message.d.ts +6 -0
- package/dist/chat/message.d.ts.map +1 -0
- package/dist/chat/message.js +192 -0
- package/dist/chat/messages.d.ts +21 -0
- package/dist/chat/messages.d.ts.map +1 -0
- package/dist/chat/messages.js +151 -0
- package/dist/chat/name.d.ts +6 -0
- package/dist/chat/name.d.ts.map +1 -0
- package/dist/chat/name.js +37 -0
- package/dist/chat/opened.d.ts +11 -0
- package/dist/chat/opened.d.ts.map +1 -0
- package/dist/chat/opened.js +17 -0
- package/dist/chat/overlay.d.ts +31 -0
- package/dist/chat/overlay.d.ts.map +1 -0
- package/dist/chat/overlay.js +97 -0
- package/dist/chat/parts.d.ts +57 -0
- package/dist/chat/parts.d.ts.map +1 -0
- package/dist/chat/parts.js +119 -0
- package/dist/chat/process.d.ts +20 -0
- package/dist/chat/process.d.ts.map +1 -0
- package/dist/chat/process.js +32 -0
- package/dist/chat/provider.d.ts +63 -0
- package/dist/chat/provider.d.ts.map +1 -0
- package/dist/chat/provider.js +645 -0
- package/dist/chat/question.d.ts +9 -0
- package/dist/chat/question.d.ts.map +1 -0
- package/dist/chat/question.js +80 -0
- package/dist/chat/questions.d.ts +31 -0
- package/dist/chat/questions.d.ts.map +1 -0
- package/dist/chat/questions.js +111 -0
- package/dist/chat/read.d.ts +5 -0
- package/dist/chat/read.d.ts.map +1 -0
- package/dist/chat/read.js +13 -0
- package/dist/chat/ready.d.ts +33 -0
- package/dist/chat/ready.d.ts.map +1 -0
- package/dist/chat/ready.js +91 -0
- package/dist/chat/style.d.ts +4 -0
- package/dist/chat/style.d.ts.map +1 -0
- package/dist/chat/style.js +302 -0
- package/dist/chat.d.ts +14 -0
- package/dist/chat.d.ts.map +1 -0
- package/dist/chat.js +8 -0
- package/dist/client.d.ts +12 -7
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +64 -25
- package/dist/collection.d.ts +6 -11
- package/dist/collection.d.ts.map +1 -1
- package/dist/collection.js +56 -19
- package/dist/connection.d.ts +21 -16
- package/dist/connection.d.ts.map +1 -1
- package/dist/connection.js +713 -587
- package/dist/conversation.d.ts +28 -8
- package/dist/conversation.d.ts.map +1 -1
- package/dist/conversation.js +222 -81
- package/dist/expectation.d.ts +21 -0
- package/dist/expectation.d.ts.map +1 -0
- package/dist/expectation.js +70 -0
- package/dist/failure.d.ts +13 -0
- package/dist/failure.d.ts.map +1 -0
- package/dist/failure.js +19 -0
- package/dist/host.d.ts +8 -1
- package/dist/host.d.ts.map +1 -1
- package/dist/host.js +39 -39
- package/dist/identity.d.ts +2 -0
- package/dist/identity.d.ts.map +1 -1
- package/dist/identity.js +10 -1
- package/dist/index.d.ts +7 -4
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -0
- package/dist/memory.d.ts +12 -5
- package/dist/memory.d.ts.map +1 -1
- package/dist/memory.js +108 -36
- package/dist/model.d.ts +13 -12
- package/dist/model.d.ts.map +1 -1
- package/dist/model.js +6 -3
- package/dist/observation.d.ts +2 -0
- package/dist/observation.d.ts.map +1 -1
- package/dist/observation.js +24 -14
- package/dist/open.d.ts +2 -0
- package/dist/open.d.ts.map +1 -0
- package/dist/open.js +1 -0
- package/dist/outcome.d.ts +22 -3
- package/dist/outcome.d.ts.map +1 -1
- package/dist/outcome.js +35 -1
- package/dist/overlay.d.ts +1 -1
- package/dist/overlay.d.ts.map +1 -1
- package/dist/overlay.js +19 -15
- package/dist/paths.d.ts +0 -1
- package/dist/paths.d.ts.map +1 -1
- package/dist/paths.js +0 -16
- package/dist/query.d.ts +10 -3
- package/dist/query.d.ts.map +1 -1
- package/dist/query.js +78 -36
- package/dist/reach.d.ts +40 -0
- package/dist/reach.d.ts.map +1 -0
- package/dist/reach.js +272 -0
- package/dist/react.d.ts +41 -0
- package/dist/react.d.ts.map +1 -0
- package/dist/react.js +64 -0
- package/dist/read-side.d.ts +4 -0
- package/dist/read-side.d.ts.map +1 -1
- package/dist/read-side.js +116 -54
- package/dist/refresh.d.ts +12 -1
- package/dist/refresh.d.ts.map +1 -1
- package/dist/refresh.js +35 -22
- package/dist/replica.d.ts +6 -6
- package/dist/replica.d.ts.map +1 -1
- package/dist/replica.js +53 -39
- package/dist/room-draft.d.ts +11 -8
- package/dist/room-draft.d.ts.map +1 -1
- package/dist/room-draft.js +19 -26
- package/dist/rows.d.ts +4 -1
- package/dist/rows.d.ts.map +1 -1
- package/dist/rows.js +82 -39
- package/dist/save.d.ts +4 -3
- package/dist/save.d.ts.map +1 -1
- package/dist/save.js +127 -68
- package/dist/search.d.ts +3 -2
- package/dist/search.d.ts.map +1 -1
- package/dist/status.d.ts +2 -2
- package/dist/status.d.ts.map +1 -1
- package/dist/status.js +0 -8
- package/dist/store.d.ts +26 -2
- package/dist/store.d.ts.map +1 -1
- package/dist/store.js +206 -90
- package/dist/wire.d.ts +56 -19
- package/dist/wire.d.ts.map +1 -1
- package/dist/wire.js +63 -61
- package/package.json +23 -3
package/AGENTS.md
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
# Instructions for the App Creator's agent
|
|
2
2
|
|
|
3
3
|
These instructions address an agent in an environment with Git. Obtain the
|
|
4
|
-
App Repository, change it, build, and push. They are documentation, not
|
|
5
|
-
enforcement.
|
|
4
|
+
App Repository, change it, build, and push. They are documentation, not enforcement.
|
|
6
5
|
|
|
7
6
|
## The MD Runtime API
|
|
8
7
|
|
|
@@ -10,7 +9,16 @@ App code reaches the MD Runtime through the remote client. The surfaces are
|
|
|
10
9
|
Rooms, Query, Search, Observe, Types, Room Draft, Save, History, Call, Reached, Log,
|
|
11
10
|
the reported persistence answer, reauthorization, conversation, the chat draft,
|
|
12
11
|
and Presentation State. Sync Status, the Service Mode, the storage-loss
|
|
13
|
-
statement
|
|
12
|
+
statement, the deployment facts and the signed-in member are observations only.
|
|
13
|
+
|
|
14
|
+
The host attaches each port with its reach, and every member and observation
|
|
15
|
+
answers within it: a Room outside it answers as one the replica does not hold,
|
|
16
|
+
Rooms lists only the Rooms reached whole, a Room reached for single Documents
|
|
17
|
+
shows only those Documents and the Types of the models that govern them, and
|
|
18
|
+
without conversations the conversation members, the chat draft and the
|
|
19
|
+
conversation observation hold none.
|
|
20
|
+
A change of the reach reaches every open observation as its new value, a query
|
|
21
|
+
keeping every unchanged Document the same object.
|
|
14
22
|
|
|
15
23
|
Every `observe` resolves, once its first value has arrived, to a handle:
|
|
16
24
|
`current()` is the latest complete value, `subscribe(listener)` hears each later
|
|
@@ -18,7 +26,13 @@ value whole and returns its unsubscribe, and `close()` ends the observation.
|
|
|
18
26
|
Closing the port ends every handle and rejects every pending call and
|
|
19
27
|
observation; a client that reconnects observes again.
|
|
20
28
|
|
|
21
|
-
|
|
29
|
+
`observe('agents')` answers every Agent a new conversation can go to, each
|
|
30
|
+
`{ identity, name }`, whether or not it has a conversation yet.
|
|
31
|
+
Each conversation the Provider's conversation list names is held complete in the
|
|
32
|
+
browser. `conversation.list()` and `observe('conversations')` answer each with its
|
|
33
|
+
Agent's identity and name, its name, created and finished times, last outcome and live
|
|
34
|
+
`state`: `asking` while a question waits, `working` while a turn runs, else `idle`,
|
|
35
|
+
and `started`, when the running turn began, or `null`.
|
|
22
36
|
Observe one with `observe('conversation', id, { limit })`: the view
|
|
23
37
|
holds its latest `limit` messages, or all of them, oldest first, its chat
|
|
24
38
|
draft, and what the Provider streams for it whether or not anything views it:
|
|
@@ -38,21 +52,42 @@ open one through the Provider Action that serves it.
|
|
|
38
52
|
|
|
39
53
|
Rooms, Query, Search, Observe, Types, Room Draft, Save, and Reached never
|
|
40
54
|
touch the network.
|
|
41
|
-
History and Call go to the Provider through the Adapter.
|
|
55
|
+
History and Call go to the Provider through the Adapter. Call takes the Action names
|
|
56
|
+
the Adapter declares; any other name answers `undeclared` without reaching the
|
|
57
|
+
Provider. A Call result whose
|
|
42
58
|
effect the Provider places in a Room carries `at`, that Room and Room Version;
|
|
43
59
|
`reached(room, roomVersion)` answers whether the Room's confirmed state has
|
|
44
60
|
reached it, and the MD Runtime keeps refreshing that Room until it has;
|
|
45
61
|
`reached(room, roomVersion, path)` answers whether the held confirmed copy of
|
|
46
62
|
that document was written at a later Room Version. Each History revision
|
|
47
|
-
names its author, `{ kind: 'user', id }` or `{ kind: 'site', id, name }`.
|
|
63
|
+
names its author, `{ kind: 'user', id }` or `{ kind: 'site', id, name }`.
|
|
64
|
+
History of a Path no current document holds answers the removed document's
|
|
65
|
+
revisions with `deleted: true`, newest first; that revision is what a link to
|
|
66
|
+
the Path opens. Every
|
|
48
67
|
member of the
|
|
49
68
|
client is asynchronous. Results are detached snapshots. Nothing in this
|
|
50
69
|
surface returns the authorization, performs a request the App's code
|
|
51
70
|
composes, or exposes the browser store.
|
|
52
71
|
|
|
72
|
+
Every refusal and failure carries `code` and `retryable`: each Call and History answer
|
|
73
|
+
other than its result, a refused Save or Room Draft write, a returned Room Draft's
|
|
74
|
+
reason, a Room's refusal and the Connection Refusal, and every error a member rejects
|
|
75
|
+
with, beside its message. A Provider refusal carries the Provider's own `retryable`.
|
|
76
|
+
Every code and every value the API answers is open: handle one you do not know by its
|
|
77
|
+
`code` and `retryable`.
|
|
78
|
+
|
|
53
79
|
Read the deployment facts with `observe('deployment-facts')`. Interpret the
|
|
54
80
|
opaque value using the host's contract.
|
|
55
81
|
|
|
82
|
+
`observe('member')` answers who uses the App: the User the Provider signed in,
|
|
83
|
+
`{ kind: 'user', id, name }` in the shape of a change's `author`, so a Document
|
|
84
|
+
whose `change.author.id` equals its `id` is that User's own. It is `null` until
|
|
85
|
+
the Provider first names one, and where it names none, such as a Site. The
|
|
86
|
+
MD Runtime keeps it with the Local Replicas, so it answers offline once known,
|
|
87
|
+
and every port hears the next member the Provider names; signing out answers
|
|
88
|
+
`null`, then ends the observation with the authorization. It is the only way App code learns who
|
|
89
|
+
uses it.
|
|
90
|
+
|
|
56
91
|
The in-memory Adapter at `@agentshouse/mdruntime/memory` is for tests and
|
|
57
92
|
ships in no bundle.
|
|
58
93
|
|
|
@@ -66,22 +101,28 @@ data:
|
|
|
66
101
|
- **Filter.** `rooms` names Room locators and defaults to every Room. `types`
|
|
67
102
|
names MD Types, and `any` names untyped Markdown Documents. `pathPrefix` is a
|
|
68
103
|
directory: `notes` keeps `notes/a.md` and not `notes2/a.md`.
|
|
69
|
-
- **Fields.**
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
104
|
+
- **Fields.** Every frontmatter value is named by JSON Pointer: `/status`,
|
|
105
|
+
`/shipping/city`, `~1` for a `/` and `~0` for a `~` in a key. A segment that
|
|
106
|
+
meets a list applies to every item and a number names one item. `where` names
|
|
107
|
+
pointers, ANDs them, and nests `$and` and `$or`; a pointer through a list holds
|
|
108
|
+
when any item satisfies it. A bare value is equality; the operators are `$eq`,
|
|
109
|
+
`$ne`, `$in`, `$nin`, `$gt`, `$gte`, `$lt`, `$lte`, `$all`, `$size` and
|
|
110
|
+
`$exists`. Equality on a list asks whether it contains the value. Missing, null and empty differ:
|
|
73
111
|
`$exists: false` keeps a missing field, `null` an explicit null, `''` empty
|
|
74
112
|
text and `$size: 0` an empty list. A date compares in calendar order and never
|
|
75
113
|
with a date-time. A reference compares by the Room Path it resolves to.
|
|
76
|
-
Untyped frontmatter
|
|
114
|
+
Untyped frontmatter, and a value under `oneOf` or a conditional, is plain
|
|
115
|
+
values. There is no text containment or regular
|
|
77
116
|
expression.
|
|
78
117
|
- **Relations.** `hop: { field, types, where, pathPrefix }` keeps Documents whose
|
|
79
|
-
reference `field
|
|
80
|
-
`backlinks: { field, types, where, pathPrefix }` keeps Documents that a
|
|
118
|
+
reference at pointer `field`, at any depth, points to a matching Document of the
|
|
119
|
+
same Room. `backlinks: { field, types, where, pathPrefix }` keeps Documents that a
|
|
81
120
|
matching Document of the same Room references. Each keeps a Document once.
|
|
82
121
|
- **Parts.** A Document query must `select`: `'all'`, or `fields`, `sections`,
|
|
83
|
-
`preamble`, `markdown`, `backlinks` and `change`, where `fields`
|
|
84
|
-
|
|
122
|
+
`preamble`, `markdown`, `backlinks` and `change`, where `fields` is `'all'` or a
|
|
123
|
+
list of pointers and `sections` `'all'` or a list of names. Selected pointers
|
|
124
|
+
return the frontmatter holding only them, nested as written. A backlink names
|
|
125
|
+
the referring Path, MD Type and the pointer it came from as `field`. Room and Path always return; a Markdown
|
|
85
126
|
Document also returns its MD Type. A non-Markdown Document or binary link
|
|
86
127
|
target returns only Room and Path. An unselected part is absent. Select only
|
|
87
128
|
what a screen shows: a list that selects the Markdown hears every edit of it.
|
|
@@ -90,17 +131,17 @@ data:
|
|
|
90
131
|
or `null` for a write the Provider made itself, and `time` is the Provider's
|
|
91
132
|
ISO 8601 change time. It is `null` where the Provider delivered no time, as at
|
|
92
133
|
a Site. An unsent edit or move keeps it, an unsent creation has none, and a
|
|
93
|
-
saved write takes the Provider's own once it is Accepted
|
|
134
|
+
saved write takes the Provider's own once it is Accepted. A
|
|
94
135
|
Room's last change is its Document with the latest `time`.
|
|
95
136
|
- **Order and groups.** `orderBy` sorts by `room`, `path`, `type` or `{ field }`
|
|
96
137
|
with TanStack DB's own options, and ties end with Room, then Path. `groupBy` by
|
|
97
138
|
`room`, `type` or `{ field }` answers `{ groups: [{ key, count }] }`, counted
|
|
98
|
-
over every match and ordered by `count` or a key.
|
|
99
|
-
or the groups.
|
|
139
|
+
over every match and ordered by `count` or a key. A sort or group takes only a
|
|
140
|
+
pointer that holds one value. `limit` bounds the Documents or the groups.
|
|
100
141
|
- **Results and errors.** A result carries no Room Version: read freshness from
|
|
101
|
-
Rooms and Sync Status. An invalid query fails with `
|
|
102
|
-
`unknown-type`, `unknown-field` or `wrong-kind`, naming where,
|
|
103
|
-
answers an empty result in its place.
|
|
142
|
+
Rooms and Sync Status. An invalid query fails with the `code`
|
|
143
|
+
`invalid-query`, `unknown-type`, `unknown-field` or `wrong-kind`, naming where,
|
|
144
|
+
and never answers an empty result in its place.
|
|
104
145
|
|
|
105
146
|
## Local Search rules
|
|
106
147
|
|
|
@@ -138,9 +179,9 @@ the current Room Draft; read it and write again.
|
|
|
138
179
|
|
|
139
180
|
Save takes one Room and the Room Drafts of it to save, each with its revision,
|
|
140
181
|
validates locally, and on success appends one Change Batch to that Room's
|
|
141
|
-
queue and removes those Room Drafts. It is refused
|
|
182
|
+
queue and removes those Room Drafts. It is refused with the `code` `stale`,
|
|
142
183
|
`changed-underneath` naming each part whose base no longer matches the visible
|
|
143
|
-
state, or
|
|
184
|
+
state, or a local validation rule, and then creates nothing and leaves every
|
|
144
185
|
Room Draft in place. A directory move or removal is a move or removal part on
|
|
145
186
|
each Document and binary link target beneath it, saved together.
|
|
146
187
|
|
|
@@ -160,6 +201,13 @@ it names; the MD Runtime retries the same Change Batch identity and payload and
|
|
|
160
201
|
never infers an outcome from transport uncertainty. The MD Runtime never
|
|
161
202
|
combines, reorders, or rebases.
|
|
162
203
|
|
|
204
|
+
On a Site, every Save stays in the visitor's browser. Write grants and
|
|
205
|
+
revisions do not refuse it, and its Pending Change shows in every query and
|
|
206
|
+
across reloads until the browser's storage is cleared. It is never sent:
|
|
207
|
+
`observe('queue', room)` shows it `local`, and Sync Status never waits on it.
|
|
208
|
+
Once the Room changes so that it no longer applies, it leaves the queue and
|
|
209
|
+
returns no Room Draft.
|
|
210
|
+
|
|
163
211
|
`observe('service-mode')` answers the Provider's Service
|
|
164
212
|
Mode, `open` or `write-halted`. While writes are halted, Save still succeeds,
|
|
165
213
|
its Change Batch waits unsent, and the queue is submitted in order once the
|
|
@@ -193,13 +241,57 @@ an App's override respected. What an App Creator's agent adds carries none
|
|
|
193
241
|
of these promises by itself. Reading, querying and searching never wait for
|
|
194
242
|
the network. Data lives only in the App Creator's browser and with the Provider.
|
|
195
243
|
|
|
196
|
-
## App code
|
|
244
|
+
## App code takes the client its host hands it and never constructs a Runtime
|
|
245
|
+
|
|
246
|
+
App code takes the client its host hands it: in House, `houseBridge().runtime`
|
|
247
|
+
from `@agentshouse/app-bridge` resolves to the client House built into the page.
|
|
248
|
+
It never constructs a Runtime or a client. It imports only types from
|
|
249
|
+
`@agentshouse/mdruntime/client`, does not call `connectMdRuntime` or
|
|
250
|
+
`serveMdRuntime`, and does not import the package main, the host entry, or the
|
|
251
|
+
Adapter package. Hosts and tests use those entries; the served App does not.
|
|
252
|
+
|
|
253
|
+
A React App may observe and save through `@agentshouse/mdruntime/react`, which
|
|
254
|
+
names React as a peer dependency. `useObserve(client, topic, ...input)` takes
|
|
255
|
+
the arguments of `observe` and returns `{ state: 'loading' }` until the topic's
|
|
256
|
+
first value arrives, then `{ state: 'ready', value }`, re-rendering on each
|
|
257
|
+
change; a `null` client observes nothing and stays loading. `useSave(client)`
|
|
258
|
+
returns `busy`, the last `outcome` or `failure`, and `save(room, roomDrafts)`,
|
|
259
|
+
which writes each Path's parts onto the Room Draft already there, keeping the
|
|
260
|
+
bases its parts have, or onto a new one, and saves them together. A refused
|
|
261
|
+
Save leaves the Room Drafts for the App to save again or discard; a failure is
|
|
262
|
+
recorded and rejects. `saveRoomDrafts(client, room, roomDrafts)` is that save
|
|
263
|
+
outside a component. A react-admin or Refine App reads and writes its Rooms
|
|
264
|
+
through the data providers of `@agentshouse/mdruntime-families`.
|
|
265
|
+
|
|
266
|
+
## The Chat
|
|
267
|
+
|
|
268
|
+
`@agentshouse/mdruntime/chat` holds the Chat, one data layer for every App.
|
|
269
|
+
Its required peers are React, React DOM and `@assistant-ui/react`: add React as
|
|
270
|
+
a dependency, also in an App not written in React.
|
|
271
|
+
|
|
272
|
+
Place the ready chat with `<Chat client={runtime} conversation={id}
|
|
273
|
+
agent={agent} width="1/3" showChats />`: `conversation` opens one, `null` for a
|
|
274
|
+
new chat, `agent` is the Agent a new chat goes to, `onOpen` hears each one it
|
|
275
|
+
opens, and `width` is `full` (the place you give it), or `3/4`, `1/2` or `1/3`
|
|
276
|
+
of the window docked at its right edge, whole on a narrow window. `showChats`
|
|
277
|
+
adds its conversation list; or draw your own inside a `ChatProvider` around a
|
|
278
|
+
`<Chat />` with no `client`. It carries its own styles; theme it with CSS custom
|
|
279
|
+
properties on it or an ancestor: `--chat-background`, `--chat-surface`,
|
|
280
|
+
`--chat-text`, `--chat-text-muted`, `--chat-accent`, `--chat-line`,
|
|
281
|
+
`--chat-attention`, `--chat-danger`, `--chat-font`, `--chat-font-mono`,
|
|
282
|
+
`--chat-font-size`, `--chat-radius` and `--chat-density` (a factor for spacing);
|
|
283
|
+
an unset one keeps House's light or dark look. `mountChat(element, { client })`
|
|
284
|
+
places it outside React and returns `update(props)` and `unmount()`.
|
|
197
285
|
|
|
198
|
-
|
|
199
|
-
`
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
286
|
+
Mix `ChatMessageList` (`components` takes your `UserMessage` and
|
|
287
|
+
`AssistantMessage`), `ChatInput` and `ChatQuestionCard` with your own design
|
|
288
|
+
inside a `ChatProvider`, or compose assistant-ui's primitives there; `useChat()`
|
|
289
|
+
gives `send`, the conversations, the Agents, questions to `answer`, `options`
|
|
290
|
+
to `choose`, `commands`, the queue to `edit` or `unqueue`, `stop`, `kill` and
|
|
291
|
+
outcomes; never replace its messages, sending or store. A secret question is
|
|
292
|
+
never answered here; typed answers live in Presentation State's `typed` key:
|
|
293
|
+
keep it, and change Presentation State only inside `inTurn(client, work)` from
|
|
294
|
+
`@agentshouse/mdruntime/client`. `Markdown` draws Markdown safely.
|
|
203
295
|
|
|
204
296
|
## What an agent must never do
|
|
205
297
|
|
package/README.md
CHANGED
|
@@ -12,22 +12,23 @@ npm install @agentshouse/mdruntime
|
|
|
12
12
|
|
|
13
13
|
## Entries
|
|
14
14
|
|
|
15
|
-
| Entry | For
|
|
16
|
-
| ------------------------------- |
|
|
17
|
-
| `@agentshouse/mdruntime/client` |
|
|
18
|
-
| `@agentshouse/mdruntime/host` | The host that serves a Runtime: `serveMdRuntime`
|
|
19
|
-
| `@agentshouse/mdruntime` | Shared types
|
|
20
|
-
| `@agentshouse/mdruntime/memory` | Tests: `createMemoryAdapter`, an in-memory Adapter
|
|
15
|
+
| Entry | For |
|
|
16
|
+
| ------------------------------- | ---------------------------------------------------------------- |
|
|
17
|
+
| `@agentshouse/mdruntime/client` | The host's client: `connectMdRuntime(port)` |
|
|
18
|
+
| `@agentshouse/mdruntime/host` | The host that serves a Runtime: `serveMdRuntime` |
|
|
19
|
+
| `@agentshouse/mdruntime` | Shared types |
|
|
20
|
+
| `@agentshouse/mdruntime/memory` | Tests: `createMemoryAdapter`, an in-memory Adapter |
|
|
21
|
+
| `@agentshouse/mdruntime/react` | React over the client: `useObserve`, `useSave`, `saveRoomDrafts` |
|
|
22
|
+
| `@agentshouse/mdruntime/chat` | The Chat: `Chat`, `mountChat`, its parts and `ChatProvider` |
|
|
21
23
|
|
|
22
24
|
## Usage
|
|
23
25
|
|
|
24
|
-
App code
|
|
25
|
-
it:
|
|
26
|
+
App code takes the client its host hands it; in House the App bridge hands it:
|
|
26
27
|
|
|
27
28
|
```ts
|
|
28
|
-
import {
|
|
29
|
+
import { houseBridge } from '@agentshouse/app-bridge';
|
|
29
30
|
|
|
30
|
-
const runtime =
|
|
31
|
+
const runtime = await houseBridge().runtime;
|
|
31
32
|
const rooms = await runtime.rooms();
|
|
32
33
|
const notes = await runtime.query({ types: ['note'], select: 'all', limit: 20 });
|
|
33
34
|
```
|
|
@@ -36,8 +37,17 @@ const notes = await runtime.query({ types: ['note'], select: 'all', limit: 20 })
|
|
|
36
37
|
`storage-loss` when unsynchronized Room Drafts and Pending Changes were lost.
|
|
37
38
|
The host supplies the user-facing wording.
|
|
38
39
|
|
|
40
|
+
Place the ready chat, themed by CSS custom properties, docked at a third of the
|
|
41
|
+
window; outside React, `mountChat(element, { client: runtime })` places the same:
|
|
42
|
+
|
|
43
|
+
```tsx
|
|
44
|
+
import { Chat } from '@agentshouse/mdruntime/chat';
|
|
45
|
+
|
|
46
|
+
<Chat client={runtime} width="1/3" showChats style={{ '--chat-accent': '#2a6cf0' }} />;
|
|
47
|
+
```
|
|
48
|
+
|
|
39
49
|
The rules an App's agent follows, including Local Query, Local Search, Room
|
|
40
|
-
Draft and
|
|
50
|
+
Draft, Save and the Chat, are in [`AGENTS.md`](AGENTS.md).
|
|
41
51
|
|
|
42
52
|
## License
|
|
43
53
|
|
package/dist/adapter.d.ts
CHANGED
|
@@ -1,15 +1,13 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { ModelResult } from './model.js';
|
|
2
|
+
import type { Open } from './open.js';
|
|
2
3
|
import type { ChangeBatch } from './change.js';
|
|
3
4
|
export type Authorization = object;
|
|
4
|
-
export declare const ROOM_CONTRACT_VERSION = 1;
|
|
5
|
-
export declare const VERSION_1_CAPABILITIES: readonly ['stable-file-ids', 'ranked-provider-search', 'room-version-notifications', 'room-history', 'provider-actions', 'move-reference-rewrites'];
|
|
6
5
|
export type MdModelIdentity = {
|
|
7
6
|
identity: string;
|
|
8
7
|
version: string;
|
|
9
8
|
};
|
|
10
9
|
export type TypedSelection = {
|
|
11
10
|
roots: readonly string[];
|
|
12
|
-
attachedModel: ModelIdentity | null;
|
|
13
11
|
};
|
|
14
12
|
export type OperationScopes = {
|
|
15
13
|
read: readonly string[];
|
|
@@ -19,15 +17,15 @@ export type OperationScopes = {
|
|
|
19
17
|
};
|
|
20
18
|
export type ReplicaAdmission = {
|
|
21
19
|
selection: string;
|
|
22
|
-
admission: 'admitted' | 'unavailable'
|
|
20
|
+
admission: Open<'admitted' | 'unavailable'>;
|
|
23
21
|
};
|
|
24
22
|
export type DiscoveredRoom = {
|
|
25
23
|
name: string;
|
|
26
24
|
locator: string;
|
|
25
|
+
handle: string;
|
|
27
26
|
roomVersion: string;
|
|
28
27
|
operations: OperationScopes;
|
|
29
28
|
replica: ReplicaAdmission;
|
|
30
|
-
attachedModel: ModelIdentity | null;
|
|
31
29
|
typedSelection?: TypedSelection;
|
|
32
30
|
providerOwnedPaths: readonly string[];
|
|
33
31
|
};
|
|
@@ -35,13 +33,22 @@ export type Capability = {
|
|
|
35
33
|
name: string;
|
|
36
34
|
limits?: readonly ProviderLimit[];
|
|
37
35
|
actions?: readonly ActionDeclaration[];
|
|
38
|
-
|
|
36
|
+
conversationAgents?: ConversationAgents;
|
|
39
37
|
};
|
|
40
|
-
export type
|
|
38
|
+
export type ConversationAgents = {
|
|
41
39
|
locator: string;
|
|
42
40
|
type: string;
|
|
43
41
|
identity: string;
|
|
42
|
+
name: string;
|
|
43
|
+
retired?: string;
|
|
44
|
+
};
|
|
45
|
+
export type ListedConversation = {
|
|
46
|
+
conversation: string;
|
|
44
47
|
agent: string;
|
|
48
|
+
name: string;
|
|
49
|
+
created: string;
|
|
50
|
+
finished: string | null;
|
|
51
|
+
outcome: string | null;
|
|
45
52
|
};
|
|
46
53
|
export type ConversationAction = 'conversation.create' | 'conversation.send' | 'conversation.answer' | 'conversation.interrupt' | 'conversation.kill' | 'conversation.cancel' | 'conversation.delete' | 'conversation.history';
|
|
47
54
|
export type ConversationMessage = {
|
|
@@ -72,6 +79,9 @@ export type TurnContext = {
|
|
|
72
79
|
window: number;
|
|
73
80
|
};
|
|
74
81
|
export type TurnOperation = {
|
|
82
|
+
op: 'begin';
|
|
83
|
+
at: string;
|
|
84
|
+
} | {
|
|
75
85
|
op: 'start';
|
|
76
86
|
index: number;
|
|
77
87
|
part: unknown;
|
|
@@ -159,6 +169,15 @@ export type ConversationEvent = {
|
|
|
159
169
|
} | {
|
|
160
170
|
kind: 'gap';
|
|
161
171
|
conversation: string;
|
|
172
|
+
} | {
|
|
173
|
+
kind: 'list';
|
|
174
|
+
entries: readonly ListedConversation[];
|
|
175
|
+
} | {
|
|
176
|
+
kind: 'listed';
|
|
177
|
+
entry: ListedConversation;
|
|
178
|
+
} | {
|
|
179
|
+
kind: 'unlisted';
|
|
180
|
+
conversation: string;
|
|
162
181
|
};
|
|
163
182
|
export type ConversationStream = {
|
|
164
183
|
replicate(conversations: readonly string[]): void;
|
|
@@ -186,12 +205,11 @@ export type Retention = {
|
|
|
186
205
|
};
|
|
187
206
|
export type Discovery = {
|
|
188
207
|
kind: 'discovery';
|
|
189
|
-
supportedVersions: readonly number[];
|
|
190
|
-
mdModel: MdModelIdentity;
|
|
191
208
|
rooms: readonly DiscoveredRoom[];
|
|
192
209
|
capabilities: readonly Capability[];
|
|
193
210
|
providerLimits: readonly ProviderLimit[];
|
|
194
211
|
retention: Retention;
|
|
212
|
+
member?: Member;
|
|
195
213
|
};
|
|
196
214
|
export type TransportUncertainty = {
|
|
197
215
|
kind: 'transport-uncertainty';
|
|
@@ -206,11 +224,12 @@ export type RevokedAuthorization = {
|
|
|
206
224
|
export type ProviderRefusal = {
|
|
207
225
|
code: string;
|
|
208
226
|
fields: Readonly<Record<string, unknown>>;
|
|
227
|
+
retryable: boolean;
|
|
209
228
|
};
|
|
210
229
|
export type ScopedRefusal = ProviderRefusal & {
|
|
211
230
|
kind: 'scoped-refusal';
|
|
212
231
|
locator: string;
|
|
213
|
-
scope: 'content' | 'sync' | 'model' | 'operation' | 'undisclosed'
|
|
232
|
+
scope: Open<'content' | 'sync' | 'model' | 'operation' | 'undisclosed'>;
|
|
214
233
|
};
|
|
215
234
|
export type AdapterFailure = TransportUncertainty | RoomNotReadable | RevokedAuthorization | ScopedRefusal;
|
|
216
235
|
export type ContractUnavailable = ProviderRefusal & {
|
|
@@ -227,6 +246,9 @@ export type ChangeAuthor = {
|
|
|
227
246
|
id: string;
|
|
228
247
|
name: string;
|
|
229
248
|
};
|
|
249
|
+
export type Member = Extract<ChangeAuthor, {
|
|
250
|
+
kind: 'user';
|
|
251
|
+
}>;
|
|
230
252
|
export type HeadChange = {
|
|
231
253
|
author: ChangeAuthor | null;
|
|
232
254
|
time: string;
|
|
@@ -243,9 +265,14 @@ export type BootstrapRequest = {
|
|
|
243
265
|
selection: string;
|
|
244
266
|
pageToken?: PageToken;
|
|
245
267
|
};
|
|
268
|
+
export type RoomModels = {
|
|
269
|
+
collection?: ModelResult;
|
|
270
|
+
selection?: ModelResult;
|
|
271
|
+
};
|
|
246
272
|
export type BootstrapPage = {
|
|
247
273
|
kind: 'bootstrap';
|
|
248
274
|
roomVersion: string;
|
|
275
|
+
models?: RoomModels;
|
|
249
276
|
documents: Readonly<Record<string, string>>;
|
|
250
277
|
revisions: Readonly<Record<string, string>>;
|
|
251
278
|
changes: Readonly<Record<string, HeadChange>>;
|
|
@@ -258,12 +285,12 @@ export type RefreshRequest = {
|
|
|
258
285
|
locator: string;
|
|
259
286
|
selection: string;
|
|
260
287
|
fromRoomVersion: string;
|
|
261
|
-
minPosition?: string;
|
|
262
288
|
pageToken?: PageToken;
|
|
263
289
|
};
|
|
264
290
|
export type RefreshPage = {
|
|
265
291
|
kind: 'net-advancement';
|
|
266
292
|
roomVersion: string;
|
|
293
|
+
models?: RoomModels;
|
|
267
294
|
documents: Readonly<Record<string, string>>;
|
|
268
295
|
revisions: Readonly<Record<string, string>>;
|
|
269
296
|
changes: Readonly<Record<string, HeadChange>>;
|
|
@@ -286,7 +313,7 @@ export type RetryableRefusal = ProviderRefusal & {
|
|
|
286
313
|
kind: 'retryable-refusal';
|
|
287
314
|
reset?: string;
|
|
288
315
|
};
|
|
289
|
-
export type ServiceMode = 'open' | 'write-halted'
|
|
316
|
+
export type ServiceMode = Open<'open' | 'write-halted'>;
|
|
290
317
|
export type ServiceModeSignal = {
|
|
291
318
|
observe(notify: (mode: ServiceMode) => void): () => void;
|
|
292
319
|
};
|
|
@@ -295,7 +322,9 @@ export type MutationResult = {
|
|
|
295
322
|
roomVersion: string;
|
|
296
323
|
documents: Readonly<Record<string, string>>;
|
|
297
324
|
revisions: Readonly<Record<string, string>>;
|
|
325
|
+
changes: Readonly<Record<string, HeadChange>>;
|
|
298
326
|
removals: readonly string[];
|
|
327
|
+
attachments?: readonly RoomAttachment[];
|
|
299
328
|
author?: string;
|
|
300
329
|
time?: string;
|
|
301
330
|
} | (ProviderRefusal & {
|
|
@@ -333,6 +362,7 @@ export type HistoryResult = {
|
|
|
333
362
|
kind: 'history';
|
|
334
363
|
revisions: readonly HistoryRevision[];
|
|
335
364
|
pageToken?: PageToken;
|
|
365
|
+
deleted?: true;
|
|
336
366
|
} | {
|
|
337
367
|
kind: 'revision';
|
|
338
368
|
content: string;
|
|
@@ -354,27 +384,33 @@ export type ActionResult = {
|
|
|
354
384
|
} | (ProviderRefusal & {
|
|
355
385
|
kind: 'rejected';
|
|
356
386
|
}) | AdapterFailure;
|
|
357
|
-
export type
|
|
358
|
-
locator: string;
|
|
359
|
-
attached: 'collection';
|
|
360
|
-
model: ModelIdentity | null;
|
|
361
|
-
} | {
|
|
387
|
+
export type HeldRoom = {
|
|
362
388
|
locator: string;
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
389
|
+
roomVersion: string;
|
|
390
|
+
documents: Readonly<Record<string, string>>;
|
|
391
|
+
revisions: Readonly<Record<string, string>>;
|
|
392
|
+
attachments: readonly RoomAttachment[];
|
|
366
393
|
};
|
|
367
|
-
export type
|
|
394
|
+
export type RoomStreamEvent = {
|
|
395
|
+
kind: 'opened';
|
|
396
|
+
} | {
|
|
397
|
+
kind: 'closed';
|
|
398
|
+
revoked: boolean;
|
|
399
|
+
} | {
|
|
400
|
+
kind: 'opening';
|
|
401
|
+
expired: readonly string[];
|
|
402
|
+
} | {
|
|
403
|
+
kind: 'room-version';
|
|
368
404
|
locator: string;
|
|
369
405
|
roomVersion: string;
|
|
370
|
-
modelChanged?: true;
|
|
371
406
|
};
|
|
372
|
-
export type
|
|
373
|
-
|
|
374
|
-
|
|
407
|
+
export type RoomStream = {
|
|
408
|
+
hold(rooms: readonly HeldRoom[]): void;
|
|
409
|
+
reopen(): void;
|
|
410
|
+
observe(notify: (event: RoomStreamEvent) => void): () => void;
|
|
375
411
|
};
|
|
376
412
|
export type Adapter = {
|
|
377
|
-
|
|
413
|
+
readonly localSaves?: true;
|
|
378
414
|
authorize(): Promise<Authorization>;
|
|
379
415
|
discover(authorization: Authorization): Promise<DiscoverResult>;
|
|
380
416
|
bootstrap(authorization: Authorization, request: BootstrapRequest): Promise<BootstrapResult>;
|
|
@@ -383,7 +419,8 @@ export type Adapter = {
|
|
|
383
419
|
history(authorization: Authorization, request: HistoryRequest): Promise<HistoryResult>;
|
|
384
420
|
action(authorization: Authorization, request: ActionRequest): Promise<ActionResult>;
|
|
385
421
|
reached(locator: string, roomVersion: string, target: string): boolean;
|
|
386
|
-
|
|
422
|
+
follows(locator: string, roomVersion: string, next: string): boolean;
|
|
423
|
+
roomStream?: RoomStream;
|
|
387
424
|
conversations?: ConversationStream;
|
|
388
425
|
serviceMode?: ServiceModeSignal;
|
|
389
426
|
};
|
package/dist/adapter.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"adapter.d.ts","sourceRoot":"","sources":["../src/adapter.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAC7D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAE/C,MAAM,MAAM,aAAa,GAAG,MAAM,CAAC;AAEnC,eAAO,MAAM,qBAAqB,IAAI,CAAC;AAEvC,eAAO,MAAM,sBAAsB,YACjC,iBAAiB,EACjB,wBAAwB,EACxB,4BAA4B,EAC5B,cAAc,EACd,kBAAkB,EAClB,yBAAyB,CACjB,CAAC;AAEX,MAAM,MAAM,eAAe,GAAG;IAC5B,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,MAAM,MAAM,cAAc,GAAG;IAC3B,KAAK,EAAE,SAAS,MAAM,EAAE,CAAC;IACzB,aAAa,EAAE,aAAa,GAAG,IAAI,CAAC;CACrC,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG;IAC5B,IAAI,EAAE,SAAS,MAAM,EAAE,CAAC;IACxB,IAAI,EAAE,SAAS,MAAM,EAAE,CAAC;IACxB,KAAK,EAAE,SAAS,MAAM,EAAE,CAAC;IACzB,MAAM,EAAE,SAAS,MAAM,EAAE,CAAC;CAC3B,CAAC;AACF,MAAM,MAAM,gBAAgB,GAAG;IAAE,SAAS,EAAE,MAAM,CAAC;IAAC,SAAS,EAAE,UAAU,GAAG,aAAa,CAAA;CAAE,CAAC;AAE5F,MAAM,MAAM,cAAc,GAAG;IAC3B,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW,EAAE,MAAM,CAA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state: ModelState;
|
|
4
|
+
refused: {
|
|
5
|
+
identity: string;
|
|
6
|
+
rule: string;
|
|
7
|
+
location?: string;
|
|
8
|
+
} | null;
|
|
9
|
+
};
|
|
10
|
+
export declare function attachedModel(answer: ModelResult, previous: ModelState): AttachedModel;
|
|
11
|
+
//# sourceMappingURL=attached-model.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"attached-model.d.ts","sourceRoot":"","sources":["../src/attached-model.ts"],"names":[],"mappings":"AAEA,OAAO,EAAa,KAAK,WAAW,EAAE,KAAK,UAAU,EAAE,MAAM,YAAY,CAAC;AAI1E,MAAM,MAAM,aAAa,GAAG;IAC1B,KAAK,EAAE,UAAU,CAAC;IAClB,OAAO,EAAE;QAAE,QAAQ,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAC;QAAC,QAAQ,CAAC,EAAE,MAAM,CAAA;KAAE,GAAG,IAAI,CAAC;CACvE,CAAC;AAEF,wBAAgB,aAAa,CAAC,MAAM,EAAE,WAAW,EAAE,QAAQ,EAAE,UAAU,GAAG,aAAa,CA4CtF"}
|