@agentshouse/mdruntime 0.1.0-alpha.9 → 0.1.0-c0105dbd22806
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 +299 -0
- package/README.md +54 -0
- package/dist/adapter.d.ts +246 -40
- package/dist/adapter.d.ts.map +1 -1
- package/dist/adapter.js +1 -10
- package/dist/attached-model.d.ts +11 -0
- package/dist/attached-model.d.ts.map +1 -0
- package/dist/attached-model.js +47 -0
- package/dist/attempt.d.ts +16 -0
- package/dist/attempt.d.ts.map +1 -0
- package/dist/attempt.js +70 -0
- package/dist/binary.d.ts +23 -0
- package/dist/binary.d.ts.map +1 -0
- package/dist/binary.js +8 -0
- package/dist/bootstrap.d.ts +17 -7
- package/dist/bootstrap.d.ts.map +1 -1
- package/dist/bootstrap.js +97 -41
- package/dist/change-set.d.ts +33 -0
- package/dist/change-set.d.ts.map +1 -0
- package/dist/change-set.js +90 -0
- package/dist/change.d.ts +24 -0
- package/dist/change.d.ts.map +1 -1
- package/dist/change.js +31 -5
- package/dist/chat/acts.d.ts +34 -0
- package/dist/chat/acts.d.ts.map +1 -0
- package/dist/chat/acts.js +36 -0
- package/dist/chat/context.d.ts +3 -0
- package/dist/chat/context.d.ts.map +1 -0
- package/dist/chat/context.js +10 -0
- package/dist/chat/input.d.ts +9 -0
- package/dist/chat/input.d.ts.map +1 -0
- package/dist/chat/input.js +99 -0
- package/dist/chat/kit.d.ts +60 -0
- package/dist/chat/kit.d.ts.map +1 -0
- package/dist/chat/kit.js +123 -0
- package/dist/chat/lasting.d.ts +6 -0
- package/dist/chat/lasting.d.ts.map +1 -0
- package/dist/chat/lasting.js +19 -0
- package/dist/chat/list.d.ts +26 -0
- package/dist/chat/list.d.ts.map +1 -0
- package/dist/chat/list.js +62 -0
- package/dist/chat/markdown.d.ts +20 -0
- package/dist/chat/markdown.d.ts.map +1 -0
- package/dist/chat/markdown.js +188 -0
- package/dist/chat/message.d.ts +6 -0
- package/dist/chat/message.d.ts.map +1 -0
- package/dist/chat/message.js +192 -0
- package/dist/chat/messages.d.ts +21 -0
- package/dist/chat/messages.d.ts.map +1 -0
- package/dist/chat/messages.js +151 -0
- package/dist/chat/name.d.ts +6 -0
- package/dist/chat/name.d.ts.map +1 -0
- package/dist/chat/name.js +37 -0
- package/dist/chat/opened.d.ts +11 -0
- package/dist/chat/opened.d.ts.map +1 -0
- package/dist/chat/opened.js +17 -0
- package/dist/chat/overlay.d.ts +31 -0
- package/dist/chat/overlay.d.ts.map +1 -0
- package/dist/chat/overlay.js +97 -0
- package/dist/chat/parts.d.ts +57 -0
- package/dist/chat/parts.d.ts.map +1 -0
- package/dist/chat/parts.js +119 -0
- package/dist/chat/process.d.ts +20 -0
- package/dist/chat/process.d.ts.map +1 -0
- package/dist/chat/process.js +32 -0
- package/dist/chat/provider.d.ts +63 -0
- package/dist/chat/provider.d.ts.map +1 -0
- package/dist/chat/provider.js +645 -0
- package/dist/chat/question.d.ts +9 -0
- package/dist/chat/question.d.ts.map +1 -0
- package/dist/chat/question.js +80 -0
- package/dist/chat/questions.d.ts +31 -0
- package/dist/chat/questions.d.ts.map +1 -0
- package/dist/chat/questions.js +111 -0
- package/dist/chat/read.d.ts +5 -0
- package/dist/chat/read.d.ts.map +1 -0
- package/dist/chat/read.js +13 -0
- package/dist/chat/ready.d.ts +33 -0
- package/dist/chat/ready.d.ts.map +1 -0
- package/dist/chat/ready.js +91 -0
- package/dist/chat/style.d.ts +4 -0
- package/dist/chat/style.d.ts.map +1 -0
- package/dist/chat/style.js +302 -0
- package/dist/chat.d.ts +14 -0
- package/dist/chat.d.ts.map +1 -0
- package/dist/chat.js +8 -0
- package/dist/client.d.ts +49 -33
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +164 -183
- package/dist/collection.d.ts +9 -17
- package/dist/collection.d.ts.map +1 -1
- package/dist/collection.js +83 -89
- package/dist/connection.d.ts +66 -48
- package/dist/connection.d.ts.map +1 -1
- package/dist/connection.js +1964 -1173
- package/dist/conversation.d.ts +65 -24
- package/dist/conversation.d.ts.map +1 -1
- package/dist/conversation.js +675 -334
- package/dist/durability.js +6 -6
- package/dist/entry.d.ts +17 -0
- package/dist/entry.d.ts.map +1 -0
- package/dist/entry.js +156 -0
- package/dist/expectation.d.ts +21 -0
- package/dist/expectation.d.ts.map +1 -0
- package/dist/expectation.js +70 -0
- package/dist/failure.d.ts +13 -0
- package/dist/failure.d.ts.map +1 -0
- package/dist/failure.js +19 -0
- package/dist/fence.d.ts +6 -0
- package/dist/fence.d.ts.map +1 -0
- package/dist/fence.js +10 -0
- package/dist/file.d.ts +2 -2
- package/dist/file.d.ts.map +1 -1
- package/dist/file.js +48 -71
- package/dist/host.d.ts +15 -3
- package/dist/host.d.ts.map +1 -1
- package/dist/host.js +109 -127
- package/dist/identity.d.ts +4 -0
- package/dist/identity.d.ts.map +1 -1
- package/dist/identity.js +22 -9
- package/dist/index.d.ts +17 -11
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4 -3
- package/dist/log.js +5 -6
- package/dist/memory.d.ts +19 -8
- package/dist/memory.d.ts.map +1 -1
- package/dist/memory.js +304 -216
- package/dist/model.d.ts +16 -30
- package/dist/model.d.ts.map +1 -1
- package/dist/model.js +21 -21
- package/dist/observation.d.ts +27 -0
- package/dist/observation.d.ts.map +1 -0
- package/dist/observation.js +95 -0
- package/dist/open.d.ts +2 -0
- package/dist/open.d.ts.map +1 -0
- package/dist/open.js +1 -0
- package/dist/outcome.d.ts +37 -31
- package/dist/outcome.d.ts.map +1 -1
- package/dist/outcome.js +36 -18
- package/dist/overlay.d.ts +22 -4
- package/dist/overlay.d.ts.map +1 -1
- package/dist/overlay.js +236 -54
- package/dist/paths.d.ts +0 -2
- package/dist/paths.d.ts.map +1 -1
- package/dist/paths.js +6 -29
- package/dist/query.d.ts +219 -10
- package/dist/query.d.ts.map +1 -1
- package/dist/query.js +462 -15
- package/dist/reach.d.ts +42 -0
- package/dist/reach.d.ts.map +1 -0
- package/dist/reach.js +294 -0
- package/dist/react.d.ts +41 -0
- package/dist/react.d.ts.map +1 -0
- package/dist/react.js +64 -0
- package/dist/read-side.d.ts +18 -0
- package/dist/read-side.d.ts.map +1 -0
- package/dist/read-side.js +440 -0
- package/dist/refresh.d.ts +15 -5
- package/dist/refresh.d.ts.map +1 -1
- package/dist/refresh.js +64 -41
- package/dist/replica.d.ts +28 -5
- package/dist/replica.d.ts.map +1 -1
- package/dist/replica.js +249 -40
- package/dist/room-draft.d.ts +144 -0
- package/dist/room-draft.d.ts.map +1 -0
- package/dist/room-draft.js +438 -0
- package/dist/rows.d.ts +46 -0
- package/dist/rows.d.ts.map +1 -0
- package/dist/rows.js +145 -0
- package/dist/save.d.ts +33 -5
- package/dist/save.d.ts.map +1 -1
- package/dist/save.js +630 -366
- package/dist/search.d.ts +62 -0
- package/dist/search.d.ts.map +1 -0
- package/dist/search.js +125 -0
- package/dist/status.d.ts +6 -8
- package/dist/status.d.ts.map +1 -1
- package/dist/status.js +8 -20
- package/dist/store.d.ts +89 -34
- package/dist/store.d.ts.map +1 -1
- package/dist/store.js +513 -132
- package/dist/transfer.d.ts +5 -0
- package/dist/transfer.d.ts.map +1 -1
- package/dist/transfer.js +1 -5
- package/dist/wire.d.ts +59 -19
- package/dist/wire.d.ts.map +1 -1
- package/dist/wire.js +88 -105
- package/package.json +34 -16
- package/dist/adapter.js.map +0 -1
- package/dist/bootstrap.js.map +0 -1
- package/dist/change.js.map +0 -1
- package/dist/client.js.map +0 -1
- package/dist/collection.js.map +0 -1
- package/dist/connection.js.map +0 -1
- package/dist/conversation.js.map +0 -1
- package/dist/durability.js.map +0 -1
- package/dist/file.js.map +0 -1
- package/dist/host.js.map +0 -1
- package/dist/identity.js.map +0 -1
- package/dist/index.js.map +0 -1
- package/dist/log.js.map +0 -1
- package/dist/memory.js.map +0 -1
- package/dist/model.js.map +0 -1
- package/dist/outcome.js.map +0 -1
- package/dist/overlay.js.map +0 -1
- package/dist/paths.js.map +0 -1
- package/dist/query.js.map +0 -1
- package/dist/refresh.js.map +0 -1
- package/dist/replica.js.map +0 -1
- package/dist/save.js.map +0 -1
- package/dist/status.js.map +0 -1
- package/dist/store.js.map +0 -1
- package/dist/transfer.js.map +0 -1
- package/dist/wire.js.map +0 -1
package/dist/search.d.ts
ADDED
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import type { ChangeSet } from './change-set.js';
|
|
2
|
+
import { type Filter } from './query.js';
|
|
3
|
+
import type { Open } from './open.js';
|
|
4
|
+
export type DocumentPart = Open<'fields' | 'sections' | 'preamble' | 'path'>;
|
|
5
|
+
export type SearchRequest = {
|
|
6
|
+
text: string;
|
|
7
|
+
documents?: Filter;
|
|
8
|
+
conversations?: readonly string[];
|
|
9
|
+
limit?: number;
|
|
10
|
+
};
|
|
11
|
+
export type DocumentHit = {
|
|
12
|
+
room: string;
|
|
13
|
+
path: string;
|
|
14
|
+
type: string;
|
|
15
|
+
score: number;
|
|
16
|
+
matches: Readonly<Record<string, readonly DocumentPart[]>>;
|
|
17
|
+
};
|
|
18
|
+
export type MessageHit = {
|
|
19
|
+
conversation: string;
|
|
20
|
+
identity: string;
|
|
21
|
+
score: number;
|
|
22
|
+
matches: Readonly<Record<string, readonly Open<'text'>[]>>;
|
|
23
|
+
};
|
|
24
|
+
export type SearchResult = {
|
|
25
|
+
documents: readonly DocumentHit[];
|
|
26
|
+
messages: readonly MessageHit[];
|
|
27
|
+
};
|
|
28
|
+
export type SearchedDocument = {
|
|
29
|
+
room: string;
|
|
30
|
+
path: string;
|
|
31
|
+
type: string;
|
|
32
|
+
fields: Readonly<Record<string, unknown>>;
|
|
33
|
+
preamble: string;
|
|
34
|
+
sections: Readonly<Record<string, string>>;
|
|
35
|
+
};
|
|
36
|
+
export type SearchedMessage = {
|
|
37
|
+
conversation: string;
|
|
38
|
+
identity: string;
|
|
39
|
+
text: string;
|
|
40
|
+
};
|
|
41
|
+
export type SearchSource = {
|
|
42
|
+
documents(): readonly SearchedDocument[];
|
|
43
|
+
document(room: string, path: string): SearchedDocument | null;
|
|
44
|
+
messages(): readonly SearchedMessage[];
|
|
45
|
+
message(conversation: string, identity: string): SearchedMessage | null;
|
|
46
|
+
};
|
|
47
|
+
export type SearchPlan = {
|
|
48
|
+
text: string;
|
|
49
|
+
documents: unknown;
|
|
50
|
+
conversations: readonly string[] | null;
|
|
51
|
+
limit: number | null;
|
|
52
|
+
};
|
|
53
|
+
export type SearchIndex = {
|
|
54
|
+
changed(set: ChangeSet): void;
|
|
55
|
+
search(plan: SearchPlan, documents: readonly {
|
|
56
|
+
room: string;
|
|
57
|
+
path: string;
|
|
58
|
+
}[] | null): SearchResult;
|
|
59
|
+
};
|
|
60
|
+
export declare function searchPlanOf(input: unknown): SearchPlan;
|
|
61
|
+
export declare function createSearchIndex(source: SearchSource): SearchIndex;
|
|
62
|
+
//# sourceMappingURL=search.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"search.d.ts","sourceRoot":"","sources":["../src/search.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AACjD,OAAO,EAAkC,KAAK,MAAM,EAAE,MAAM,YAAY,CAAC;AACzE,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AAEtC,MAAM,MAAM,YAAY,GAAG,IAAI,CAAC,QAAQ,GAAG,UAAU,GAAG,UAAU,GAAG,MAAM,CAAC,CAAC;AAE7E,MAAM,MAAM,aAAa,GAAG;IAC1B,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,aAAa,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;IAClC,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,MAAM,MAAM,WAAW,GAAG;IACxB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,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,eAAe,GAAG,IAAI,CAAC;CACzE,CAAC;AAEF,MAAM,MAAM,UAAU,GAAG;IACvB,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,OAAO,CAAC;IACnB,aAAa,EAAE,SAAS,MAAM,EAAE,GAAG,IAAI,CAAC;IACxC,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;CACtB,CAAC;AAEF,MAAM,MAAM,WAAW,GAAG;IACxB,OAAO,CAAC,GAAG,EAAE,SAAS,GAAG,IAAI,CAAC;IAC9B,MAAM,CACJ,IAAI,EAAE,UAAU,EAChB,SAAS,EAAE,SAAS;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE,EAAE,GAAG,IAAI,GAC1D,YAAY,CAAC;CACjB,CAAC;AA4BF,wBAAgB,YAAY,CAAC,KAAK,EAAE,OAAO,GAAG,UAAU,CAiBvD;AAMD,wBAAgB,iBAAiB,CAAC,MAAM,EAAE,YAAY,GAAG,WAAW,CAyGnE"}
|
package/dist/search.js
ADDED
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
import MiniSearch from 'minisearch';
|
|
2
|
+
import { invalid, known, limitOf, plain } from './query.js';
|
|
3
|
+
const FIELDS = ['fields', 'sections', 'preamble', 'path', 'text'];
|
|
4
|
+
function documentId(room, path) {
|
|
5
|
+
return JSON.stringify(['document', room, path]);
|
|
6
|
+
}
|
|
7
|
+
function messageId(conversation, identity) {
|
|
8
|
+
return JSON.stringify(['message', conversation, identity]);
|
|
9
|
+
}
|
|
10
|
+
function scalars(value) {
|
|
11
|
+
if (value === null || value === undefined)
|
|
12
|
+
return [];
|
|
13
|
+
if (Array.isArray(value))
|
|
14
|
+
return value.flatMap(scalars);
|
|
15
|
+
if (typeof value === 'object')
|
|
16
|
+
return Object.values(value).flatMap(scalars);
|
|
17
|
+
return [String(value)];
|
|
18
|
+
}
|
|
19
|
+
export function searchPlanOf(input) {
|
|
20
|
+
if (!plain(input))
|
|
21
|
+
invalid('search', 'expects a search object');
|
|
22
|
+
known(input, ['text', 'documents', 'conversations', 'limit'], '');
|
|
23
|
+
if (typeof input.text !== 'string')
|
|
24
|
+
invalid('text', 'expects text');
|
|
25
|
+
const conversations = input.conversations;
|
|
26
|
+
if (conversations !== undefined &&
|
|
27
|
+
(!Array.isArray(conversations) || conversations.some((named) => typeof named !== 'string'))) {
|
|
28
|
+
invalid('conversations', 'expects a list of conversations');
|
|
29
|
+
}
|
|
30
|
+
return {
|
|
31
|
+
text: input.text,
|
|
32
|
+
documents: input.documents,
|
|
33
|
+
conversations: conversations ?? null,
|
|
34
|
+
limit: limitOf(input.limit),
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
export function createSearchIndex(source) {
|
|
38
|
+
let index = null;
|
|
39
|
+
const documents = new Map();
|
|
40
|
+
const messages = new Map();
|
|
41
|
+
const changedDocuments = new Map();
|
|
42
|
+
const changedMessages = new Map();
|
|
43
|
+
function addDocument(built, document) {
|
|
44
|
+
const id = documentId(document.room, document.path);
|
|
45
|
+
documents.set(id, { room: document.room, path: document.path, type: document.type });
|
|
46
|
+
built.add({
|
|
47
|
+
id,
|
|
48
|
+
fields: scalars(document.fields).join('\n'),
|
|
49
|
+
sections: Object.entries(document.sections)
|
|
50
|
+
.map(([heading, text]) => `${heading}\n${text}`)
|
|
51
|
+
.join('\n'),
|
|
52
|
+
preamble: document.preamble,
|
|
53
|
+
path: document.path,
|
|
54
|
+
});
|
|
55
|
+
}
|
|
56
|
+
function addMessage(built, message) {
|
|
57
|
+
const id = messageId(message.conversation, message.identity);
|
|
58
|
+
messages.set(id, { conversation: message.conversation, identity: message.identity });
|
|
59
|
+
built.add({ id, text: message.text });
|
|
60
|
+
}
|
|
61
|
+
function current() {
|
|
62
|
+
if (index === null) {
|
|
63
|
+
const built = new MiniSearch({ fields: FIELDS });
|
|
64
|
+
for (const document of source.documents())
|
|
65
|
+
addDocument(built, document);
|
|
66
|
+
for (const message of source.messages())
|
|
67
|
+
addMessage(built, message);
|
|
68
|
+
index = built;
|
|
69
|
+
return built;
|
|
70
|
+
}
|
|
71
|
+
const built = index;
|
|
72
|
+
for (const [id, { room, path }] of changedDocuments) {
|
|
73
|
+
if (documents.delete(id))
|
|
74
|
+
built.discard(id);
|
|
75
|
+
const document = source.document(room, path);
|
|
76
|
+
if (document !== null)
|
|
77
|
+
addDocument(built, document);
|
|
78
|
+
}
|
|
79
|
+
changedDocuments.clear();
|
|
80
|
+
for (const [id, { conversation, identity }] of changedMessages) {
|
|
81
|
+
if (messages.delete(id))
|
|
82
|
+
built.discard(id);
|
|
83
|
+
const message = source.message(conversation, identity);
|
|
84
|
+
if (message !== null)
|
|
85
|
+
addMessage(built, message);
|
|
86
|
+
}
|
|
87
|
+
changedMessages.clear();
|
|
88
|
+
return built;
|
|
89
|
+
}
|
|
90
|
+
function ranked(built, text, entries, keep, limit) {
|
|
91
|
+
const found = built.search(text, {
|
|
92
|
+
filter: ({ id }) => {
|
|
93
|
+
const entry = entries.get(id);
|
|
94
|
+
return entry !== undefined && keep(entry, id);
|
|
95
|
+
},
|
|
96
|
+
});
|
|
97
|
+
return (limit === null ? found : found.slice(0, limit)).map(({ id, score, match }) => ({
|
|
98
|
+
...entries.get(id),
|
|
99
|
+
score,
|
|
100
|
+
match,
|
|
101
|
+
}));
|
|
102
|
+
}
|
|
103
|
+
return {
|
|
104
|
+
changed(set) {
|
|
105
|
+
if (index === null)
|
|
106
|
+
return;
|
|
107
|
+
for (const { locator, path } of set.documents) {
|
|
108
|
+
changedDocuments.set(documentId(locator, path), { room: locator, path });
|
|
109
|
+
}
|
|
110
|
+
for (const { conversation, identity } of set.messages) {
|
|
111
|
+
changedMessages.set(messageId(conversation, identity), { conversation, identity });
|
|
112
|
+
}
|
|
113
|
+
},
|
|
114
|
+
search({ text, conversations, limit }, selected) {
|
|
115
|
+
const built = current();
|
|
116
|
+
const chosen = selected === null
|
|
117
|
+
? null
|
|
118
|
+
: new Set(selected.map(({ room, path }) => documentId(room, path)));
|
|
119
|
+
return {
|
|
120
|
+
documents: ranked(built, text, documents, (_entry, id) => chosen === null || chosen.has(id), limit).map(({ match, ...hit }) => ({ ...hit, matches: match })),
|
|
121
|
+
messages: ranked(built, text, messages, ({ conversation }) => conversations === null || conversations.includes(conversation), limit).map(({ match, ...hit }) => ({ ...hit, matches: match })),
|
|
122
|
+
};
|
|
123
|
+
},
|
|
124
|
+
};
|
|
125
|
+
}
|
package/dist/status.d.ts
CHANGED
|
@@ -1,13 +1,12 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { Open } from './open.js';
|
|
2
|
+
import type { ReturnReason } from './room-draft.js';
|
|
2
3
|
export type AttentionEntry = {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
refusal: ProviderRefusal | null;
|
|
7
|
-
roomVersion?: string;
|
|
4
|
+
room: string;
|
|
5
|
+
path: string;
|
|
6
|
+
returned: ReturnReason;
|
|
8
7
|
};
|
|
9
8
|
export type SyncStatus = {
|
|
10
|
-
state: 'pending' | 'syncing' | 'synced'
|
|
9
|
+
state: Open<'pending' | 'syncing' | 'synced'>;
|
|
11
10
|
lastCompleted: string | null;
|
|
12
11
|
providerUnreachable: boolean;
|
|
13
12
|
attentionRequired: readonly AttentionEntry[];
|
|
@@ -19,7 +18,6 @@ export type CycleProgress = {
|
|
|
19
18
|
};
|
|
20
19
|
export declare const STARTING: SyncStatus;
|
|
21
20
|
export declare function transferring(status: SyncStatus): SyncStatus;
|
|
22
|
-
export declare function settled(status: SyncStatus, progress: CycleProgress, at: string | null, queued: boolean, attention: Pick<SyncStatus, 'attentionRequired' | 'reset'>): SyncStatus;
|
|
23
21
|
export declare function saving(status: SyncStatus): SyncStatus;
|
|
24
22
|
export declare function same(one: SyncStatus, other: SyncStatus): boolean;
|
|
25
23
|
//# sourceMappingURL=status.d.ts.map
|
package/dist/status.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"status.d.ts","sourceRoot":"","sources":["../src/status.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"status.d.ts","sourceRoot":"","sources":["../src/status.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AACtC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAEpD,MAAM,MAAM,cAAc,GAAG;IAC3B,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,YAAY,CAAC;CACxB,CAAC;AAEF,MAAM,MAAM,UAAU,GAAG;IACvB,KAAK,EAAE,IAAI,CAAC,SAAS,GAAG,SAAS,GAAG,QAAQ,CAAC,CAAC;IAC9C,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,mBAAmB,EAAE,OAAO,CAAC;IAC7B,iBAAiB,EAAE,SAAS,cAAc,EAAE,CAAC;IAC7C,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;CACtB,CAAC;AAEF,MAAM,MAAM,aAAa,GAAG;IAC1B,QAAQ,EAAE,OAAO,CAAC;IAClB,SAAS,EAAE,OAAO,CAAC;CACpB,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,UAMtB,CAAC;AAEF,wBAAgB,YAAY,CAAC,MAAM,EAAE,UAAU,GAAG,UAAU,CAE3D;AAED,wBAAgB,MAAM,CAAC,MAAM,EAAE,UAAU,GAAG,UAAU,CAErD;AAED,wBAAgB,IAAI,CAAC,GAAG,EAAE,UAAU,EAAE,KAAK,EAAE,UAAU,GAAG,OAAO,CAQhE"}
|
package/dist/status.js
CHANGED
|
@@ -3,30 +3,18 @@ export const STARTING = {
|
|
|
3
3
|
lastCompleted: null,
|
|
4
4
|
providerUnreachable: false,
|
|
5
5
|
attentionRequired: [],
|
|
6
|
-
reset: null
|
|
6
|
+
reset: null,
|
|
7
7
|
};
|
|
8
8
|
export function transferring(status) {
|
|
9
|
-
return {
|
|
10
|
-
...status,
|
|
11
|
-
state: 'syncing'
|
|
12
|
-
};
|
|
13
|
-
}
|
|
14
|
-
export function settled(status, progress, at, queued, attention) {
|
|
15
|
-
return {
|
|
16
|
-
state: queued ? 'pending' : progress.complete ? 'synced' : status.state,
|
|
17
|
-
lastCompleted: progress.complete ? at : status.lastCompleted,
|
|
18
|
-
providerUnreachable: !progress.reachable,
|
|
19
|
-
...attention
|
|
20
|
-
};
|
|
9
|
+
return { ...status, state: 'syncing' };
|
|
21
10
|
}
|
|
22
11
|
export function saving(status) {
|
|
23
|
-
return {
|
|
24
|
-
...status,
|
|
25
|
-
state: 'pending'
|
|
26
|
-
};
|
|
12
|
+
return { ...status, state: 'pending' };
|
|
27
13
|
}
|
|
28
14
|
export function same(one, other) {
|
|
29
|
-
return one.state === other.state &&
|
|
15
|
+
return (one.state === other.state &&
|
|
16
|
+
one.lastCompleted === other.lastCompleted &&
|
|
17
|
+
one.providerUnreachable === other.providerUnreachable &&
|
|
18
|
+
one.reset === other.reset &&
|
|
19
|
+
JSON.stringify(one.attentionRequired) === JSON.stringify(other.attentionRequired));
|
|
30
20
|
}
|
|
31
|
-
|
|
32
|
-
//# sourceMappingURL=status.js.map
|
package/dist/store.d.ts
CHANGED
|
@@ -1,76 +1,131 @@
|
|
|
1
1
|
import type { ModelState } from './model.js';
|
|
2
|
-
import type { OperationScopes, ProviderLimit, ReplicaAdmission, TypedSelection } from './adapter.js';
|
|
3
|
-
import type {
|
|
2
|
+
import type { Capability, HeadChange, Member, OperationScopes, ProviderLimit, ReplicaAdmission, TypedSelection } from './adapter.js';
|
|
3
|
+
import type { AcceptedMessage } from './adapter.js';
|
|
4
4
|
import type { ChangeBatch } from './change.js';
|
|
5
|
-
import type
|
|
6
|
-
import type {
|
|
5
|
+
import { type HeldBinary } from './overlay.js';
|
|
6
|
+
import type { ChatDraftFile } from './file.js';
|
|
7
|
+
import type { Submission } from './outcome.js';
|
|
8
|
+
import type { RoomDraftRecord, SavedDraft } from './room-draft.js';
|
|
9
|
+
export declare const STORE_SCHEMA = 23;
|
|
10
|
+
export declare const AUTHORED_SCHEMA = 2;
|
|
7
11
|
export type ReplicaRecord = {
|
|
8
|
-
collectionRoot: string;
|
|
9
12
|
locator: string;
|
|
10
13
|
name: string;
|
|
14
|
+
handle: string;
|
|
11
15
|
operations: OperationScopes;
|
|
12
16
|
replica: ReplicaAdmission;
|
|
13
17
|
model: ModelState;
|
|
14
|
-
attachedModel: import('./model.js').ModelIdentity | null;
|
|
15
18
|
typedSelection: TypedSelection | null;
|
|
16
19
|
selectionModel: ModelState;
|
|
17
20
|
providerOwnedPaths: readonly string[];
|
|
18
21
|
roomVersion: string;
|
|
22
|
+
transfer: string;
|
|
19
23
|
documents: Readonly<Record<string, string>>;
|
|
20
|
-
|
|
24
|
+
binaries: Readonly<Record<string, HeldBinary>>;
|
|
21
25
|
revisions: Readonly<Record<string, string>>;
|
|
26
|
+
changes: Readonly<Record<string, HeadChange>>;
|
|
27
|
+
written: Readonly<Record<string, string>>;
|
|
22
28
|
};
|
|
23
|
-
export type
|
|
29
|
+
export type StagedLayer = Pick<ReplicaRecord, 'documents' | 'binaries' | 'revisions' | 'changes' | 'written'>;
|
|
30
|
+
export type TransferRecord = {
|
|
24
31
|
locator: string;
|
|
25
|
-
|
|
26
|
-
|
|
32
|
+
transfer: string;
|
|
33
|
+
selection: string;
|
|
34
|
+
from: string;
|
|
35
|
+
last: string;
|
|
36
|
+
pageToken: string | null;
|
|
37
|
+
models: {
|
|
38
|
+
collection: ModelState;
|
|
39
|
+
selection: ModelState;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
export type PendingState = {
|
|
43
|
+
readonly drafts: readonly SavedDraft[];
|
|
44
|
+
readonly submission: Submission;
|
|
45
|
+
readonly lost: boolean;
|
|
46
|
+
readonly upload?: unknown;
|
|
47
|
+
readonly accepted?: string;
|
|
27
48
|
};
|
|
28
|
-
export type
|
|
49
|
+
export type QueueRecord = {
|
|
29
50
|
locator: string;
|
|
30
|
-
|
|
31
|
-
|
|
51
|
+
pending: readonly {
|
|
52
|
+
batch: ChangeBatch;
|
|
53
|
+
state: PendingState;
|
|
54
|
+
}[];
|
|
32
55
|
};
|
|
33
56
|
export type PresentationRecord = {
|
|
34
57
|
app: string;
|
|
35
58
|
value: unknown;
|
|
36
59
|
};
|
|
37
|
-
export type
|
|
60
|
+
export type HeldConversation = {
|
|
61
|
+
conversation: string;
|
|
62
|
+
read: string | null | undefined;
|
|
63
|
+
messages: readonly AcceptedMessage[];
|
|
64
|
+
};
|
|
65
|
+
export type ConversationWrite = {
|
|
38
66
|
conversation: string;
|
|
39
|
-
messages: readonly
|
|
40
|
-
|
|
41
|
-
|
|
67
|
+
messages: readonly AcceptedMessage[];
|
|
68
|
+
read?: string | null;
|
|
69
|
+
sealed?: boolean;
|
|
42
70
|
};
|
|
43
|
-
export type
|
|
71
|
+
export type ChatDraftRecord = {
|
|
44
72
|
conversation: string;
|
|
45
73
|
text: string;
|
|
46
|
-
files: readonly
|
|
74
|
+
files: readonly ChatDraftFile[];
|
|
47
75
|
turn: string | null;
|
|
76
|
+
revision: string;
|
|
77
|
+
};
|
|
78
|
+
export type RecordWrite = {
|
|
79
|
+
next: ReplicaRecord;
|
|
80
|
+
previous: ReplicaRecord | null;
|
|
81
|
+
stored?: StagedLayer;
|
|
82
|
+
};
|
|
83
|
+
export type AuthoredWrite = {
|
|
84
|
+
locator: string;
|
|
85
|
+
queue: readonly ChangeBatch[];
|
|
86
|
+
saved?: ReadonlyMap<string, readonly SavedDraft[]>;
|
|
87
|
+
roomDrafts?: readonly RoomDraftRecord[];
|
|
88
|
+
consumedRoomDrafts?: readonly string[];
|
|
48
89
|
};
|
|
49
90
|
export type RuntimeStore = {
|
|
50
91
|
all(): Promise<readonly ReplicaRecord[]>;
|
|
51
|
-
|
|
92
|
+
keepAuthored(input: AuthoredWrite): Promise<void>;
|
|
93
|
+
write(input: RecordWrite): Promise<void>;
|
|
94
|
+
revokeModels(records: readonly ReplicaRecord[]): Promise<void>;
|
|
52
95
|
lastCompleted(): Promise<string | null>;
|
|
53
96
|
complete(at: string): Promise<void>;
|
|
54
97
|
providerLimits(): Promise<readonly ProviderLimit[]>;
|
|
55
|
-
|
|
98
|
+
capabilities(): Promise<readonly Capability[]>;
|
|
99
|
+
declare(limits: readonly ProviderLimit[], capabilities: readonly Capability[]): Promise<void>;
|
|
100
|
+
member(): Promise<Member | null>;
|
|
101
|
+
keepMember(member: Member | null): Promise<void>;
|
|
56
102
|
queues(): Promise<readonly QueueRecord[]>;
|
|
57
|
-
|
|
103
|
+
submit(locator: string, id: string, submission: Submission, lost: boolean): Promise<void>;
|
|
104
|
+
accept(locator: string, id: string, roomVersion: string): Promise<void>;
|
|
105
|
+
keepUpload(locator: string, id: string, upload: unknown): Promise<void>;
|
|
106
|
+
roomDrafts(): Promise<readonly RoomDraftRecord[]>;
|
|
58
107
|
presentation(): Promise<readonly PresentationRecord[]>;
|
|
59
108
|
present(record: PresentationRecord): Promise<void>;
|
|
60
|
-
conversations(): Promise<readonly
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
109
|
+
conversations(): Promise<readonly HeldConversation[]>;
|
|
110
|
+
keepMessages(write: ConversationWrite): Promise<void>;
|
|
111
|
+
dropConversations(conversations: readonly string[]): Promise<void>;
|
|
112
|
+
chatDrafts(): Promise<readonly ChatDraftRecord[]>;
|
|
113
|
+
keepChatDraft(record: ChatDraftRecord): Promise<void>;
|
|
114
|
+
dropChatDraft(conversation: string): Promise<void>;
|
|
115
|
+
keepRoomDraft(record: RoomDraftRecord): Promise<void>;
|
|
116
|
+
discardRoomDraft(locator: string, path: string): Promise<void>;
|
|
117
|
+
fences(): Promise<readonly string[]>;
|
|
118
|
+
erase(locators: readonly string[]): Promise<void>;
|
|
119
|
+
transfers(): Promise<readonly TransferRecord[]>;
|
|
120
|
+
staged(record: TransferRecord): Promise<StagedLayer>;
|
|
121
|
+
stage(record: TransferRecord, page: StagedLayer): Promise<void>;
|
|
122
|
+
abandon(locator: string): Promise<void>;
|
|
70
123
|
generation(): Promise<string | null>;
|
|
71
124
|
rememberGeneration(value: string): Promise<void>;
|
|
72
125
|
close(): void;
|
|
73
126
|
};
|
|
74
|
-
export declare function
|
|
75
|
-
export declare function
|
|
127
|
+
export declare function authoredHolder(): Promise<string | null>;
|
|
128
|
+
export declare function authoredBy(holder: string): Promise<boolean>;
|
|
129
|
+
export declare function removeRuntimeStore(holder?: string): Promise<boolean>;
|
|
130
|
+
export declare function openRuntimeStore(fenced: (locator: string) => boolean): Promise<RuntimeStore>;
|
|
76
131
|
//# sourceMappingURL=store.d.ts.map
|
package/dist/store.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"store.d.ts","sourceRoot":"","sources":["../src/store.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAC7C,OAAO,KAAK,EACV,eAAe,EACf,aAAa,EACb,gBAAgB,EAChB,cAAc,EACf,MAAM,cAAc,CAAC;AACtB,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"store.d.ts","sourceRoot":"","sources":["../src/store.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAC7C,OAAO,KAAK,EACV,UAAU,EACV,UAAU,EACV,MAAM,EACN,eAAe,EACf,aAAa,EACb,gBAAgB,EAChB,cAAc,EACf,MAAM,cAAc,CAAC;AACtB,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AACpD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC/C,OAAO,EAA0B,KAAK,UAAU,EAAE,MAAM,cAAc,CAAC;AACvE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC;AAC/C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