@agentshouse/mdruntime-adapter 0.1.0-c50b979d9313f → 0.1.0-c543f40f7ffb2
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 +296 -276
- package/dist/actions.d.ts +13 -21
- package/dist/actions.d.ts.map +1 -1
- package/dist/actions.js +85 -141
- package/dist/adapter.d.ts +1 -0
- package/dist/adapter.d.ts.map +1 -1
- package/dist/adapter.js +310 -130
- package/dist/discovery.d.ts +5 -3
- package/dist/discovery.d.ts.map +1 -1
- package/dist/discovery.js +29 -10
- package/dist/gather.d.ts +1 -1
- package/dist/gather.d.ts.map +1 -1
- package/dist/gather.js +4 -14
- package/dist/index.d.ts +3 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -0
- package/dist/part.d.ts +15 -0
- package/dist/part.d.ts.map +1 -0
- package/dist/part.js +85 -0
- package/dist/read.d.ts +65 -20
- package/dist/read.d.ts.map +1 -1
- package/dist/read.js +282 -122
- package/dist/referrer.d.ts +6 -1
- package/dist/referrer.d.ts.map +1 -1
- package/dist/referrer.js +6 -10
- package/dist/room-types.d.ts +6 -0
- package/dist/room-types.d.ts.map +1 -0
- package/dist/room-types.js +66 -0
- package/dist/site.d.ts +1 -1
- package/dist/site.d.ts.map +1 -1
- package/dist/site.js +146 -123
- package/dist/stream.d.ts +5 -4
- package/dist/stream.d.ts.map +1 -1
- package/dist/stream.js +275 -77
- package/dist/transport.d.ts +48 -10
- package/dist/transport.d.ts.map +1 -1
- package/dist/transport.js +1 -1
- package/dist/upload.d.ts +12 -0
- package/dist/upload.d.ts.map +1 -0
- package/dist/upload.js +52 -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 +12 -1
- package/dist/write.d.ts.map +1 -1
- package/dist/write.js +96 -44
- package/package.json +2 -2
- package/dist/handed.d.ts +0 -15
- package/dist/handed.d.ts.map +0 -1
- package/dist/handed.js +0 -38
package/dist/site.js
CHANGED
|
@@ -1,126 +1,117 @@
|
|
|
1
|
+
import { stepped } from '@agentshouse/mdruntime';
|
|
1
2
|
import { actionOutcome, SITE_SUBMIT } from './actions.js';
|
|
2
3
|
import { mapDiscovery, parseSiteDiscovery, siteCapabilities, siteTracked, } from './discovery.js';
|
|
3
4
|
import { partModels, streamedModels, viewModels } from './model.js';
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
5
|
+
import { bootstrapping, emptyScope, housePart, manifested, parseEnumeration, parseSiteParted, partInventory, refreshFrom, viewOf, wholeView, } from './read.js';
|
|
6
|
+
import { PART_ATTEMPTS, partArrival, partFrame, unverifiedPart } from './part.js';
|
|
6
7
|
import { classifyDoor, classifyRead, discoveryFailure } from './refusal.js';
|
|
8
|
+
import { HOUSE_ROOM_TYPES } from './room-types.js';
|
|
7
9
|
import { houseNotifications } from './stream.js';
|
|
8
|
-
import { SITE_DOOR_BOOTSTRAP, SITE_DOOR_DISCOVER, SITE_DOOR_ENUMERATE, SITE_DOOR_SUBMIT,
|
|
10
|
+
import { SITE_DOOR_BOOTSTRAP, SITE_DOOR_DISCOVER, SITE_DOOR_ENUMERATE, SITE_DOOR_SUBMIT, SITE_FILES, } from './transport.js';
|
|
9
11
|
import { houseReferrer } from './referrer.js';
|
|
10
12
|
import { followsVersion, logPosition, presented, reachedVersion, roomVersion, } from './version.js';
|
|
11
13
|
const UNCERTAIN = { kind: 'transport-uncertainty' };
|
|
14
|
+
function unfound() {
|
|
15
|
+
return { kind: 'rejected', code: 'file_not_found', fields: {}, retryable: false };
|
|
16
|
+
}
|
|
12
17
|
function siteRoom(tracked) {
|
|
13
18
|
return {
|
|
14
19
|
name: tracked.handle,
|
|
15
20
|
locator: tracked.locator,
|
|
16
21
|
handle: tracked.handle,
|
|
17
22
|
roomVersion: roomVersion(tracked),
|
|
18
|
-
operations: {
|
|
19
|
-
replica: { selection: tracked.locator, admission: 'admitted' },
|
|
23
|
+
operations: { write: [], delete: [] },
|
|
24
|
+
replica: { selection: tracked.locator, admission: 'admitted', offline: 'open' },
|
|
20
25
|
providerOwnedPaths: [],
|
|
21
26
|
};
|
|
22
27
|
}
|
|
23
|
-
function
|
|
24
|
-
return refused.kind === 'beyond-horizon' ? UNCERTAIN : refused;
|
|
25
|
-
}
|
|
26
|
-
export function createSiteAdapter(transport) {
|
|
28
|
+
export function createSiteAdapter(transport, snapshot = false) {
|
|
27
29
|
const notifications = houseNotifications(transport, 'site');
|
|
28
30
|
const tracked = new Map();
|
|
31
|
+
const expired = new Map();
|
|
29
32
|
function published(referrer) {
|
|
30
33
|
const named = houseReferrer(referrer, tracked);
|
|
31
34
|
return named === null || !tracked.has(named.locator) ? null : named;
|
|
32
35
|
}
|
|
33
|
-
|
|
36
|
+
function fileRoute(request) {
|
|
37
|
+
const named = published(request.kind === 'path' ? { room: request.locator, path: request.path } : request.referrer);
|
|
38
|
+
if (named === null) {
|
|
39
|
+
return { kind: 'rejected', code: 'referrer_unknown', fields: {}, retryable: false };
|
|
40
|
+
}
|
|
41
|
+
if (request.fileRef === undefined)
|
|
42
|
+
return unfound();
|
|
43
|
+
const { room_ref, path } = named.referrer;
|
|
44
|
+
return `${SITE_FILES}${room_ref}/${encodeURIComponent(request.fileRef)}/${encodeURIComponent(path)}`;
|
|
45
|
+
}
|
|
46
|
+
async function enumerated(entry, from, page) {
|
|
34
47
|
const answer = await transport.door(SITE_DOOR_ENUMERATE, {
|
|
35
|
-
positions: [
|
|
48
|
+
positions: [
|
|
49
|
+
page === undefined
|
|
50
|
+
? presented(entry.authority, from)
|
|
51
|
+
: {
|
|
52
|
+
...presented(entry.authority, { position: page.after, logEpoch: from.logEpoch }),
|
|
53
|
+
page: { through: page.through, read: page.read },
|
|
54
|
+
},
|
|
55
|
+
],
|
|
36
56
|
});
|
|
37
57
|
const classified = classifyRead(answer.status, answer.body, entry.locator);
|
|
38
58
|
if (classified !== null)
|
|
39
59
|
return classified;
|
|
40
|
-
|
|
60
|
+
const found = parseEnumeration(answer.body, 'site');
|
|
61
|
+
if (found === null)
|
|
62
|
+
return UNCERTAIN;
|
|
63
|
+
return viewOf(found, entry) ?? { kind: 'room-not-readable', locator: entry.locator };
|
|
41
64
|
}
|
|
42
|
-
async function
|
|
43
|
-
const
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
const
|
|
65
|
+
async function enumeration(entry, from) {
|
|
66
|
+
const first = await enumerated(entry, from);
|
|
67
|
+
return 'kind' in first ? first : wholeView(first, (page) => enumerated(entry, from, page));
|
|
68
|
+
}
|
|
69
|
+
async function partedRoom(entry) {
|
|
70
|
+
const cut = expired.get(entry.locator);
|
|
71
|
+
const answer = await transport.read(`${SITE_DOOR_BOOTSTRAP}${entry.authority}${cut === undefined ? '' : `?expired=${cut}`}`);
|
|
48
72
|
const classified = classifyDoor(answer.status, answer.body, entry.locator);
|
|
49
73
|
if (classified !== null)
|
|
50
|
-
return
|
|
51
|
-
const
|
|
52
|
-
return
|
|
53
|
-
}
|
|
54
|
-
async function assembled(entry, scope, path, offset) {
|
|
55
|
-
const opened = scope.contents.at(-1);
|
|
56
|
-
if (opened === undefined || opened.path !== path || opened.content.length !== offset) {
|
|
57
|
-
return UNCERTAIN;
|
|
58
|
-
}
|
|
59
|
-
let text = opened.content;
|
|
60
|
-
for (;;) {
|
|
61
|
-
const part = await bootstrapPart(entry, path, text.length);
|
|
62
|
-
if ('failure' in part)
|
|
63
|
-
return part.failure;
|
|
64
|
-
const [piece] = part.scope.contents;
|
|
65
|
-
if (piece === undefined ||
|
|
66
|
-
part.scope.contents.length !== 1 ||
|
|
67
|
-
piece.path !== path ||
|
|
68
|
-
piece.content.length === 0) {
|
|
69
|
-
return UNCERTAIN;
|
|
70
|
-
}
|
|
71
|
-
text += piece.content;
|
|
72
|
-
const more = siteBootstrapOffset(part.body);
|
|
73
|
-
if (more === null)
|
|
74
|
-
break;
|
|
75
|
-
if (more !== text.length)
|
|
76
|
-
return UNCERTAIN;
|
|
77
|
-
}
|
|
78
|
-
const file = scope.files.find((held) => held.path === path);
|
|
79
|
-
if (file === undefined || (await sha256Hex(text)) !== file.version)
|
|
80
|
-
return UNCERTAIN;
|
|
81
|
-
return { ...scope, contents: [...scope.contents.slice(0, -1), { path, content: text }] };
|
|
74
|
+
return classified;
|
|
75
|
+
const room = parseSiteParted(answer.body);
|
|
76
|
+
return room === null || room.anchor !== entry.authority ? UNCERTAIN : room;
|
|
82
77
|
}
|
|
83
|
-
async function
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
if (offset !== null) {
|
|
90
|
-
if (next === null)
|
|
91
|
-
return { failure: UNCERTAIN };
|
|
92
|
-
const scope = await assembled(entry, part.scope, next, offset);
|
|
93
|
-
return 'kind' in scope ? { failure: scope } : { scope, next };
|
|
78
|
+
async function fetchedPart(entry, room, listed, received, arriving) {
|
|
79
|
+
if (received !== undefined) {
|
|
80
|
+
const kept = new Uint8Array(received);
|
|
81
|
+
const held = await housePart(room, kept, listed, 'site');
|
|
82
|
+
if (held !== null)
|
|
83
|
+
return 'kind' in held ? held : { scope: held, frame: kept };
|
|
94
84
|
}
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
85
|
+
for (let attempt = 0; attempt < PART_ATTEMPTS; attempt += 1) {
|
|
86
|
+
const answer = await transport.read(`${SITE_DOOR_BOOTSTRAP}${entry.authority}?part=${encodeURIComponent(listed.part)}`, partArrival(listed, arriving));
|
|
87
|
+
const failure = classifyRead(answer.status, answer.body, entry.locator);
|
|
88
|
+
if (failure?.kind === 'beyond-horizon')
|
|
89
|
+
expired.set(entry.locator, room.position);
|
|
90
|
+
if (failure !== null)
|
|
91
|
+
return failure;
|
|
92
|
+
const frame = partFrame(answer.body);
|
|
93
|
+
if (frame === null)
|
|
94
|
+
continue;
|
|
95
|
+
const scope = await housePart(room, frame, listed, 'site');
|
|
96
|
+
if (scope !== null)
|
|
97
|
+
return 'kind' in scope ? scope : { scope, frame };
|
|
98
98
|
}
|
|
99
|
-
|
|
100
|
-
if ('kind' in found)
|
|
101
|
-
return { failure: settled(found) };
|
|
102
|
-
const view = viewOf(found, entry);
|
|
103
|
-
if (view === undefined)
|
|
104
|
-
return { failure: { kind: 'room-not-readable', locator: entry.locator } };
|
|
105
|
-
return { scope: advancedScope(scope, view), next: null };
|
|
99
|
+
return unverifiedPart(entry.locator);
|
|
106
100
|
}
|
|
107
101
|
async function refreshed(entry, fromRoomVersion) {
|
|
108
102
|
const from = logPosition(fromRoomVersion);
|
|
109
103
|
if (from === null)
|
|
110
104
|
return { kind: 'beyond-horizon' };
|
|
111
|
-
const streamed = notifications.advance(entry, from);
|
|
105
|
+
const streamed = await stepped(notifications.advance(entry, from));
|
|
112
106
|
if (streamed !== null) {
|
|
113
107
|
const models = await streamedModels(streamed.schemas, entry, 'site');
|
|
114
108
|
return models === undefined ? streamed.page : { ...streamed.page, models };
|
|
115
109
|
}
|
|
116
|
-
const
|
|
117
|
-
if ('kind' in
|
|
118
|
-
return
|
|
119
|
-
const view = viewOf(found, entry);
|
|
120
|
-
if (view === undefined)
|
|
121
|
-
return { kind: 'room-not-readable', locator: entry.locator };
|
|
110
|
+
const view = await enumeration(entry, from);
|
|
111
|
+
if ('kind' in view)
|
|
112
|
+
return view;
|
|
122
113
|
notifications.reach(entry.authority, view);
|
|
123
|
-
const answer = refreshFrom(view, fromRoomVersion);
|
|
114
|
+
const answer = await refreshFrom(view, fromRoomVersion);
|
|
124
115
|
if (answer.kind !== 'net-advancement')
|
|
125
116
|
return answer;
|
|
126
117
|
const models = await viewModels(view, entry);
|
|
@@ -129,6 +120,7 @@ export function createSiteAdapter(transport) {
|
|
|
129
120
|
return {
|
|
130
121
|
localSaves: true,
|
|
131
122
|
exhaustiveDiscovery: true,
|
|
123
|
+
roomTypes: HOUSE_ROOM_TYPES,
|
|
132
124
|
async authorize() {
|
|
133
125
|
return {};
|
|
134
126
|
},
|
|
@@ -151,23 +143,41 @@ export function createSiteAdapter(transport) {
|
|
|
151
143
|
const entry = tracked.get(request.locator);
|
|
152
144
|
if (entry === undefined)
|
|
153
145
|
return { kind: 'room-not-readable', locator: request.locator };
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
146
|
+
let continued;
|
|
147
|
+
let inventory;
|
|
148
|
+
if (request.pageToken === undefined) {
|
|
149
|
+
const room = await partedRoom(entry);
|
|
150
|
+
if ('kind' in room)
|
|
151
|
+
return room;
|
|
152
|
+
continued = { room, next: 0, seen: [] };
|
|
153
|
+
inventory = partInventory(room);
|
|
154
|
+
if (inventory.parts > 0)
|
|
155
|
+
return manifested(room, inventory, JSON.stringify(continued));
|
|
156
|
+
}
|
|
157
|
+
else
|
|
158
|
+
continued = JSON.parse(request.pageToken);
|
|
159
|
+
const listed = continued.room.parts[continued.next];
|
|
160
|
+
const sent = listed === undefined
|
|
161
|
+
? { scope: emptyScope(continued.room), frame: null }
|
|
162
|
+
: await fetchedPart(entry, continued.room, listed, request.received, request.arriving);
|
|
163
|
+
if ('kind' in sent)
|
|
164
|
+
return sent;
|
|
165
|
+
const { scope } = sent;
|
|
166
|
+
notifications.reach(entry.authority, scope);
|
|
167
|
+
const next = continued.next + 1;
|
|
168
|
+
const more = next < continued.room.parts.length;
|
|
161
169
|
const seen = [
|
|
162
|
-
...
|
|
163
|
-
...entry.schemas.filter((schema) =>
|
|
170
|
+
...continued.seen,
|
|
171
|
+
...entry.schemas.filter((schema) => scope.files.some((file) => file.path === schema)),
|
|
164
172
|
];
|
|
165
|
-
const models = await partModels(
|
|
166
|
-
const
|
|
173
|
+
const models = await partModels(scope, entry, new Set(seen), !more);
|
|
174
|
+
const { folders: _folders, ...page } = await stepped(bootstrapping(scope));
|
|
167
175
|
return {
|
|
168
|
-
...
|
|
176
|
+
...page,
|
|
169
177
|
...(models === undefined ? {} : { models }),
|
|
170
|
-
...(
|
|
178
|
+
...(more ? { pageToken: JSON.stringify({ ...continued, next, seen }) } : {}),
|
|
179
|
+
...(inventory === undefined ? {} : { inventory }),
|
|
180
|
+
...(sent.frame === null ? {} : { received: sent.frame }),
|
|
171
181
|
};
|
|
172
182
|
},
|
|
173
183
|
async refresh(_authorization, request) {
|
|
@@ -176,6 +186,11 @@ export function createSiteAdapter(transport) {
|
|
|
176
186
|
return { kind: 'room-not-readable', locator: request.locator };
|
|
177
187
|
if (request.pageToken !== undefined)
|
|
178
188
|
return UNCERTAIN;
|
|
189
|
+
if (snapshot) {
|
|
190
|
+
return request.fromRoomVersion === roomVersion(entry)
|
|
191
|
+
? { kind: 'still-current' }
|
|
192
|
+
: { kind: 'beyond-horizon' };
|
|
193
|
+
}
|
|
179
194
|
return refreshed(entry, request.fromRoomVersion);
|
|
180
195
|
},
|
|
181
196
|
async mutate() {
|
|
@@ -185,30 +200,31 @@ export function createSiteAdapter(transport) {
|
|
|
185
200
|
return { kind: 'no-history' };
|
|
186
201
|
},
|
|
187
202
|
async binary(_authorization, request) {
|
|
188
|
-
const
|
|
189
|
-
if (
|
|
190
|
-
return
|
|
191
|
-
|
|
192
|
-
if (
|
|
193
|
-
return
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
const read = await transport.download(`${SITE_FILES}${room_ref}/${encodeURIComponent(request.fileRef)}/${path === undefined
|
|
197
|
-
? `${SITE_FILE_RECORD}/${encodeURIComponent(record)}`
|
|
198
|
-
: encodeURIComponent(path)}`);
|
|
199
|
-
if (read.status === 404) {
|
|
200
|
-
return { kind: 'rejected', code: 'file_not_found', fields: {}, retryable: false };
|
|
201
|
-
}
|
|
202
|
-
return read.status === 200 && read.blob !== null
|
|
203
|
-
? { kind: 'binary', blob: read.blob }
|
|
203
|
+
const route = fileRoute(request);
|
|
204
|
+
if (typeof route !== 'string')
|
|
205
|
+
return route;
|
|
206
|
+
const read = await transport.download(route);
|
|
207
|
+
if (read.status === 404)
|
|
208
|
+
return unfound();
|
|
209
|
+
return read.status === 200 && read.body !== null
|
|
210
|
+
? { kind: 'binary', body: read.body, mediaType: read.mediaType }
|
|
204
211
|
: UNCERTAIN;
|
|
205
212
|
},
|
|
213
|
+
async link(_authorization, request) {
|
|
214
|
+
const route = fileRoute(request);
|
|
215
|
+
if (typeof route !== 'string')
|
|
216
|
+
return route;
|
|
217
|
+
return {
|
|
218
|
+
kind: 'link',
|
|
219
|
+
url: route,
|
|
220
|
+
name: request.path.slice(request.path.lastIndexOf('/') + 1),
|
|
221
|
+
};
|
|
222
|
+
},
|
|
206
223
|
referrerScope(referrer) {
|
|
207
224
|
const named = published(referrer);
|
|
208
225
|
if (named === null)
|
|
209
226
|
return null;
|
|
210
|
-
|
|
211
|
-
return { kind: 'room', locator: named.locator, ...(path === undefined ? {} : { path }) };
|
|
227
|
+
return { locator: named.locator, path: named.referrer.path };
|
|
212
228
|
},
|
|
213
229
|
reached(locator, version, target) {
|
|
214
230
|
return reachedVersion(version, target, tracked.get(locator)?.logEpoch);
|
|
@@ -229,20 +245,27 @@ export function createSiteAdapter(transport) {
|
|
|
229
245
|
return UNCERTAIN;
|
|
230
246
|
return actionOutcome(await transport.door(SITE_DOOR_SUBMIT, request.input), SITE_SUBMIT);
|
|
231
247
|
},
|
|
232
|
-
roomStream:
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
248
|
+
roomStream: snapshot
|
|
249
|
+
? undefined
|
|
250
|
+
: {
|
|
251
|
+
hold(rooms) {
|
|
252
|
+
notifications.send(rooms.flatMap((room) => {
|
|
253
|
+
const entry = tracked.get(room.locator);
|
|
254
|
+
const at = logPosition(room.roomVersion);
|
|
255
|
+
if (entry === undefined || at === null)
|
|
256
|
+
return [];
|
|
257
|
+
notifications.reach(entry.authority, at);
|
|
258
|
+
return [presented(entry.authority, at)];
|
|
259
|
+
}));
|
|
260
|
+
},
|
|
261
|
+
reopen: notifications.reopen,
|
|
262
|
+
observe: notifications.observe,
|
|
263
|
+
published(locator, roomVersion) {
|
|
264
|
+
const at = logPosition(roomVersion);
|
|
265
|
+
if (at !== null)
|
|
266
|
+
notifications.published(locator, at);
|
|
267
|
+
},
|
|
242
268
|
},
|
|
243
|
-
reopen: notifications.reopen,
|
|
244
|
-
observe: notifications.observe,
|
|
245
|
-
},
|
|
246
269
|
serviceMode: notifications.serviceMode,
|
|
247
270
|
};
|
|
248
271
|
}
|
package/dist/stream.d.ts
CHANGED
|
@@ -1,21 +1,22 @@
|
|
|
1
|
-
import type
|
|
1
|
+
import { type ConversationStream, type RefreshPage, type RoomStreamEvent, type ServiceModeSignal, type StreamReceipts } from '@agentshouse/mdruntime';
|
|
2
2
|
import type { TrackedAuthority } from './discovery.js';
|
|
3
3
|
import type { HouseDoor, HouseHeldRoom, HouseMode, HouseStreamEntry } from './transport.js';
|
|
4
4
|
import { type LogPosition } from './version.js';
|
|
5
5
|
export type HeldRevision = (path: string, revision: string) => boolean;
|
|
6
6
|
export type StreamedAdvancement = {
|
|
7
7
|
page: RefreshPage;
|
|
8
|
-
entries: readonly HouseStreamEntry[];
|
|
9
8
|
schemas: ReadonlyMap<string, HouseStreamEntry>;
|
|
10
9
|
};
|
|
11
10
|
export type HouseNotifications = {
|
|
12
11
|
runtime: string;
|
|
13
|
-
observe(notify: (event: RoomStreamEvent) => void): () => void;
|
|
12
|
+
observe(notify: (event: RoomStreamEvent) => void, receipts: StreamReceipts): () => void;
|
|
14
13
|
send(rooms: readonly HouseHeldRoom[]): void;
|
|
14
|
+
published(locator: string, at: LogPosition): void;
|
|
15
15
|
reopen(): void;
|
|
16
16
|
track(authorities: readonly TrackedAuthority[]): void;
|
|
17
17
|
reach(authority: string, at: LogPosition): void;
|
|
18
|
-
|
|
18
|
+
edited(tracked: TrackedAuthority, from: LogPosition): readonly string[];
|
|
19
|
+
advance(tracked: TrackedAuthority, from: LogPosition, holds?: HeldRevision): Generator<number, StreamedAdvancement | null, void>;
|
|
19
20
|
conversations: ConversationStream;
|
|
20
21
|
serviceMode: ServiceModeSignal;
|
|
21
22
|
};
|
package/dist/stream.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stream.d.ts","sourceRoot":"","sources":["../src/stream.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"stream.d.ts","sourceRoot":"","sources":["../src/stream.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,KAAK,kBAAkB,EAEvB,KAAK,WAAW,EAChB,KAAK,eAAe,EAEpB,KAAK,iBAAiB,EACtB,KAAK,cAAc,EAEpB,MAAM,wBAAwB,CAAC;AAGhC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAUvD,OAAO,KAAK,EACV,SAAS,EACT,aAAa,EAEb,SAAS,EAET,gBAAgB,EAEjB,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAe,KAAK,WAAW,EAAE,MAAM,cAAc,CAAC;AA0C7D,MAAM,MAAM,YAAY,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,KAAK,OAAO,CAAC;AAEvE,MAAM,MAAM,mBAAmB,GAAG;IAChC,IAAI,EAAE,WAAW,CAAC;IAClB,OAAO,EAAE,WAAW,CAAC,MAAM,EAAE,gBAAgB,CAAC,CAAC;CAChD,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG;IAC/B,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,CAAC,MAAM,EAAE,CAAC,KAAK,EAAE,eAAe,KAAK,IAAI,EAAE,QAAQ,EAAE,cAAc,GAAG,MAAM,IAAI,CAAC;IACxF,IAAI,CAAC,KAAK,EAAE,SAAS,aAAa,EAAE,GAAG,IAAI,CAAC;IAC5C,SAAS,CAAC,OAAO,EAAE,MAAM,EAAE,EAAE,EAAE,WAAW,GAAG,IAAI,CAAC;IAClD,MAAM,IAAI,IAAI,CAAC;IACf,KAAK,CAAC,WAAW,EAAE,SAAS,gBAAgB,EAAE,GAAG,IAAI,CAAC;IACtD,KAAK,CAAC,SAAS,EAAE,MAAM,EAAE,EAAE,EAAE,WAAW,GAAG,IAAI,CAAC;IAChD,MAAM,CAAC,OAAO,EAAE,gBAAgB,EAAE,IAAI,EAAE,WAAW,GAAG,SAAS,MAAM,EAAE,CAAC;IACxE,OAAO,CACL,OAAO,EAAE,gBAAgB,EACzB,IAAI,EAAE,WAAW,EACjB,KAAK,CAAC,EAAE,YAAY,GACnB,SAAS,CAAC,MAAM,EAAE,mBAAmB,GAAG,IAAI,EAAE,IAAI,CAAC,CAAC;IACvD,aAAa,EAAE,kBAAkB,CAAC;IAClC,WAAW,EAAE,iBAAiB,CAAC;CAChC,CAAC;AAmFF,wBAAgB,kBAAkB,CAAC,SAAS,EAAE,SAAS,EAAE,IAAI,EAAE,SAAS,GAAG,kBAAkB,CA8jB5F"}
|