@agentshouse/mdruntime 0.1.0-c49444f2a8fc6 → 0.1.0-c4ef58fbdca7b
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/dist/acceptance.d.ts +6 -0
- package/dist/acceptance.d.ts.map +1 -0
- package/dist/acceptance.js +389 -0
- package/dist/actions.d.ts +20 -0
- package/dist/actions.d.ts.map +1 -0
- package/dist/actions.js +251 -0
- package/dist/adapter.d.ts +5 -0
- package/dist/adapter.d.ts.map +1 -1
- package/dist/cell.d.ts +6 -0
- package/dist/cell.d.ts.map +1 -0
- package/dist/cell.js +9 -0
- package/dist/chat-types.d.ts +5 -0
- package/dist/chat-types.d.ts.map +1 -0
- package/dist/chat-types.js +13 -0
- package/dist/client.d.ts +12 -1
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +1 -0
- package/dist/compile.d.ts +5 -0
- package/dist/compile.d.ts.map +1 -1
- package/dist/compile.js +186 -55
- package/dist/connection.d.ts +5 -143
- package/dist/connection.d.ts.map +1 -1
- package/dist/connection.js +101 -5309
- package/dist/conversation-live.d.ts +136 -0
- package/dist/conversation-live.d.ts.map +1 -0
- package/dist/conversation-live.js +248 -0
- package/dist/conversation-row.d.ts.map +1 -1
- package/dist/conversation-row.js +7 -1
- package/dist/conversation.d.ts +22 -35
- package/dist/conversation.d.ts.map +1 -1
- package/dist/conversation.js +827 -972
- package/dist/discovery.d.ts +10 -0
- package/dist/discovery.d.ts.map +1 -0
- package/dist/discovery.js +175 -0
- package/dist/durability.d.ts +9 -0
- package/dist/durability.d.ts.map +1 -1
- package/dist/figures.d.ts +49 -0
- package/dist/figures.d.ts.map +1 -0
- package/dist/figures.js +197 -0
- package/dist/holdings.d.ts +29 -0
- package/dist/holdings.d.ts.map +1 -0
- package/dist/holdings.js +95 -0
- package/dist/host.d.ts +1 -0
- package/dist/host.d.ts.map +1 -1
- package/dist/host.js +7 -4
- package/dist/index.d.ts +15 -4
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -0
- package/dist/install.d.ts +56 -0
- package/dist/install.d.ts.map +1 -0
- package/dist/install.js +556 -0
- package/dist/lifecycle.d.ts +7 -0
- package/dist/lifecycle.d.ts.map +1 -0
- package/dist/lifecycle.js +268 -0
- package/dist/listing.d.ts +53 -0
- package/dist/listing.d.ts.map +1 -0
- package/dist/listing.js +175 -0
- package/dist/locks.d.ts +9 -0
- package/dist/locks.d.ts.map +1 -0
- package/dist/locks.js +61 -0
- package/dist/log.d.ts +1 -0
- package/dist/log.d.ts.map +1 -1
- package/dist/lost.d.ts +5 -0
- package/dist/lost.d.ts.map +1 -0
- package/dist/lost.js +61 -0
- package/dist/messages.d.ts +1 -1
- package/dist/messages.d.ts.map +1 -1
- package/dist/messages.js +1 -1
- package/dist/models.d.ts +14 -0
- package/dist/models.d.ts.map +1 -0
- package/dist/models.js +193 -0
- package/dist/opening.d.ts +4 -0
- package/dist/opening.d.ts.map +1 -0
- package/dist/opening.js +57 -0
- package/dist/outcome.d.ts +4 -1
- package/dist/outcome.d.ts.map +1 -1
- package/dist/outcome.js +3 -0
- package/dist/preparation.d.ts +20 -0
- package/dist/preparation.d.ts.map +1 -0
- package/dist/preparation.js +226 -0
- package/dist/queries.d.ts +16 -0
- package/dist/queries.d.ts.map +1 -0
- package/dist/queries.js +272 -0
- package/dist/query.d.ts +10 -0
- package/dist/query.d.ts.map +1 -1
- package/dist/questions.d.ts +2 -0
- package/dist/questions.d.ts.map +1 -1
- package/dist/questions.js +4 -0
- package/dist/reach.d.ts +3 -1
- package/dist/reach.d.ts.map +1 -1
- package/dist/reach.js +11 -0
- package/dist/react.d.ts +7 -1
- package/dist/react.d.ts.map +1 -1
- package/dist/readiness.d.ts +0 -1
- package/dist/readiness.d.ts.map +1 -1
- package/dist/reads.d.ts +37 -0
- package/dist/reads.d.ts.map +1 -0
- package/dist/reads.js +171 -0
- package/dist/refusal.d.ts +5 -0
- package/dist/refusal.d.ts.map +1 -0
- package/dist/refusal.js +56 -0
- package/dist/replica.d.ts +0 -3
- package/dist/replica.d.ts.map +1 -1
- package/dist/replica.js +2 -1
- package/dist/room-drafts.d.ts +24 -0
- package/dist/room-drafts.d.ts.map +1 -0
- package/dist/room-drafts.js +216 -0
- package/dist/runtime.d.ts +43 -0
- package/dist/runtime.d.ts.map +1 -0
- package/dist/runtime.js +1 -0
- package/dist/save.d.ts +3 -1
- package/dist/save.d.ts.map +1 -1
- package/dist/save.js +7 -5
- package/dist/saves.d.ts +70 -0
- package/dist/saves.d.ts.map +1 -0
- package/dist/saves.js +1006 -0
- package/dist/seed.d.ts +11 -2
- package/dist/seed.d.ts.map +1 -1
- package/dist/seed.js +71 -0
- package/dist/shared.d.ts +1 -1
- package/dist/shared.d.ts.map +1 -1
- package/dist/shared.js +9 -5
- package/dist/shown.d.ts +31 -0
- package/dist/shown.d.ts.map +1 -0
- package/dist/shown.js +295 -0
- package/dist/socket/admission.d.ts +7 -0
- package/dist/socket/admission.d.ts.map +1 -0
- package/dist/socket/admission.js +39 -0
- package/dist/socket/answers.d.ts +6 -0
- package/dist/socket/answers.d.ts.map +1 -0
- package/dist/socket/answers.js +20 -0
- package/dist/socket/lanes.d.ts +20 -0
- package/dist/socket/lanes.d.ts.map +1 -0
- package/dist/socket/lanes.js +77 -0
- package/dist/socket/reads.d.ts +10 -0
- package/dist/socket/reads.d.ts.map +1 -0
- package/dist/socket/reads.js +31 -0
- package/dist/socket/rooms.d.ts +43 -0
- package/dist/socket/rooms.d.ts.map +1 -0
- package/dist/socket/rooms.js +90 -0
- package/dist/socket/session.d.ts +39 -0
- package/dist/socket/session.d.ts.map +1 -0
- package/dist/socket/session.js +23 -0
- package/dist/socket.d.ts +70 -0
- package/dist/socket.d.ts.map +1 -0
- package/dist/socket.js +175 -0
- package/dist/store/fences.d.ts +16 -0
- package/dist/store/fences.d.ts.map +1 -0
- package/dist/store/fences.js +26 -0
- package/dist/store/installs.d.ts +30 -0
- package/dist/store/installs.d.ts.map +1 -0
- package/dist/store/installs.js +34 -0
- package/dist/store/readiness.d.ts +10 -0
- package/dist/store/readiness.d.ts.map +1 -0
- package/dist/store/readiness.js +52 -0
- package/dist/store/records.d.ts +212 -0
- package/dist/store/records.d.ts.map +1 -0
- package/dist/store/records.js +431 -0
- package/dist/store/room-held.d.ts +8 -0
- package/dist/store/room-held.d.ts.map +1 -0
- package/dist/store/room-held.js +17 -0
- package/dist/store/space.d.ts +11 -0
- package/dist/store/space.d.ts.map +1 -0
- package/dist/store/space.js +43 -0
- package/dist/store/watchers.d.ts +17 -0
- package/dist/store/watchers.d.ts.map +1 -0
- package/dist/store/watchers.js +57 -0
- package/dist/store/writes.d.ts +24 -0
- package/dist/store/writes.d.ts.map +1 -0
- package/dist/store/writes.js +125 -0
- package/dist/store.d.ts +111 -206
- package/dist/store.d.ts.map +1 -1
- package/dist/store.js +142 -398
- package/dist/stored.d.ts.map +1 -1
- package/dist/stored.js +22 -8
- package/dist/surface.d.ts +88 -0
- package/dist/surface.d.ts.map +1 -0
- package/dist/surface.js +223 -0
- package/dist/sync.d.ts +20 -0
- package/dist/sync.d.ts.map +1 -0
- package/dist/sync.js +532 -0
- package/dist/tables.d.ts +32 -3
- package/dist/tables.d.ts.map +1 -1
- package/dist/tables.js +36 -2
- package/dist/tallies.d.ts +18 -0
- package/dist/tallies.d.ts.map +1 -0
- package/dist/tallies.js +129 -0
- package/dist/wire.d.ts +8 -1
- package/dist/wire.d.ts.map +1 -1
- package/dist/wire.js +4 -0
- package/package.json +2 -2
package/dist/store.js
CHANGED
|
@@ -1,408 +1,152 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
const
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
lost: false,
|
|
35
|
-
}),
|
|
36
|
-
files: [...batchFiles(batch), ...draftFiles(drafts)],
|
|
37
|
-
...batchFacts(batch),
|
|
38
|
-
};
|
|
39
|
-
}),
|
|
40
|
-
}),
|
|
41
|
-
...(founded === undefined
|
|
42
|
-
? {}
|
|
43
|
-
: {
|
|
44
|
-
founded: founded.map((batch) => ({
|
|
45
|
-
id: batch.id,
|
|
46
|
-
batch: JSON.stringify(batch),
|
|
47
|
-
files: batchFiles(batch),
|
|
48
|
-
...batchFacts(batch),
|
|
49
|
-
})),
|
|
50
|
-
}),
|
|
51
|
-
...(roomDrafts === undefined ? {} : { roomDrafts: roomDrafts.map(roomDraftRow) }),
|
|
52
|
-
...(consumedRoomDrafts === undefined ? {} : { consumedRoomDrafts }),
|
|
53
|
-
};
|
|
54
|
-
}
|
|
55
|
-
function marked(value) {
|
|
56
|
-
return typeof value === 'object' && value !== null && FILE in value;
|
|
57
|
-
}
|
|
58
|
-
function keyed(keys, value) {
|
|
59
|
-
const stored = [];
|
|
60
|
-
const files = [];
|
|
61
|
-
const record = JSON.stringify(value, (_name, held) => {
|
|
62
|
-
if (!(held instanceof Blob))
|
|
63
|
-
return held;
|
|
64
|
-
let key = keys.get(held);
|
|
65
|
-
if (key === undefined) {
|
|
66
|
-
key = binaryLocalId();
|
|
67
|
-
keys.set(held, key);
|
|
68
|
-
}
|
|
69
|
-
stored.push({ key, blob: held });
|
|
70
|
-
files.push(key);
|
|
71
|
-
return { [FILE]: key, type: held.type };
|
|
1
|
+
import { schemaTypes } from './attached-model.js';
|
|
2
|
+
import { createCell } from './cell.js';
|
|
3
|
+
import { openedFiles } from './opened.js';
|
|
4
|
+
import { compositionOf } from './replica.js';
|
|
5
|
+
import { STARTING } from './status.js';
|
|
6
|
+
import { createFences } from './store/fences.js';
|
|
7
|
+
import { createInstalls } from './store/installs.js';
|
|
8
|
+
import { openRuntimeStore, } from './store/records.js';
|
|
9
|
+
import { createReadinessQueue } from './store/readiness.js';
|
|
10
|
+
import { createRoomHeld } from './store/room-held.js';
|
|
11
|
+
import { createSpace } from './store/space.js';
|
|
12
|
+
import { createWatchers } from './store/watchers.js';
|
|
13
|
+
import { createWrites } from './store/writes.js';
|
|
14
|
+
export { NO_INSTALL } from './store/installs.js';
|
|
15
|
+
export function createStore(options) {
|
|
16
|
+
const writes = createWrites();
|
|
17
|
+
const watchers = createWatchers(options.unpublished);
|
|
18
|
+
const fences = createFences();
|
|
19
|
+
const installs = createInstalls();
|
|
20
|
+
const seeds = new Map();
|
|
21
|
+
const landed = createRoomHeld();
|
|
22
|
+
const attached = createRoomHeld();
|
|
23
|
+
const typesHeld = new Map();
|
|
24
|
+
const device = createCell({
|
|
25
|
+
persistence: options.persistence,
|
|
26
|
+
storageLoss: null,
|
|
27
|
+
heldWhenOpened: false,
|
|
28
|
+
preparing: false,
|
|
29
|
+
sweeping: false,
|
|
30
|
+
unpreparedDemand: new Set(),
|
|
31
|
+
establishing: new Set(),
|
|
32
|
+
status: STARTING,
|
|
33
|
+
roomsShown: null,
|
|
72
34
|
});
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
if (typeof value !== 'object' || value === null)
|
|
81
|
-
return value;
|
|
82
|
-
const restored = {};
|
|
83
|
-
for (const [name, item] of Object.entries(value))
|
|
84
|
-
restored[name] = await filed(item, read);
|
|
85
|
-
return restored;
|
|
86
|
-
}
|
|
87
|
-
function roomOf(row) {
|
|
88
|
-
return {
|
|
89
|
-
record: { ...JSON.parse(row.record), key: row.key },
|
|
90
|
-
indexed: row.indexed,
|
|
91
|
-
documents: row.documents,
|
|
92
|
-
};
|
|
93
|
-
}
|
|
94
|
-
function json(value, fallback) {
|
|
95
|
-
return value === undefined ? fallback : JSON.parse(value);
|
|
96
|
-
}
|
|
97
|
-
export function openRuntimeStore(authored) {
|
|
98
|
-
const keys = new WeakMap();
|
|
99
|
-
const read = async (key, type) => {
|
|
100
|
-
const blob = await authored.ask({ kind: 'authored.file', key, type });
|
|
101
|
-
keys.set(blob, key);
|
|
102
|
-
return blob;
|
|
103
|
-
};
|
|
104
|
-
const restored = async (records) => Promise.all(records.map(async (record) => (await filed(JSON.parse(record), read))));
|
|
105
|
-
const amend = async (locator, id, amendment) => {
|
|
106
|
-
await authored.ask({
|
|
107
|
-
kind: 'authored.amend',
|
|
108
|
-
locator,
|
|
109
|
-
id,
|
|
110
|
-
amendment: JSON.stringify(amendment),
|
|
35
|
+
const space = createSpace(options.database, options.spaceFreed);
|
|
36
|
+
const readiness = createReadinessQueue(options.deliverReadiness, options.unpublished);
|
|
37
|
+
let opening;
|
|
38
|
+
function open() {
|
|
39
|
+
opening ??= options.opening(openRuntimeStore(options.database)).catch((error) => {
|
|
40
|
+
opening = undefined;
|
|
41
|
+
throw error;
|
|
111
42
|
});
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
43
|
+
return opening;
|
|
44
|
+
}
|
|
45
|
+
function typed(locator, persisted) {
|
|
46
|
+
if (persisted.status === 'unavailable')
|
|
47
|
+
return persisted;
|
|
48
|
+
const schema = persisted.snapshot.schema;
|
|
49
|
+
const held = typesHeld.get(locator);
|
|
50
|
+
if (held !== undefined && held.schema === schema)
|
|
51
|
+
return { ...persisted, types: held.types };
|
|
52
|
+
const types = schemaTypes(schema, options.roomTypes);
|
|
53
|
+
typesHeld.set(locator, { schema, types });
|
|
54
|
+
return { ...persisted, types };
|
|
55
|
+
}
|
|
56
|
+
function recordOf(stored) {
|
|
57
|
+
return { ...stored, model: typed(stored.locator, stored.model) };
|
|
58
|
+
}
|
|
59
|
+
async function rooms(locators) {
|
|
60
|
+
const held = await (await open()).rooms(locators);
|
|
61
|
+
return new Map(held
|
|
62
|
+
.filter(({ record }) => !fences.has(record.locator))
|
|
63
|
+
.map(({ record, indexed, documents }) => [
|
|
64
|
+
record.locator,
|
|
65
|
+
{ record: recordOf(record), indexed, documents },
|
|
66
|
+
]));
|
|
67
|
+
}
|
|
68
|
+
async function work(locator) {
|
|
69
|
+
if (fences.has(locator))
|
|
70
|
+
return { replica: undefined, queue: [], states: new Map() };
|
|
71
|
+
const { room, queue } = await (await open()).room(locator);
|
|
72
|
+
const batches = queue.map(({ batch }) => batch);
|
|
73
|
+
const states = new Map(queue.map(({ batch, state }) => [batch.id, state]));
|
|
74
|
+
return {
|
|
75
|
+
replica: room === null
|
|
76
|
+
? undefined
|
|
77
|
+
: { record: recordOf(room.record), queue: batches, states, overlaid: room.overlaid },
|
|
78
|
+
queue: batches,
|
|
79
|
+
states,
|
|
80
|
+
};
|
|
81
|
+
}
|
|
82
|
+
async function drafts(locator, paths) {
|
|
83
|
+
const held = await (await open()).roomDrafts(locator, paths);
|
|
84
|
+
return held.filter((record) => !fences.has(record.locator));
|
|
85
|
+
}
|
|
116
86
|
return {
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
87
|
+
device,
|
|
88
|
+
space,
|
|
89
|
+
readiness,
|
|
90
|
+
ask: options.database.ask,
|
|
91
|
+
changed: options.changed,
|
|
92
|
+
open,
|
|
93
|
+
durably: (work) => writes.exclusive(async () => {
|
|
94
|
+
const local = await open();
|
|
95
|
+
return work(local);
|
|
96
|
+
}),
|
|
97
|
+
exclusive: writes.exclusive,
|
|
98
|
+
gathered: writes.gathered,
|
|
99
|
+
written: writes.written,
|
|
100
|
+
startingWrite: writes.startingWrite,
|
|
101
|
+
finishingWrite: writes.finishingWrite,
|
|
102
|
+
ahead: writes.ahead,
|
|
103
|
+
rederive: writes.rederive,
|
|
104
|
+
refreshPage: writes.refreshPage,
|
|
105
|
+
stageBytes: writes.stageBytes,
|
|
106
|
+
deriveBytes: writes.deriveBytes,
|
|
107
|
+
rooms,
|
|
108
|
+
record: async (locator) => (await rooms([locator])).get(locator)?.record,
|
|
109
|
+
work,
|
|
110
|
+
replica: async (locator) => (await work(locator)).replica,
|
|
134
111
|
async covering() {
|
|
135
|
-
const
|
|
112
|
+
const held = await (await open()).covering();
|
|
136
113
|
return {
|
|
137
|
-
rooms: new Map(rooms.
|
|
138
|
-
queues: new Map(queues.
|
|
114
|
+
rooms: new Map([...held.rooms].filter(([locator]) => !fences.has(locator))),
|
|
115
|
+
queues: new Map([...held.queues].filter(([locator]) => !fences.has(locator))),
|
|
139
116
|
};
|
|
140
117
|
},
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
}
|
|
159
|
-
},
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
},
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
queued: new Map(queues.map(({ locator, ids }) => [locator, ids])),
|
|
174
|
-
moving: pending.map(({ locator, batch, state }) => ({
|
|
175
|
-
locator,
|
|
176
|
-
batch: JSON.parse(batch),
|
|
177
|
-
state: JSON.parse(state),
|
|
178
|
-
})),
|
|
179
|
-
};
|
|
180
|
-
},
|
|
181
|
-
async pending(locator, id) {
|
|
182
|
-
const { state, room } = await authored.ask({ kind: 'authored.pending', locator, id });
|
|
183
|
-
return { state: state === null ? undefined : JSON.parse(state), room };
|
|
184
|
-
},
|
|
185
|
-
async facts() {
|
|
186
|
-
const held = await authored.ask({ kind: 'replica.facts' });
|
|
187
|
-
return {
|
|
188
|
-
lastCompleted: json(held.lastCompleted, null),
|
|
189
|
-
providerLimits: json(held.providerLimits, []),
|
|
190
|
-
capabilities: json(held.capabilities, []),
|
|
191
|
-
member: json(held.member, null),
|
|
192
|
-
targets: json(held.targets, {}),
|
|
193
|
-
conversationList: json(held.conversationList, null),
|
|
194
|
-
conversationCursor: json(held.conversationCursor, null),
|
|
195
|
-
};
|
|
196
|
-
},
|
|
197
|
-
async presentation(app) {
|
|
198
|
-
const held = await authored.ask({ kind: 'replica.presentation', app });
|
|
199
|
-
return held === null ? undefined : JSON.parse(held);
|
|
200
|
-
},
|
|
201
|
-
async demote() {
|
|
202
|
-
await authored.ask({ kind: 'replica.demote' });
|
|
203
|
-
},
|
|
204
|
-
query(plan, rooms, budget) {
|
|
205
|
-
return authored.ask({ kind: 'replica.query', plan, rooms, budget });
|
|
206
|
-
},
|
|
207
|
-
changes(keys) {
|
|
208
|
-
return keys.reduce((total, key) => total + (changed.get(key) ?? 0), 0);
|
|
209
|
-
},
|
|
210
|
-
entries(key, view, paths) {
|
|
211
|
-
return authored.ask({ kind: 'replica.entries', key, view, paths });
|
|
212
|
-
},
|
|
213
|
-
typed(key, view, paths) {
|
|
214
|
-
return authored.ask({ kind: 'replica.typed', key, view, paths });
|
|
215
|
-
},
|
|
216
|
-
referrers(key, view, targets) {
|
|
217
|
-
return authored.ask({ kind: 'replica.referrers', key, view, targets });
|
|
218
|
-
},
|
|
219
|
-
folders(key, view, paths) {
|
|
220
|
-
return authored.ask({ kind: 'replica.folders', key, view, paths });
|
|
221
|
-
},
|
|
222
|
-
typedWithin(key, view, roots, within) {
|
|
223
|
-
return authored.ask({ kind: 'replica.typedWithin', key, view, roots, within });
|
|
224
|
-
},
|
|
225
|
-
stage(record, composition, page) {
|
|
226
|
-
return authored.ask({
|
|
227
|
-
kind: 'replica.stage',
|
|
228
|
-
locator: record.locator,
|
|
229
|
-
transfer: record.transfer,
|
|
230
|
-
key: record.key,
|
|
231
|
-
fingerprint: composedOf(composition).fingerprint,
|
|
232
|
-
entries: page.entries,
|
|
233
|
-
folders: page.folders,
|
|
234
|
-
part: page.part ?? null,
|
|
235
|
-
});
|
|
236
|
-
},
|
|
237
|
-
resume(record, composition, parts, published) {
|
|
238
|
-
return authored.ask({
|
|
239
|
-
kind: 'replica.resume',
|
|
240
|
-
locator: record.locator,
|
|
241
|
-
transfer: record.transfer,
|
|
242
|
-
fingerprint: composedOf(composition).fingerprint,
|
|
243
|
-
parts,
|
|
244
|
-
published,
|
|
245
|
-
});
|
|
246
|
-
},
|
|
247
|
-
async refresh(key, composition, page) {
|
|
248
|
-
await authored.ask({
|
|
249
|
-
kind: 'replica.refresh',
|
|
250
|
-
key,
|
|
251
|
-
composed: composedOf(composition),
|
|
252
|
-
entries: page.entries,
|
|
253
|
-
removals: page.removals,
|
|
254
|
-
folders: page.folders,
|
|
255
|
-
folderRemovals: page.folderRemovals,
|
|
256
|
-
});
|
|
257
|
-
},
|
|
258
|
-
async unrefresh(key) {
|
|
259
|
-
await authored.ask({ kind: 'replica.unrefresh', key });
|
|
260
|
-
},
|
|
261
|
-
commit({ rooms, writes = [], files = [], whole = false }) {
|
|
262
|
-
for (const room of rooms)
|
|
263
|
-
change(room.key);
|
|
264
|
-
return authored.ask({
|
|
265
|
-
kind: 'replica.commit',
|
|
266
|
-
...(writes.length === 0 && files.length === 0
|
|
267
|
-
? {}
|
|
268
|
-
: { authored: { writes: writes.map(authoredRows), files, whole } }),
|
|
269
|
-
rooms,
|
|
270
|
-
});
|
|
271
|
-
},
|
|
272
|
-
async fence(locators) {
|
|
273
|
-
await authored.ask({ kind: 'replica.fence', locators });
|
|
274
|
-
},
|
|
275
|
-
async erase(locator, limit) {
|
|
276
|
-
return (await authored.ask({ kind: 'replica.erase', locator, limit })).remaining;
|
|
277
|
-
},
|
|
278
|
-
async abandon(locator) {
|
|
279
|
-
await authored.ask({ kind: 'replica.abandon', locator });
|
|
280
|
-
},
|
|
281
|
-
async unfence(locators) {
|
|
282
|
-
return new Set(await authored.ask({ kind: 'replica.unfence', locators }));
|
|
283
|
-
},
|
|
284
|
-
async release(key) {
|
|
285
|
-
await authored.ask({ kind: 'replica.release', key });
|
|
286
|
-
},
|
|
287
|
-
async rederive(key, composition, bytes, ms, floor) {
|
|
288
|
-
change(key);
|
|
289
|
-
return authored.ask({
|
|
290
|
-
kind: 'replica.rederive',
|
|
291
|
-
key,
|
|
292
|
-
composed: composedOf(composition),
|
|
293
|
-
bytes,
|
|
294
|
-
ms,
|
|
295
|
-
floor,
|
|
296
|
-
});
|
|
297
|
-
},
|
|
298
|
-
async fact(name, value) {
|
|
299
|
-
await authored.ask({ kind: 'replica.fact', name, value: JSON.stringify(value) });
|
|
300
|
-
},
|
|
301
|
-
submit(locator, id, submission, lost) {
|
|
302
|
-
return amend(locator, id, { submission, lost });
|
|
303
|
-
},
|
|
304
|
-
keepUpload(locator, id, upload) {
|
|
305
|
-
return amend(locator, id, { upload });
|
|
306
|
-
},
|
|
307
|
-
async roomDrafts(locator, paths) {
|
|
308
|
-
const held = await authored.ask({
|
|
309
|
-
kind: 'authored.roomDrafts',
|
|
310
|
-
locator: locator ?? null,
|
|
311
|
-
paths: paths ?? null,
|
|
312
|
-
});
|
|
313
|
-
return held.map((record) => JSON.parse(record));
|
|
314
|
-
},
|
|
315
|
-
async present(record) {
|
|
316
|
-
await authored.ask({
|
|
317
|
-
kind: 'replica.present',
|
|
318
|
-
app: record.app,
|
|
319
|
-
value: JSON.stringify(record.value ?? null),
|
|
320
|
-
});
|
|
321
|
-
},
|
|
322
|
-
conversations(conversations) {
|
|
323
|
-
return authored.ask({ kind: 'conversation.held', conversations: conversations ?? null });
|
|
324
|
-
},
|
|
325
|
-
async keepMessages(write) {
|
|
326
|
-
await authored.ask({ kind: 'conversation.keep', ...write });
|
|
327
|
-
},
|
|
328
|
-
messageWindow(conversation, limit, before, phrase = null) {
|
|
329
|
-
return authored.ask({ kind: 'conversation.window', conversation, limit, before, phrase });
|
|
330
|
-
},
|
|
331
|
-
messageCount(conversation, phrase = null) {
|
|
332
|
-
return authored.ask({ kind: 'conversation.count', conversation, phrase });
|
|
333
|
-
},
|
|
334
|
-
turnArrived(conversation, turn) {
|
|
335
|
-
return authored.ask({ kind: 'conversation.turn', conversation, turn });
|
|
336
|
-
},
|
|
337
|
-
conversationRows(conversations) {
|
|
338
|
-
return authored.ask({ kind: 'conversation.rows', conversations });
|
|
339
|
-
},
|
|
340
|
-
jobMarkers(conversation) {
|
|
341
|
-
return authored.ask({ kind: 'conversation.jobs', conversation });
|
|
342
|
-
},
|
|
343
|
-
async dropConversations(conversations) {
|
|
344
|
-
await authored.ask({ kind: 'conversation.drop', conversations });
|
|
345
|
-
},
|
|
346
|
-
async chatDrafts() {
|
|
347
|
-
const records = await authored.ask({ kind: 'authored.chatDrafts' });
|
|
348
|
-
return records.map((record) => JSON.parse(record));
|
|
349
|
-
},
|
|
350
|
-
async chatDraft(conversation) {
|
|
351
|
-
const record = await authored.ask({ kind: 'authored.chatDraft.read', conversation });
|
|
352
|
-
return record === null ? null : JSON.parse(record);
|
|
353
|
-
},
|
|
354
|
-
async keepChatDrafts(records) {
|
|
355
|
-
await authored.ask({
|
|
356
|
-
kind: 'authored.chatDraft',
|
|
357
|
-
kept: records.map((record) => ({
|
|
358
|
-
conversation: record.conversation,
|
|
359
|
-
record: JSON.stringify(record),
|
|
360
|
-
})),
|
|
361
|
-
dropped: [],
|
|
362
|
-
});
|
|
363
|
-
},
|
|
364
|
-
async dropChatDraft(conversation) {
|
|
365
|
-
await authored.ask({ kind: 'authored.chatDraft', kept: [], dropped: [conversation] });
|
|
366
|
-
},
|
|
367
|
-
async calls() {
|
|
368
|
-
return restored(await authored.ask({ kind: 'authored.calls' }));
|
|
369
|
-
},
|
|
370
|
-
async keepCall(record) {
|
|
371
|
-
const { stored, ...kept } = keyed(keys, record);
|
|
372
|
-
await authored.ask({
|
|
373
|
-
kind: 'authored.call',
|
|
374
|
-
operation: record.operation,
|
|
375
|
-
kept,
|
|
376
|
-
files: stored,
|
|
377
|
-
});
|
|
378
|
-
},
|
|
379
|
-
async dropCall(operation) {
|
|
380
|
-
await authored.ask({ kind: 'authored.call', operation, kept: null, files: [] });
|
|
381
|
-
},
|
|
382
|
-
async keepRoomDraft(record, files) {
|
|
383
|
-
const { path, ...kept } = roomDraftRow(record);
|
|
384
|
-
await authored.ask({
|
|
385
|
-
kind: 'authored.roomDraft',
|
|
386
|
-
locator: record.locator,
|
|
387
|
-
path,
|
|
388
|
-
kept,
|
|
389
|
-
files,
|
|
390
|
-
});
|
|
391
|
-
},
|
|
392
|
-
async discardRoomDraft(locator, path) {
|
|
393
|
-
await authored.ask({ kind: 'authored.roomDraft', locator, path, kept: null, files: [] });
|
|
394
|
-
},
|
|
395
|
-
fences() {
|
|
396
|
-
return authored.ask({ kind: 'authored.fences' });
|
|
397
|
-
},
|
|
398
|
-
generation() {
|
|
399
|
-
return fact('generation');
|
|
400
|
-
},
|
|
401
|
-
async rememberGeneration(value) {
|
|
402
|
-
await authored.ask({ kind: 'authored.remember', name: 'generation', value });
|
|
403
|
-
},
|
|
404
|
-
file(key, type) {
|
|
405
|
-
return authored.ask({ kind: 'authored.file', key, type });
|
|
118
|
+
drafts,
|
|
119
|
+
draft: async (locator, path) => (await drafts(locator, [path]))[0],
|
|
120
|
+
composed: (record) => compositionOf(record, options.builtIn, options.typedPaths),
|
|
121
|
+
publication: watchers.publication,
|
|
122
|
+
owing: watchers.owing,
|
|
123
|
+
watch: watchers.watch,
|
|
124
|
+
watching: watchers.watching,
|
|
125
|
+
tell: watchers.tell,
|
|
126
|
+
fences,
|
|
127
|
+
installs,
|
|
128
|
+
seeds: {
|
|
129
|
+
of: (key) => seeds.get(key),
|
|
130
|
+
keep(key, seed) {
|
|
131
|
+
seeds.set(key, seed);
|
|
132
|
+
},
|
|
133
|
+
drop(key) {
|
|
134
|
+
seeds.delete(key);
|
|
135
|
+
},
|
|
136
|
+
},
|
|
137
|
+
landed,
|
|
138
|
+
attached,
|
|
139
|
+
opened: openedFiles(options.database, fences.has),
|
|
140
|
+
part: (file, part) => options.database.ask({ kind: 'file.part', key: file, part }),
|
|
141
|
+
forget(locator) {
|
|
142
|
+
typesHeld.delete(locator);
|
|
143
|
+
landed.forget(locator);
|
|
144
|
+
attached.forget(locator);
|
|
145
|
+
},
|
|
146
|
+
close() {
|
|
147
|
+
space.stop();
|
|
148
|
+
readiness.close();
|
|
149
|
+
watchers.close();
|
|
406
150
|
},
|
|
407
151
|
};
|
|
408
152
|
}
|
package/dist/stored.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stored.d.ts","sourceRoot":"","sources":["../src/stored.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC3D,OAAO,EAAc,KAAK,QAAQ,EAAE,KAAK,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAC9E,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE/C,OAAO,KAAK,EAAE,UAAU,EAAc,MAAM,aAAa,CAAC;AAE1D,eAAO,MAAM,cAAc,EAAE,SAAS,MAAM,
|
|
1
|
+
{"version":3,"file":"stored.d.ts","sourceRoot":"","sources":["../src/stored.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC3D,OAAO,EAAc,KAAK,QAAQ,EAAE,KAAK,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAC9E,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE/C,OAAO,KAAK,EAAE,UAAU,EAAc,MAAM,aAAa,CAAC;AAE1D,eAAO,MAAM,cAAc,EAAE,SAAS,MAAM,E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