@agentshouse/mdruntime-adapter 0.1.0-cc39535833e8f → 0.1.0-cc3d05e27ae63

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 CHANGED
@@ -1,16 +1,16 @@
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
 
9
8
  App code reaches the MD Runtime through the remote client. The surfaces are
10
- Rooms, Query, Search, Observe, Types, Room Draft, Save, History, Call, Reached, Log,
9
+ Rooms, Query, Search, Observe, Types, Room Draft, Save, History, the binary file
10
+ reads, Call, Reached, Log,
11
11
  the reported persistence answer, reauthorization, conversation, the chat draft,
12
12
  and Presentation State. Sync Status, the Service Mode, the storage-loss
13
- statement and the deployment facts are observations only.
13
+ statement, the deployment facts and the signed-in member are observations only.
14
14
 
15
15
  The host attaches each port with its reach, and every member and observation
16
16
  answers within it: a Room outside it answers as one the replica does not hold,
@@ -27,6 +27,8 @@ value whole and returns its unsubscribe, and `close()` ends the observation.
27
27
  Closing the port ends every handle and rejects every pending call and
28
28
  observation; a client that reconnects observes again.
29
29
 
30
+ `observe('agents')` answers every Agent a new conversation can go to, each
31
+ `{ identity, name }`, whether or not it has a conversation yet.
30
32
  Each conversation the Provider's conversation list names is held complete in the
31
33
  browser. `conversation.list()` and `observe('conversations')` answer each with its
32
34
  Agent's identity and name, its name, created and finished times, last outcome and live
@@ -43,29 +45,67 @@ and none of them is stored or searchable.
43
45
  sending it is a Provider Action that needs the Provider reachable and is never
44
46
  queued.
45
47
 
46
- Each Room in Rooms lists its `attachments`, the files the Provider holds for it
47
- that its Documents link by the Provider's reference, ordered by `reference`,
48
- each with `name`, `byteLength`, `mediaType` and the Provider's own entry as
49
- `entry`. They are as the Provider last declared them and hold no bytes;
50
- open one through the Provider Action that serves it.
48
+ A binary file at a Path of a Room is a binary Path entry. Query lists it by
49
+ `path` with its `binaryFile` record and never its bytes: `{ state: 'accepted',
50
+ revision, path, fileRef, byteLength, mediaType, sha256 }`, or, from a Save until
51
+ the Provider accepts it, `{ state: 'pending', localId, path, byteLength,
52
+ mediaType, sha256 }` with no revision. Write one with a Room Draft whose only part
53
+ is `file: { blob }`, a `Blob` whose `type` is its media type; Save keeps the bytes
54
+ in its Pending Change, works offline, and the record turns accepted with the
55
+ Provider's revision once the Pending Change is accepted. Move or remove an
56
+ accepted one as a Document. Move or remove a pending one the same way, before or
57
+ after Save: the Room Draft or its queued Pending Change carries the bytes to the
58
+ new Path or drops them, and once that Pending Change has gone to the Provider
59
+ Save refuses it as `unknown-revision` until it is accepted. Read the bytes with
60
+ `binaryFile.read(room, path)`: a pending record answers its saved bytes, and
61
+ every read of an accepted one asks the Provider again and keeps nothing. Pass a
62
+ History revision as `binaryFile.read(room, path, revision)` to open that
63
+ revision, a removed file's last one included. Text, a Record attachment or a conversation
64
+ message may name a file directly by its `fileRef`; read that file with
65
+ `binaryFile.readReference({ fileRef, referrer })`, where the referrer is the
66
+ `referrer` the Provider gave beside the reference, or `{ room, path }` of the
67
+ document whose text names it. Both answer `{ kind: 'binary', blob }` or a
68
+ refusal or failure. History of a binary Path lists each revision's
69
+ `binaryFile` metadata without bytes.
51
70
 
52
71
  Rooms, Query, Search, Observe, Types, Room Draft, Save, and Reached never
53
72
  touch the network.
54
- History and Call go to the Provider through the Adapter. A Call result whose
73
+ History, the binary file reads and Call go to the Provider through the Adapter. Call takes the Action names
74
+ the Adapter declares; any other name answers `undeclared` without reaching the
75
+ Provider. A Call result whose
55
76
  effect the Provider places in a Room carries `at`, that Room and Room Version;
56
77
  `reached(room, roomVersion)` answers whether the Room's confirmed state has
57
78
  reached it, and the MD Runtime keeps refreshing that Room until it has;
58
79
  `reached(room, roomVersion, path)` answers whether the held confirmed copy of
59
80
  that document was written at a later Room Version. Each History revision
60
- names its author, `{ kind: 'user', id }` or `{ kind: 'site', id, name }`. Every
81
+ names its author, `{ kind: 'user', id }` or `{ kind: 'site', id, name }`.
82
+ History of a Path no current document holds answers the removed document's
83
+ revisions with `deleted: true`, newest first; that revision is what a link to
84
+ the Path opens. Every
61
85
  member of the
62
86
  client is asynchronous. Results are detached snapshots. Nothing in this
63
87
  surface returns the authorization, performs a request the App's code
64
88
  composes, or exposes the browser store.
65
89
 
90
+ Every refusal and failure carries `code` and `retryable`: each Call and History answer
91
+ other than its result, a refused Save or Room Draft write, a returned Room Draft's
92
+ reason, a Room's refusal and the Connection Refusal, and every error a member rejects
93
+ with, beside its message. A Provider refusal carries the Provider's own `retryable`.
94
+ Every code and every value the API answers is open: handle one you do not know by its
95
+ `code` and `retryable`.
96
+
66
97
  Read the deployment facts with `observe('deployment-facts')`. Interpret the
67
98
  opaque value using the host's contract.
68
99
 
100
+ `observe('member')` answers who uses the App: the User the Provider signed in,
101
+ `{ kind: 'user', id, name }` in the shape of a change's `author`, so a Document
102
+ whose `change.author.id` equals its `id` is that User's own. It is `null` until
103
+ the Provider first names one, and where it names none, such as a Site. The
104
+ MD Runtime keeps it with the Local Replicas, so it answers offline once known,
105
+ and every port hears the next member the Provider names; signing out answers
106
+ `null`, then ends the observation with the authorization. It is the only way App code learns who
107
+ uses it.
108
+
69
109
  The in-memory Adapter at `@agentshouse/mdruntime/memory` is for tests and
70
110
  ships in no bundle.
71
111
 
@@ -79,41 +119,48 @@ data:
79
119
  - **Filter.** `rooms` names Room locators and defaults to every Room. `types`
80
120
  names MD Types, and `any` names untyped Markdown Documents. `pathPrefix` is a
81
121
  directory: `notes` keeps `notes/a.md` and not `notes2/a.md`.
82
- - **Fields.** `where` names frontmatter fields, ANDs them, and nests `$and` and
83
- `$or`. A bare value is equality; the operators are `$eq`, `$ne`, `$in`, `$nin`,
84
- `$gt`, `$gte`, `$lt`, `$lte`, `$all`, `$size` and `$exists`. Equality on a list
85
- asks whether it contains the value. Missing, null and empty differ:
122
+ - **Fields.** Every frontmatter value is named by JSON Pointer: `/status`,
123
+ `/shipping/city`, `~1` for a `/` and `~0` for a `~` in a key. A segment that
124
+ meets a list applies to every item and a number names one item. `where` names
125
+ pointers, ANDs them, and nests `$and` and `$or`; a pointer through a list holds
126
+ when any item satisfies it. A bare value is equality; the operators are `$eq`,
127
+ `$ne`, `$in`, `$nin`, `$gt`, `$gte`, `$lt`, `$lte`, `$all`, `$size` and
128
+ `$exists`. Equality on a list asks whether it contains the value. Missing, null and empty differ:
86
129
  `$exists: false` keeps a missing field, `null` an explicit null, `''` empty
87
130
  text and `$size: 0` an empty list. A date compares in calendar order and never
88
131
  with a date-time. A reference compares by the Room Path it resolves to.
89
- Untyped frontmatter is plain values. There is no text containment or regular
132
+ Untyped frontmatter, and a value under `oneOf` or a conditional, is plain
133
+ values. There is no text containment or regular
90
134
  expression.
91
135
  - **Relations.** `hop: { field, types, where, pathPrefix }` keeps Documents whose
92
- reference `field` points to a matching Document of the same Room.
93
- `backlinks: { field, types, where, pathPrefix }` keeps Documents that a
136
+ reference at pointer `field`, at any depth, points to a matching Document of the
137
+ same Room. `backlinks: { field, types, where, pathPrefix }` keeps Documents that a
94
138
  matching Document of the same Room references. Each keeps a Document once.
95
139
  - **Parts.** A Document query must `select`: `'all'`, or `fields`, `sections`,
96
- `preamble`, `markdown`, `backlinks` and `change`, where `fields` and `sections`
97
- are `'all'` or a list of names. Room and Path always return; a Markdown
98
- Document also returns its MD Type. A non-Markdown Document or binary link
99
- target returns only Room and Path. An unselected part is absent. Select only
140
+ `preamble`, `markdown`, `backlinks` and `change`, where `fields` is `'all'` or a
141
+ list of pointers and `sections` `'all'` or a list of names. Selected pointers
142
+ return the frontmatter holding only them, nested as written. A backlink names
143
+ the referring Path, MD Type and the pointer it came from as `field`. Room and Path always return; a Markdown
144
+ Document also returns its MD Type. A non-Markdown Document returns only Room
145
+ and Path, and a binary Path entry Room, Path and its `binaryFile` record,
146
+ whatever is selected. An unselected part is absent. Select only
100
147
  what a screen shows: a list that selects the Markdown hears every edit of it.
101
148
  - **Change.** `change` is `{ author, time }` of the Document's head revision as
102
149
  the Provider last delivered it: `author` is `{ kind: 'user' | 'site', id, name }`
103
150
  or `null` for a write the Provider made itself, and `time` is the Provider's
104
151
  ISO 8601 change time. It is `null` where the Provider delivered no time, as at
105
152
  a Site. An unsent edit or move keeps it, an unsent creation has none, and a
106
- saved write takes the Provider's own once it is Accepted and refreshed. A
153
+ saved write takes the Provider's own once it is Accepted. A
107
154
  Room's last change is its Document with the latest `time`.
108
155
  - **Order and groups.** `orderBy` sorts by `room`, `path`, `type` or `{ field }`
109
156
  with TanStack DB's own options, and ties end with Room, then Path. `groupBy` by
110
157
  `room`, `type` or `{ field }` answers `{ groups: [{ key, count }] }`, counted
111
- over every match and ordered by `count` or a key. `limit` bounds the Documents
112
- or the groups.
158
+ over every match and ordered by `count` or a key. A sort or group takes only a
159
+ pointer that holds one value. `limit` bounds the Documents or the groups.
113
160
  - **Results and errors.** A result carries no Room Version: read freshness from
114
- Rooms and Sync Status. An invalid query fails with `invalid-query`,
115
- `unknown-type`, `unknown-field` or `wrong-kind`, naming where, and never
116
- answers an empty result in its place.
161
+ Rooms and Sync Status. An invalid query fails with the `code`
162
+ `invalid-query`, `unknown-type`, `unknown-field` or `wrong-kind`, naming where,
163
+ and never answers an empty result in its place.
117
164
 
118
165
  ## Local Search rules
119
166
 
@@ -151,9 +198,9 @@ the current Room Draft; read it and write again.
151
198
 
152
199
  Save takes one Room and the Room Drafts of it to save, each with its revision,
153
200
  validates locally, and on success appends one Change Batch to that Room's
154
- queue and removes those Room Drafts. It is refused as `stale`, as
201
+ queue and removes those Room Drafts. It is refused with the `code` `stale`,
155
202
  `changed-underneath` naming each part whose base no longer matches the visible
156
- state, or by a local validation rule, and then creates nothing and leaves every
203
+ state, or a local validation rule, and then creates nothing and leaves every
157
204
  Room Draft in place. A directory move or removal is a move or removal part on
158
205
  each Document and binary link target beneath it, saved together.
159
206
 
@@ -173,6 +220,13 @@ it names; the MD Runtime retries the same Change Batch identity and payload and
173
220
  never infers an outcome from transport uncertainty. The MD Runtime never
174
221
  combines, reorders, or rebases.
175
222
 
223
+ On a Site, every Save stays in the visitor's browser. Write grants and
224
+ revisions do not refuse it, and its Pending Change shows in every query and
225
+ across reloads until the browser's storage is cleared. It is never sent:
226
+ `observe('queue', room)` shows it `local`, and Sync Status never waits on it.
227
+ Once the Room changes so that it no longer applies, it leaves the queue and
228
+ returns no Room Draft.
229
+
176
230
  `observe('service-mode')` answers the Provider's Service
177
231
  Mode, `open` or `write-halted`. While writes are halted, Save still succeeds,
178
232
  its Change Batch waits unsent, and the queue is submitted in order once the
@@ -208,23 +262,55 @@ the network. Data lives only in the App Creator's browser and with the Provider.
208
262
 
209
263
  ## App code takes the client its host hands it and never constructs a Runtime
210
264
 
211
- App code takes the client its host hands it: in House,
212
- `connectHouseBridge().runtime` from `@agentshouse/app-bridge` resolves to the
213
- client House built into the page. It never constructs a Runtime or a client.
214
- It imports only types from `@agentshouse/mdruntime/client`, does not call
215
- `connectMdRuntime` or `serveMdRuntime`, and does not import the package main,
216
- the host entry, or the Adapter package. Hosts and tests use those entries; the
217
- served App does not.
265
+ App code takes the client its host hands it: in House, `houseBridge().runtime`
266
+ from `@agentshouse/app-bridge` resolves to the client House built into the page.
267
+ It never constructs a Runtime or a client. It imports only types from
268
+ `@agentshouse/mdruntime/client`, does not call `connectMdRuntime` or
269
+ `serveMdRuntime`, and does not import the package main, the host entry, or the
270
+ Adapter package. Hosts and tests use those entries; the served App does not.
218
271
 
219
272
  A React App may observe and save through `@agentshouse/mdruntime/react`, which
220
273
  names React as a peer dependency. `useObserve(client, topic, ...input)` takes
221
- the arguments of `observe` and returns the topic's current value, `undefined`
222
- until it arrives, re-rendering on each change; a `null` client observes
223
- nothing. `useSave(client)` returns `busy`, the last `outcome` or `failure`, and
224
- `save(room, roomDrafts)`, which writes each Path's parts onto the Room Draft
225
- already there, keeping the bases its parts have, or onto a new one, and saves
226
- them together. A refused Save leaves the Room Drafts for the App to save again
227
- or discard; a failure is recorded and rejects.
274
+ the arguments of `observe` and returns `{ state: 'loading' }` until the topic's
275
+ first value arrives, then `{ state: 'ready', value }`, re-rendering on each
276
+ change; a `null` client observes nothing and stays loading. `useSave(client)`
277
+ returns `busy`, the last `outcome` or `failure`, and `save(room, roomDrafts)`,
278
+ which writes each Path's parts onto the Room Draft already there, keeping the
279
+ bases its parts have, or onto a new one, and saves them together. A refused
280
+ Save leaves the Room Drafts for the App to save again or discard; a failure is
281
+ recorded and rejects. `saveRoomDrafts(client, room, roomDrafts)` is that save
282
+ outside a component. A react-admin or Refine App reads and writes its Rooms
283
+ through the data providers of `@agentshouse/mdruntime-families`.
284
+
285
+ ## The Chat
286
+
287
+ `@agentshouse/mdruntime/chat` holds the Chat, one data layer for every App.
288
+ Its required peers are React, React DOM and `@assistant-ui/react`: add React as
289
+ a dependency, also in an App not written in React.
290
+
291
+ Place the ready chat with `<Chat client={runtime} conversation={id}
292
+ agent={agent} width="1/3" showChats />`: `conversation` opens one, `null` for a
293
+ new chat, `agent` is the Agent a new chat goes to, `onOpen` hears each one it
294
+ opens, and `width` is `full` (the place you give it), or `3/4`, `1/2` or `1/3`
295
+ of the window docked at its right edge, whole on a narrow window. `showChats`
296
+ adds its conversation list; or draw your own inside a `ChatProvider` around a
297
+ `<Chat />` with no `client`. It carries its own styles; theme it with CSS custom
298
+ properties on it or an ancestor: `--chat-background`, `--chat-surface`,
299
+ `--chat-text`, `--chat-text-muted`, `--chat-accent`, `--chat-line`,
300
+ `--chat-attention`, `--chat-danger`, `--chat-font`, `--chat-font-mono`,
301
+ `--chat-font-size`, `--chat-radius` and `--chat-density` (a factor for spacing);
302
+ an unset one keeps House's light or dark look. `mountChat(element, { client })`
303
+ places it outside React and returns `update(props)` and `unmount()`.
304
+
305
+ Mix `ChatMessageList` (`components` takes your `UserMessage` and
306
+ `AssistantMessage`), `ChatInput` and `ChatQuestionCard` with your own design
307
+ inside a `ChatProvider`, or compose assistant-ui's primitives there; `useChat()`
308
+ gives `send`, the conversations, the Agents, questions to `answer`, `options`
309
+ to `choose`, `commands`, the queue to `edit` or `unqueue`, `stop`, `kill` and
310
+ outcomes; never replace its messages, sending or store. A secret question is
311
+ never answered here; typed answers live in Presentation State's `typed` key:
312
+ keep it, and change Presentation State only inside `inTurn(client, work)` from
313
+ `@agentshouse/mdruntime/client`. `Markdown` draws Markdown safely.
228
314
 
229
315
  ## What an agent must never do
230
316
 
package/dist/actions.d.ts CHANGED
@@ -1,8 +1,46 @@
1
- import { type AcceptedMessage, type ActionDeclaration, type ActionRequest, type ActionResult, type ConversationAgents } from '@agentshouse/mdruntime';
1
+ import { type AcceptedMessage, type ActionDeclaration, type ActionRequest, type ActionResult, type ConversationAgents, type ConversationHistories, type ConversationHistoryRequest, type FileDeclaration } from '@agentshouse/mdruntime';
2
2
  import type { HouseDoorAnswer, HouseTransport } from './transport.js';
3
- export declare const HOUSE_CONVERSATION_AGENTS: ConversationAgents;
3
+ type Operated = {
4
+ readonly operation_id?: string;
5
+ };
6
+ type ConversationControl = Operated & {
7
+ readonly conversation: string;
8
+ };
9
+ type SentFile = FileDeclaration & {
10
+ readonly blob: Blob;
11
+ };
12
+ export type AppInputs = {
13
+ readonly 'conversation.answer': ConversationControl & {
14
+ readonly answer: {
15
+ readonly interaction_id: string;
16
+ readonly response: unknown;
17
+ };
18
+ };
19
+ readonly 'conversation.create': Operated & {
20
+ readonly agent_id: string;
21
+ };
22
+ readonly 'conversation.delete': ConversationControl;
23
+ readonly 'conversation.history': ConversationHistoryRequest;
24
+ readonly 'conversation.interrupt': ConversationControl;
25
+ readonly 'conversation.kill': ConversationControl;
26
+ readonly 'conversation.send': ConversationControl & {
27
+ readonly text?: string;
28
+ readonly files?: readonly SentFile[];
29
+ };
30
+ };
31
+ export type AppAnswers = {
32
+ readonly 'conversation.history': ConversationHistories;
33
+ };
34
+ export type AppAnswerAdditions = {
35
+ readonly 'conversation.send': {
36
+ readonly turn: string;
37
+ };
38
+ };
39
+ export declare const HOUSE_APP_ACTS: Readonly<Record<string, string>>;
40
+ export declare function houseConversationAgents(locator: string): ConversationAgents;
4
41
  export declare function declaredActions(routes: readonly string[]): readonly ActionDeclaration[];
5
42
  export declare function houseAction(transport: HouseTransport, request: ActionRequest): Promise<ActionResult>;
6
43
  export declare function actionOutcome(answer: HouseDoorAnswer, name: string): ActionResult;
7
44
  export declare function acceptedMessage(entry: unknown): AcceptedMessage | null;
45
+ export {};
8
46
  //# sourceMappingURL=actions.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"actions.d.ts","sourceRoot":"","sources":["../src/actions.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,eAAe,EACpB,KAAK,iBAAiB,EACtB,KAAK,aAAa,EAClB,KAAK,YAAY,EACjB,KAAK,kBAAkB,EAGxB,MAAM,wBAAwB,CAAC;AAGhC,OAAO,KAAK,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAkBtE,eAAO,MAAM,yBAAyB,EAAE,kBAKvC,CAAC;AAEF,wBAAgB,eAAe,CAAC,MAAM,EAAE,SAAS,MAAM,EAAE,GAAG,SAAS,iBAAiB,EAAE,CASvF;AAED,wBAAgB,WAAW,CACzB,SAAS,EAAE,cAAc,EACzB,OAAO,EAAE,aAAa,GACrB,OAAO,CAAC,YAAY,CAAC,CAQvB;AA4DD,wBAAgB,aAAa,CAAC,MAAM,EAAE,eAAe,EAAE,IAAI,EAAE,MAAM,GAAG,YAAY,CAWjF;AAuLD,wBAAgB,eAAe,CAAC,KAAK,EAAE,OAAO,GAAG,eAAe,GAAG,IAAI,CAUtE"}
1
+ {"version":3,"file":"actions.d.ts","sourceRoot":"","sources":["../src/actions.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,eAAe,EACpB,KAAK,iBAAiB,EACtB,KAAK,aAAa,EAClB,KAAK,YAAY,EACjB,KAAK,kBAAkB,EACvB,KAAK,qBAAqB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