@agentshouse/mdruntime-adapter 0.1.0-c38cdd8a6d962 → 0.1.0-c392f202fd8ec
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 +2 -2
- package/dist/actions.d.ts +163 -3
- package/dist/actions.d.ts.map +1 -1
- package/dist/actions.js +121 -219
- package/dist/adapter.d.ts +1 -0
- package/dist/adapter.d.ts.map +1 -1
- package/dist/adapter.js +279 -208
- package/dist/app-reference.d.ts +2 -0
- package/dist/app-reference.d.ts.map +1 -0
- package/dist/app-reference.js +2 -0
- package/dist/crockford.d.ts +4 -0
- package/dist/crockford.d.ts.map +1 -0
- package/dist/crockford.js +3 -0
- package/dist/discovery.d.ts +16 -15
- package/dist/discovery.d.ts.map +1 -1
- package/dist/discovery.js +75 -52
- package/dist/house-model.d.ts +2983 -0
- package/dist/house-model.d.ts.map +1 -0
- package/dist/house-model.js +1643 -0
- package/dist/index.d.ts +9 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +8 -1
- package/dist/model.d.ts +6 -3
- package/dist/model.d.ts.map +1 -1
- package/dist/model.js +23 -28
- package/dist/part.d.ts +14 -0
- package/dist/part.d.ts.map +1 -0
- package/dist/part.js +90 -0
- package/dist/read.d.ts +52 -41
- package/dist/read.d.ts.map +1 -1
- package/dist/read.js +248 -234
- package/dist/refusal.d.ts +3 -9
- package/dist/refusal.d.ts.map +1 -1
- package/dist/refusal.js +25 -19
- package/dist/room-stream.d.ts +19 -0
- package/dist/room-stream.d.ts.map +1 -0
- package/dist/room-stream.js +57 -0
- package/dist/room-types.d.ts +7 -0
- package/dist/room-types.d.ts.map +1 -0
- package/dist/room-types.js +126 -0
- package/dist/site.d.ts +1 -1
- package/dist/site.d.ts.map +1 -1
- package/dist/site.js +129 -106
- package/dist/stream.d.ts +12 -11
- package/dist/stream.d.ts.map +1 -1
- package/dist/stream.js +174 -145
- package/dist/transport.d.ts +79 -23
- package/dist/transport.d.ts.map +1 -1
- package/dist/transport.js +51 -10
- package/dist/upload.d.ts +12 -0
- package/dist/upload.d.ts.map +1 -0
- package/dist/upload.js +63 -0
- package/dist/version.d.ts +1 -0
- package/dist/version.d.ts.map +1 -1
- package/dist/version.js +1 -1
- package/dist/write.d.ts +18 -9
- package/dist/write.d.ts.map +1 -1
- package/dist/write.js +165 -41
- package/package.json +9 -6
- package/AGENTS.md +0 -238
- package/dist/gather.d.ts +0 -3
- package/dist/gather.d.ts.map +0 -1
- package/dist/gather.js +0 -40
- package/dist/links.d.ts +0 -20
- package/dist/links.d.ts.map +0 -1
- package/dist/links.js +0 -104
package/dist/stream.js
CHANGED
|
@@ -1,36 +1,91 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
1
|
+
import { ROW_WEIGHT, stepped, } from '@agentshouse/mdruntime';
|
|
2
|
+
import { acceptedMessage, cursorPosition } from './actions.js';
|
|
3
|
+
import { streamedModels } from './model.js';
|
|
4
|
+
import { answered, answering, binaryFileOf, folded, forgotten, headChange, revised, } from './read.js';
|
|
5
|
+
import { houseDoorRoute, } from './transport.js';
|
|
6
|
+
import { DECIMAL, roomVersion } from './version.js';
|
|
5
7
|
function turnOperation(frame) {
|
|
6
8
|
const { type: _type, conversation_id: _conversation, turn_id: _turn, ...operation } = frame;
|
|
7
9
|
return structuredClone(operation);
|
|
8
10
|
}
|
|
11
|
+
async function houseAgents(transport) {
|
|
12
|
+
const answer = await transport.door(houseDoorRoute('agents/read'), {});
|
|
13
|
+
const agents = answer.status === 200 ? answer.body?.agents : null;
|
|
14
|
+
if (!Array.isArray(agents))
|
|
15
|
+
return null;
|
|
16
|
+
return agents.flatMap((one) => {
|
|
17
|
+
const { id, name, retired_at: retired } = (one ?? {});
|
|
18
|
+
return typeof id === 'string' && typeof name === 'string'
|
|
19
|
+
? [{ agent: id, name, retired: retired !== null && retired !== undefined }]
|
|
20
|
+
: [];
|
|
21
|
+
});
|
|
22
|
+
}
|
|
9
23
|
function listedConversation(listed) {
|
|
10
24
|
return {
|
|
11
25
|
conversation: listed.conversation_id,
|
|
12
26
|
agent: listed.agent_id,
|
|
27
|
+
agentName: listed.agent_name,
|
|
28
|
+
agentRetired: listed.agent_retired,
|
|
13
29
|
name: listed.name,
|
|
14
30
|
created: listed.created_at,
|
|
15
31
|
finished: listed.finished_at,
|
|
16
32
|
outcome: listed.outcome,
|
|
33
|
+
waiting: listed.waiting,
|
|
34
|
+
newest: listed.newest === null ? null : cursorPosition(listed.newest),
|
|
17
35
|
};
|
|
18
36
|
}
|
|
19
37
|
function position(value) {
|
|
20
|
-
if (
|
|
38
|
+
if (!DECIMAL.test(value))
|
|
21
39
|
return null;
|
|
22
40
|
return BigInt(value);
|
|
23
41
|
}
|
|
24
|
-
|
|
42
|
+
function* changed(tracked, entries, version, schemas) {
|
|
43
|
+
const answer = answering();
|
|
44
|
+
for (const entry of entries) {
|
|
45
|
+
yield ROW_WEIGHT + (entry.text?.length ?? 0);
|
|
46
|
+
if (entry.kind === 'folder') {
|
|
47
|
+
folded(answer, entry.path, entry.removed === true);
|
|
48
|
+
continue;
|
|
49
|
+
}
|
|
50
|
+
if (entry.path === tracked.schema)
|
|
51
|
+
schemas.set(entry.path, entry);
|
|
52
|
+
forgotten(answer, entry.path);
|
|
53
|
+
if (entry.kind === 'removed') {
|
|
54
|
+
answer.removals.add(entry.path);
|
|
55
|
+
continue;
|
|
56
|
+
}
|
|
57
|
+
const binary = binaryFileOf(entry);
|
|
58
|
+
if (binary === undefined)
|
|
59
|
+
answer.documents.set(entry.path, entry.text ?? '');
|
|
60
|
+
else if (binary !== null)
|
|
61
|
+
answer.binaryFiles.set(entry.path, binary);
|
|
62
|
+
const revision = entry.revision ?? binary?.sha256;
|
|
63
|
+
if (revision !== undefined)
|
|
64
|
+
revised(answer, entry.path, revision);
|
|
65
|
+
const head = headChange(entry);
|
|
66
|
+
if (head)
|
|
67
|
+
answer.changes.set(entry.path, head);
|
|
68
|
+
}
|
|
69
|
+
return { kind: 'net-advancement', roomVersion: version, ...(yield* answered(answer)) };
|
|
70
|
+
}
|
|
71
|
+
async function changePage(tracked, entries, version, mode) {
|
|
72
|
+
const schemas = new Map();
|
|
73
|
+
const page = await stepped(changed(tracked, entries, version, schemas));
|
|
74
|
+
const models = await streamedModels(schemas, tracked, mode);
|
|
75
|
+
return models === undefined ? page : { ...page, models };
|
|
76
|
+
}
|
|
77
|
+
export function houseNotifications(transport, mode, discovering) {
|
|
25
78
|
const stream = transport.stream;
|
|
26
|
-
const
|
|
27
|
-
|
|
79
|
+
const staged = new Map();
|
|
80
|
+
let socket = null;
|
|
81
|
+
const tracking = new Map();
|
|
28
82
|
const observers = new Set();
|
|
29
83
|
const conversationObservers = new Set();
|
|
30
84
|
const modeObservers = new Set();
|
|
31
85
|
let replicated = [];
|
|
32
86
|
const live = new Set();
|
|
33
87
|
let opening = null;
|
|
88
|
+
let announced = null;
|
|
34
89
|
const runtime = crypto.randomUUID();
|
|
35
90
|
function emit(event) {
|
|
36
91
|
for (const observer of observers)
|
|
@@ -41,7 +96,10 @@ export function houseNotifications(transport, mode) {
|
|
|
41
96
|
event.kind === 'questions' ||
|
|
42
97
|
event.kind === 'process' ||
|
|
43
98
|
event.kind === 'commands' ||
|
|
44
|
-
event.kind === 'options'
|
|
99
|
+
event.kind === 'options' ||
|
|
100
|
+
event.kind === 'starting' ||
|
|
101
|
+
event.kind === 'link' ||
|
|
102
|
+
event.kind === 'deliveries') {
|
|
45
103
|
live.add(event.conversation);
|
|
46
104
|
}
|
|
47
105
|
for (const observer of conversationObservers)
|
|
@@ -49,11 +107,31 @@ export function houseNotifications(transport, mode) {
|
|
|
49
107
|
}
|
|
50
108
|
function reopened(next) {
|
|
51
109
|
opening = next;
|
|
110
|
+
announced = null;
|
|
111
|
+
socket = next;
|
|
112
|
+
staged.clear();
|
|
52
113
|
const gapped = new Set([...replicated, ...live]);
|
|
53
114
|
live.clear();
|
|
54
115
|
for (const conversation of gapped)
|
|
55
116
|
emitConversation({ kind: 'gap', conversation });
|
|
56
117
|
emit({ kind: 'opened' });
|
|
118
|
+
if (mode === 'site')
|
|
119
|
+
announce(next, null);
|
|
120
|
+
}
|
|
121
|
+
function announce(via, frame) {
|
|
122
|
+
void discovering.opened(frame).then((discovery) => {
|
|
123
|
+
if (socket !== via)
|
|
124
|
+
return;
|
|
125
|
+
if (discovery === null) {
|
|
126
|
+
via.close();
|
|
127
|
+
return;
|
|
128
|
+
}
|
|
129
|
+
announced = { kind: 'discovered', discovery };
|
|
130
|
+
emit(announced);
|
|
131
|
+
}, () => {
|
|
132
|
+
if (socket === via)
|
|
133
|
+
via.close();
|
|
134
|
+
});
|
|
57
135
|
}
|
|
58
136
|
function converse(frame) {
|
|
59
137
|
const conversation = frame.conversation_id;
|
|
@@ -86,6 +164,18 @@ export function houseNotifications(transport, mode) {
|
|
|
86
164
|
emitConversation({ kind: 'options', conversation, options: structuredClone(frame.options) });
|
|
87
165
|
return;
|
|
88
166
|
}
|
|
167
|
+
if (frame.type === 'starting') {
|
|
168
|
+
emitConversation({ kind: 'starting', conversation, step: frame.step });
|
|
169
|
+
return;
|
|
170
|
+
}
|
|
171
|
+
if (frame.type === 'link') {
|
|
172
|
+
emitConversation({ kind: 'link', conversation, connected: frame.connected });
|
|
173
|
+
return;
|
|
174
|
+
}
|
|
175
|
+
if (frame.type === 'deliveries') {
|
|
176
|
+
emitConversation({ kind: 'deliveries', conversation, unknown: [...frame.unknown] });
|
|
177
|
+
return;
|
|
178
|
+
}
|
|
89
179
|
if (frame.type === 'interactions') {
|
|
90
180
|
emitConversation({
|
|
91
181
|
kind: 'questions',
|
|
@@ -99,18 +189,32 @@ export function houseNotifications(transport, mode) {
|
|
|
99
189
|
return;
|
|
100
190
|
emitConversation({ kind: 'accepted-message', conversation, message });
|
|
101
191
|
}
|
|
102
|
-
function
|
|
103
|
-
const
|
|
104
|
-
|
|
105
|
-
|
|
192
|
+
function stage(frame, via) {
|
|
193
|
+
const held = staged.get(frame.carry);
|
|
194
|
+
if (frame.index !== (held?.parts ?? 0)) {
|
|
195
|
+
staged.delete(frame.carry);
|
|
196
|
+
return;
|
|
106
197
|
}
|
|
198
|
+
if (held === undefined) {
|
|
199
|
+
for (const [carry, other] of staged) {
|
|
200
|
+
if (other.authority === frame.authority)
|
|
201
|
+
staged.delete(carry);
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
const next = held ?? { authority: frame.authority, parts: 0, entries: [] };
|
|
205
|
+
next.entries.push(...frame.entries);
|
|
206
|
+
next.parts += 1;
|
|
207
|
+
staged.set(frame.carry, next);
|
|
208
|
+
via?.received(frame.authority, frame.carry, frame.index);
|
|
107
209
|
}
|
|
108
|
-
function
|
|
109
|
-
const
|
|
110
|
-
|
|
111
|
-
|
|
210
|
+
function carried(frame) {
|
|
211
|
+
const held = staged.get(frame.carry);
|
|
212
|
+
staged.delete(frame.carry);
|
|
213
|
+
if ((held?.parts ?? 0) !== frame.parts)
|
|
214
|
+
return;
|
|
215
|
+
publish(frame, held?.entries ?? []);
|
|
112
216
|
}
|
|
113
|
-
function
|
|
217
|
+
function handle(frame, via) {
|
|
114
218
|
if (frame.type === 'signal') {
|
|
115
219
|
const mode = frame.service_mode;
|
|
116
220
|
if (mode !== 'open' && mode !== 'write-halted')
|
|
@@ -120,12 +224,23 @@ export function houseNotifications(transport, mode) {
|
|
|
120
224
|
return;
|
|
121
225
|
}
|
|
122
226
|
if (frame.type === 'opening') {
|
|
227
|
+
if (via !== null && mode === 'credential')
|
|
228
|
+
announce(via, frame);
|
|
229
|
+
return;
|
|
230
|
+
}
|
|
231
|
+
if (frame.type === 'caught_up') {
|
|
123
232
|
emit({
|
|
124
|
-
kind: '
|
|
125
|
-
expired: frame.expired.flatMap((authority) =>
|
|
233
|
+
kind: 'caught-up',
|
|
234
|
+
expired: frame.expired.flatMap((authority) => (tracking.get(authority) ?? []).map((tracked) => tracked.locator)),
|
|
126
235
|
});
|
|
127
236
|
return;
|
|
128
237
|
}
|
|
238
|
+
if (frame.type === 'authority_changed') {
|
|
239
|
+
const change = discovering.changed(frame);
|
|
240
|
+
if (change !== null)
|
|
241
|
+
emit(change);
|
|
242
|
+
return;
|
|
243
|
+
}
|
|
129
244
|
if (frame.type === 'conversations') {
|
|
130
245
|
emitConversation({ kind: 'list', entries: frame.conversations.map(listedConversation) });
|
|
131
246
|
return;
|
|
@@ -142,40 +257,44 @@ export function houseNotifications(transport, mode) {
|
|
|
142
257
|
frame.type === 'process' ||
|
|
143
258
|
frame.type === 'commands' ||
|
|
144
259
|
frame.type === 'options' ||
|
|
260
|
+
frame.type === 'starting' ||
|
|
261
|
+
frame.type === 'link' ||
|
|
262
|
+
frame.type === 'deliveries' ||
|
|
145
263
|
frame.type === 'interactions' ||
|
|
146
264
|
frame.type === 'message') {
|
|
147
265
|
converse(frame);
|
|
148
266
|
return;
|
|
149
267
|
}
|
|
150
|
-
if (frame.type
|
|
151
|
-
|
|
268
|
+
if (frame.type === 'part')
|
|
269
|
+
stage(frame, via);
|
|
270
|
+
else if (frame.type === 'carried')
|
|
271
|
+
carried(frame);
|
|
272
|
+
}
|
|
273
|
+
function publish(frame, entries) {
|
|
152
274
|
const at = position(frame.position);
|
|
153
275
|
const after = position(frame.after);
|
|
154
|
-
if (at === null || after === null || after >= at)
|
|
155
|
-
interrupt(frame.authority);
|
|
276
|
+
if (at === null || after === null || after >= at)
|
|
156
277
|
return;
|
|
278
|
+
const from = roomVersion({ position: frame.after, logEpoch: frame.log_epoch });
|
|
279
|
+
const version = roomVersion({ position: frame.position, logEpoch: frame.log_epoch });
|
|
280
|
+
for (const tracked of tracking.get(frame.authority) ?? []) {
|
|
281
|
+
emit({
|
|
282
|
+
kind: 'room-change',
|
|
283
|
+
locator: tracked.locator,
|
|
284
|
+
from,
|
|
285
|
+
roomVersion: version,
|
|
286
|
+
read: () => changePage(tracked, entries, version, mode),
|
|
287
|
+
});
|
|
157
288
|
}
|
|
158
|
-
const line = lines.get(frame.authority);
|
|
159
|
-
if (line?.logEpoch === frame.log_epoch) {
|
|
160
|
-
if (line.held !== null && at <= line.held)
|
|
161
|
-
return;
|
|
162
|
-
const last = line.frames.at(-1);
|
|
163
|
-
if (last !== undefined && at <= last.position)
|
|
164
|
-
return;
|
|
165
|
-
const held = { after, position: at, entries: frame.entries };
|
|
166
|
-
const next = last !== undefined && after <= last.position ? [...line.frames, held] : [held];
|
|
167
|
-
lines.set(frame.authority, { ...line, frames: next.length > HELD_FRAMES_MAX ? [] : next });
|
|
168
|
-
}
|
|
169
|
-
else {
|
|
170
|
-
interrupt(frame.authority);
|
|
171
|
-
}
|
|
172
|
-
announce(frame.authority, { position: frame.position, logEpoch: frame.log_epoch });
|
|
173
289
|
}
|
|
174
|
-
stream.observe(
|
|
290
|
+
stream.observe((frame) => handle(frame, socket));
|
|
175
291
|
stream.opened(reopened);
|
|
176
|
-
stream.closed((revoked) => {
|
|
292
|
+
stream.closed(({ revoked, lost }) => {
|
|
177
293
|
opening = null;
|
|
178
|
-
|
|
294
|
+
announced = null;
|
|
295
|
+
socket = null;
|
|
296
|
+
staged.clear();
|
|
297
|
+
emit({ kind: 'closed', revoked, lost });
|
|
179
298
|
});
|
|
180
299
|
return {
|
|
181
300
|
runtime,
|
|
@@ -197,13 +316,16 @@ export function houseNotifications(transport, mode) {
|
|
|
197
316
|
conversationObservers.delete(notify);
|
|
198
317
|
};
|
|
199
318
|
},
|
|
319
|
+
...(mode === 'credential' ? { agents: () => houseAgents(transport) } : {}),
|
|
200
320
|
},
|
|
201
321
|
observe(notify) {
|
|
202
322
|
observers.add(notify);
|
|
203
|
-
|
|
323
|
+
const replayed = opening === null ? [] : [{ kind: 'opened' }, announced];
|
|
324
|
+
if (replayed.length > 0) {
|
|
204
325
|
queueMicrotask(() => {
|
|
205
|
-
|
|
206
|
-
|
|
326
|
+
for (const event of replayed)
|
|
327
|
+
if (event !== null && observers.has(notify))
|
|
328
|
+
notify(event);
|
|
207
329
|
});
|
|
208
330
|
}
|
|
209
331
|
return () => {
|
|
@@ -211,112 +333,19 @@ export function houseNotifications(transport, mode) {
|
|
|
211
333
|
};
|
|
212
334
|
},
|
|
213
335
|
send(rooms) {
|
|
214
|
-
for (const room of rooms) {
|
|
215
|
-
const line = lines.get(room.authority);
|
|
216
|
-
const held = position(room.position);
|
|
217
|
-
if (line === undefined || held === null || line.logEpoch !== room.log_epoch)
|
|
218
|
-
continue;
|
|
219
|
-
lines.set(room.authority, { ...line, frames: [], held });
|
|
220
|
-
}
|
|
221
|
-
const current = opening;
|
|
222
336
|
opening = null;
|
|
223
|
-
|
|
337
|
+
announced = null;
|
|
338
|
+
socket?.hold(rooms, runtime);
|
|
224
339
|
},
|
|
225
340
|
track(entries) {
|
|
226
|
-
|
|
341
|
+
tracking.clear();
|
|
227
342
|
for (const entry of entries) {
|
|
228
|
-
|
|
229
|
-
if (lines.get(entry.authority)?.logEpoch !== entry.logEpoch) {
|
|
230
|
-
lines.set(entry.authority, { logEpoch: entry.logEpoch, frames: [], held: null });
|
|
231
|
-
}
|
|
232
|
-
}
|
|
233
|
-
for (const authority of lines.keys()) {
|
|
234
|
-
if (!locators.has(authority))
|
|
235
|
-
lines.delete(authority);
|
|
343
|
+
tracking.set(entry.authority, [...(tracking.get(entry.authority) ?? []), entry]);
|
|
236
344
|
}
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
const held = position(at.position);
|
|
241
|
-
if (line === undefined || held === null || line.logEpoch !== at.logEpoch)
|
|
242
|
-
return;
|
|
243
|
-
if (line.held !== null && held <= line.held)
|
|
244
|
-
return;
|
|
245
|
-
lines.set(authority, {
|
|
246
|
-
...line,
|
|
247
|
-
frames: line.frames.filter((frame) => frame.position > held),
|
|
248
|
-
held,
|
|
249
|
-
});
|
|
250
|
-
},
|
|
251
|
-
advance(tracked, from, holds) {
|
|
252
|
-
const line = lines.get(tracked.authority);
|
|
253
|
-
const start = position(from.position);
|
|
254
|
-
if (line === undefined || start === null || line.logEpoch !== from.logEpoch)
|
|
255
|
-
return null;
|
|
256
|
-
const pending = line.frames.filter((frame) => frame.position > start);
|
|
257
|
-
const first = pending[0];
|
|
258
|
-
if (first === undefined || first.after > start)
|
|
259
|
-
return null;
|
|
260
|
-
const documents = {};
|
|
261
|
-
const revisions = {};
|
|
262
|
-
const changes = {};
|
|
263
|
-
const removals = [];
|
|
264
|
-
const applied = [];
|
|
265
|
-
const schemas = new Map();
|
|
266
|
-
const forget = (path) => {
|
|
267
|
-
delete documents[path];
|
|
268
|
-
delete revisions[path];
|
|
269
|
-
delete changes[path];
|
|
270
|
-
const removed = removals.indexOf(path);
|
|
271
|
-
if (removed !== -1)
|
|
272
|
-
removals.splice(removed, 1);
|
|
273
|
-
};
|
|
274
|
-
for (const frame of pending) {
|
|
275
|
-
for (const entry of frame.entries) {
|
|
276
|
-
if (entry.kind === 'edited' &&
|
|
277
|
-
entry.revision !== undefined &&
|
|
278
|
-
holds?.(entry.path, entry.revision) === true) {
|
|
279
|
-
forget(entry.path);
|
|
280
|
-
continue;
|
|
281
|
-
}
|
|
282
|
-
applied.push(entry);
|
|
283
|
-
if (tracked.schemas.includes(entry.path))
|
|
284
|
-
schemas.set(entry.path, entry);
|
|
285
|
-
if (entry.kind === 'removed') {
|
|
286
|
-
forget(entry.path);
|
|
287
|
-
removals.push(entry.path);
|
|
288
|
-
continue;
|
|
289
|
-
}
|
|
290
|
-
if (entry.text === undefined)
|
|
291
|
-
return null;
|
|
292
|
-
if (mode === 'credential' && entry.revision === undefined)
|
|
293
|
-
return null;
|
|
294
|
-
const head = headChange(entry);
|
|
295
|
-
if (head === null)
|
|
296
|
-
return null;
|
|
297
|
-
forget(entry.path);
|
|
298
|
-
documents[entry.path] = entry.text;
|
|
299
|
-
if (entry.revision !== undefined)
|
|
300
|
-
revisions[entry.path] = entry.revision;
|
|
301
|
-
if (head !== undefined)
|
|
302
|
-
changes[entry.path] = head;
|
|
303
|
-
}
|
|
345
|
+
for (const [carry, held] of staged) {
|
|
346
|
+
if (!tracking.has(held.authority))
|
|
347
|
+
staged.delete(carry);
|
|
304
348
|
}
|
|
305
|
-
const last = pending.at(-1);
|
|
306
|
-
lines.set(tracked.authority, { ...line, frames: pending, held: last.position });
|
|
307
|
-
return {
|
|
308
|
-
page: {
|
|
309
|
-
kind: 'net-advancement',
|
|
310
|
-
roomVersion: roomVersion({ position: last.position.toString(), logEpoch: line.logEpoch }),
|
|
311
|
-
documents,
|
|
312
|
-
revisions,
|
|
313
|
-
changes,
|
|
314
|
-
binaryTargets: [],
|
|
315
|
-
removals: removals.sort(),
|
|
316
|
-
},
|
|
317
|
-
entries: applied,
|
|
318
|
-
schemas,
|
|
319
|
-
};
|
|
320
349
|
},
|
|
321
350
|
};
|
|
322
351
|
}
|
package/dist/transport.d.ts
CHANGED
|
@@ -1,37 +1,39 @@
|
|
|
1
1
|
import type { ConversationEvent, TurnOperation } from '@agentshouse/mdruntime';
|
|
2
|
-
export declare const
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
export
|
|
7
|
-
export
|
|
8
|
-
export declare
|
|
9
|
-
export declare
|
|
10
|
-
export declare const SITE_DOOR_ENUMERATE = "/_house/door/enumerate";
|
|
2
|
+
export declare const HOUSE_RUNTIME_READS: {
|
|
3
|
+
readonly acts: readonly ['account/push', 'agents/read', 'apps/features/set', 'apps/source/download', 'apps/source/top', 'batch', 'batch-upload', 'bootstrap', 'discover', 'files/attach', 'files/finish', 'files/get', 'revisions', 'sites/screenshot/read'];
|
|
4
|
+
readonly frames: readonly ['app-message', 'authority_changed', 'carried', 'caught_up', 'commands', 'conversation', 'conversation_deleted', 'conversations', 'deliveries', 'deployment', 'held', 'interactions', 'link', 'message', 'opening', 'options', 'part', 'process', 'received', 'signal', 'site', 'starting', 'tab-icon', 'turn'];
|
|
5
|
+
};
|
|
6
|
+
export type HouseRuntimeAct = (typeof HOUSE_RUNTIME_READS.acts)[number];
|
|
7
|
+
export type HouseRuntimeFrame = (typeof HOUSE_RUNTIME_READS.frames)[number];
|
|
8
|
+
export declare function houseDoorRoute(act: HouseRuntimeAct): string;
|
|
9
|
+
export declare function houseSiteRoute(act: Extract<HouseRuntimeAct, 'bootstrap' | 'discover'>): string;
|
|
11
10
|
export declare const SITE_DOOR_SUBMIT = "/_house/door/submit";
|
|
12
|
-
export declare const PRIVATE_LOCATOR = "private";
|
|
13
11
|
export type HouseMode = 'credential' | 'site';
|
|
14
12
|
export type HouseDoorAnswer = {
|
|
15
13
|
status: number;
|
|
16
14
|
body: unknown;
|
|
17
15
|
};
|
|
18
|
-
export
|
|
19
|
-
export type
|
|
20
|
-
export type
|
|
16
|
+
export declare const SITE_FILES = "/_house/files/";
|
|
17
|
+
export type HouseByteAct = 'authored_batch_upload';
|
|
18
|
+
export type HouseBytesAnswer = {
|
|
19
|
+
status: number;
|
|
20
|
+
body: ReadableStream<Uint8Array> | null;
|
|
21
|
+
mediaType: string;
|
|
22
|
+
};
|
|
21
23
|
export type HouseByteTransfer = {
|
|
22
24
|
act: HouseByteAct;
|
|
23
|
-
method: 'GET' | 'POST';
|
|
24
25
|
url: string;
|
|
25
|
-
|
|
26
|
-
body?: HouseByteBody;
|
|
27
|
-
operation?: string;
|
|
26
|
+
body: string;
|
|
28
27
|
};
|
|
29
28
|
export type HouseStreamEntry = {
|
|
30
29
|
path: string;
|
|
31
|
-
kind: 'edited' | 'removed';
|
|
30
|
+
kind: 'edited' | 'removed' | 'folder';
|
|
31
|
+
removed?: true;
|
|
32
32
|
revision?: string;
|
|
33
33
|
sha256?: string;
|
|
34
34
|
text?: string;
|
|
35
|
+
bytes?: number;
|
|
36
|
+
media_type?: string;
|
|
35
37
|
author?: {
|
|
36
38
|
user: string;
|
|
37
39
|
name: string;
|
|
@@ -47,21 +49,49 @@ type LiveFact<K extends ConversationEvent['kind']> = Extract<ConversationEvent,
|
|
|
47
49
|
export type HouseListedConversation = {
|
|
48
50
|
conversation_id: string;
|
|
49
51
|
agent_id: string;
|
|
52
|
+
agent_name: string;
|
|
53
|
+
agent_retired: boolean;
|
|
50
54
|
name: string;
|
|
51
55
|
created_at: string;
|
|
52
56
|
finished_at: string | null;
|
|
53
57
|
outcome: string | null;
|
|
58
|
+
waiting: boolean;
|
|
59
|
+
newest: {
|
|
60
|
+
accepted_at: string;
|
|
61
|
+
message_id: string;
|
|
62
|
+
} | null;
|
|
54
63
|
};
|
|
55
|
-
|
|
56
|
-
type:
|
|
64
|
+
type Listed<Frame extends {
|
|
65
|
+
readonly type: HouseRuntimeFrame;
|
|
66
|
+
}> = Frame;
|
|
67
|
+
export type HouseStreamFrame = Listed<{
|
|
68
|
+
type: 'part';
|
|
69
|
+
authority: string;
|
|
70
|
+
carry: string;
|
|
71
|
+
index: number;
|
|
72
|
+
entries: readonly HouseStreamEntry[];
|
|
73
|
+
} | {
|
|
74
|
+
type: 'carried';
|
|
57
75
|
authority: string;
|
|
76
|
+
carry: string;
|
|
77
|
+
parts: number;
|
|
58
78
|
after: string;
|
|
59
79
|
position: string;
|
|
60
80
|
log_epoch: string;
|
|
61
|
-
entries: readonly HouseStreamEntry[];
|
|
62
81
|
} | {
|
|
63
82
|
type: 'opening';
|
|
83
|
+
member: unknown;
|
|
84
|
+
bounds: unknown;
|
|
85
|
+
actions: readonly unknown[];
|
|
86
|
+
authorities: readonly unknown[];
|
|
87
|
+
} | {
|
|
88
|
+
type: 'caught_up';
|
|
64
89
|
expired: readonly string[];
|
|
90
|
+
} | {
|
|
91
|
+
type: 'authority_changed';
|
|
92
|
+
member: unknown;
|
|
93
|
+
authorities: readonly unknown[];
|
|
94
|
+
left: readonly string[];
|
|
65
95
|
} | ({
|
|
66
96
|
type: 'turn';
|
|
67
97
|
conversation_id: string;
|
|
@@ -74,6 +104,10 @@ export type HouseStreamFrame = {
|
|
|
74
104
|
type: 'interactions';
|
|
75
105
|
conversation_id: string;
|
|
76
106
|
interactions: readonly unknown[];
|
|
107
|
+
} | {
|
|
108
|
+
type: 'deliveries';
|
|
109
|
+
conversation_id: string;
|
|
110
|
+
unknown: readonly string[];
|
|
77
111
|
} | {
|
|
78
112
|
type: 'process';
|
|
79
113
|
conversation_id: string;
|
|
@@ -86,6 +120,14 @@ export type HouseStreamFrame = {
|
|
|
86
120
|
type: 'options';
|
|
87
121
|
conversation_id: string;
|
|
88
122
|
options: LiveFact<'options'>['options'];
|
|
123
|
+
} | {
|
|
124
|
+
type: 'starting';
|
|
125
|
+
conversation_id: string;
|
|
126
|
+
step: string | null;
|
|
127
|
+
} | {
|
|
128
|
+
type: 'link';
|
|
129
|
+
conversation_id: string;
|
|
130
|
+
connected: boolean;
|
|
89
131
|
} | {
|
|
90
132
|
type: 'conversations';
|
|
91
133
|
conversations: readonly HouseListedConversation[];
|
|
@@ -98,7 +140,7 @@ export type HouseStreamFrame = {
|
|
|
98
140
|
} | {
|
|
99
141
|
type: 'signal';
|
|
100
142
|
service_mode: string;
|
|
101
|
-
}
|
|
143
|
+
}>;
|
|
102
144
|
export type HouseHeldRoom = {
|
|
103
145
|
authority: string;
|
|
104
146
|
position: string;
|
|
@@ -106,22 +148,36 @@ export type HouseHeldRoom = {
|
|
|
106
148
|
};
|
|
107
149
|
export type HouseOpening = {
|
|
108
150
|
hold(rooms: readonly HouseHeldRoom[], runtime: string): void;
|
|
151
|
+
received(authority: string, carry: string, index: number): void;
|
|
152
|
+
close(): void;
|
|
153
|
+
};
|
|
154
|
+
export type HouseClosing = {
|
|
155
|
+
revoked: boolean;
|
|
156
|
+
lost: boolean;
|
|
109
157
|
};
|
|
110
158
|
export type HouseStream = {
|
|
111
159
|
observe(receive: (frame: HouseStreamFrame) => void): () => void;
|
|
112
160
|
opened(notify: (opening: HouseOpening) => void): () => void;
|
|
113
|
-
closed(notify: (
|
|
161
|
+
closed(notify: (closing: HouseClosing) => void): () => void;
|
|
162
|
+
};
|
|
163
|
+
export type HouseStreamed = HouseDoorAnswer & {
|
|
164
|
+
room: ReadableStream<Uint8Array> | null;
|
|
114
165
|
};
|
|
115
166
|
export type HouseDoor = {
|
|
116
167
|
door(route: string, body: unknown): Promise<HouseDoorAnswer>;
|
|
117
168
|
stream: HouseStream;
|
|
118
169
|
};
|
|
119
170
|
export type HouseTransport = HouseDoor & {
|
|
171
|
+
streamed(route: string, body: unknown, signal: AbortSignal): Promise<HouseStreamed>;
|
|
120
172
|
transfer(request: HouseByteTransfer): Promise<HouseDoorAnswer>;
|
|
173
|
+
put(url: string, body: Blob, headers: Readonly<Record<string, string>>): Promise<number>;
|
|
174
|
+
download(url: string): Promise<HouseBytesAnswer>;
|
|
121
175
|
};
|
|
122
176
|
export type HouseSiteTransport = HouseDoor & {
|
|
123
177
|
online(): boolean;
|
|
124
178
|
read(route: string): Promise<HouseDoorAnswer>;
|
|
179
|
+
streamed(route: string, signal: AbortSignal): Promise<HouseStreamed>;
|
|
180
|
+
download(route: string): Promise<HouseBytesAnswer>;
|
|
125
181
|
};
|
|
126
182
|
export {};
|
|
127
183
|
//# sourceMappingURL=transport.d.ts.map
|
package/dist/transport.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"transport.d.ts","sourceRoot":"","sources":["../src/transport.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAE/E,eAAO,MAAM,aAAa,mBAAmB,
|
|
1
|
+
{"version":3,"file":"transport.d.ts","sourceRoot":"","sources":["../src/transport.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAE/E,eAAO,MAAM,mBAAmB;aAC9B,IAAI,YACF,cAAc,EACd,aAAa,EACb,mBAAmB,EACnB,sBAAsB,EACtB,iBAAiB,EACjB,OAAO,EACP,cAAc,EACd,WAAW,EACX,UAAU,EACV,cAAc,EACd,cAAc,EACd,WAAW,EACX,WAAW,EACX,uBAAuB;aAEzB,MAAM,YACJ,aAAa,EACb,mBAAmB,EACnB,SAAS,EACT,WAAW,EACX,UAAU,EACV,cA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