@agentshouse/mdruntime-adapter 0.1.0-cd59fd8945dcb → 0.1.0-cda4dff0d1d23
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 +21 -5
- package/dist/actions.d.ts.map +1 -1
- package/dist/actions.js +100 -113
- package/dist/adapter.d.ts +1 -0
- package/dist/adapter.d.ts.map +1 -1
- package/dist/adapter.js +346 -100
- 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 +7 -10
- package/dist/discovery.d.ts.map +1 -1
- package/dist/discovery.js +43 -34
- package/dist/gather.d.ts +1 -1
- package/dist/gather.d.ts.map +1 -1
- package/dist/gather.js +4 -14
- package/dist/house-model.d.ts +2 -0
- package/dist/house-model.d.ts.map +1 -0
- package/dist/house-model.js +443 -0
- package/dist/index.d.ts +7 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +6 -1
- package/dist/model.d.ts +5 -2
- package/dist/model.d.ts.map +1 -1
- package/dist/model.js +10 -15
- package/dist/part.d.ts +15 -0
- package/dist/part.d.ts.map +1 -0
- package/dist/part.js +82 -0
- package/dist/read.d.ts +77 -23
- package/dist/read.d.ts.map +1 -1
- package/dist/read.js +358 -144
- package/dist/refusal.d.ts.map +1 -1
- package/dist/refusal.js +2 -1
- package/dist/room-types.d.ts +7 -0
- package/dist/room-types.d.ts.map +1 -0
- package/dist/room-types.js +124 -0
- package/dist/site.d.ts +1 -1
- package/dist/site.d.ts.map +1 -1
- package/dist/site.js +160 -59
- package/dist/stream.d.ts +5 -4
- package/dist/stream.d.ts.map +1 -1
- package/dist/stream.js +356 -43
- package/dist/transport.d.ts +67 -10
- package/dist/transport.d.ts.map +1 -1
- package/dist/transport.js +3 -0
- 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 +13 -9
- package/dist/write.d.ts.map +1 -1
- package/dist/write.js +130 -40
- package/package.json +8 -5
- package/AGENTS.md +0 -290
- package/dist/links.d.ts +0 -20
- package/dist/links.d.ts.map +0 -1
- package/dist/links.js +0 -104
package/dist/part.js
ADDED
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
const PART_MAGIC = 0x48505431;
|
|
2
|
+
const PART_HEAD_BYTES = 8;
|
|
3
|
+
const PART_DIGEST_BYTES = 32;
|
|
4
|
+
const PART_SHA256 = /^[0-9a-f]{64}$/u;
|
|
5
|
+
export const PART_ATTEMPTS = 3;
|
|
6
|
+
export const PART_UNVERIFIED = 'part_unverified';
|
|
7
|
+
export function parsePart(value) {
|
|
8
|
+
if (typeof value !== 'object' || value === null)
|
|
9
|
+
return null;
|
|
10
|
+
const { part, bytes, sha256 } = value;
|
|
11
|
+
if (typeof part !== 'string' || part.length === 0)
|
|
12
|
+
return null;
|
|
13
|
+
if (typeof bytes !== 'number' || !Number.isSafeInteger(bytes) || bytes <= 0)
|
|
14
|
+
return null;
|
|
15
|
+
if (typeof sha256 !== 'string' || !PART_SHA256.test(sha256))
|
|
16
|
+
return null;
|
|
17
|
+
return { part, bytes, sha256 };
|
|
18
|
+
}
|
|
19
|
+
function decoded(text) {
|
|
20
|
+
let binary;
|
|
21
|
+
try {
|
|
22
|
+
binary = atob(text);
|
|
23
|
+
}
|
|
24
|
+
catch {
|
|
25
|
+
return null;
|
|
26
|
+
}
|
|
27
|
+
const bytes = new Uint8Array(binary.length);
|
|
28
|
+
for (let at = 0; at < binary.length; at += 1)
|
|
29
|
+
bytes[at] = binary.charCodeAt(at);
|
|
30
|
+
return bytes;
|
|
31
|
+
}
|
|
32
|
+
function hex(bytes) {
|
|
33
|
+
let text = '';
|
|
34
|
+
for (const byte of bytes)
|
|
35
|
+
text += byte.toString(16).padStart(2, '0');
|
|
36
|
+
return text;
|
|
37
|
+
}
|
|
38
|
+
export function partArrival(listed, arriving) {
|
|
39
|
+
if (arriving === undefined)
|
|
40
|
+
return undefined;
|
|
41
|
+
return (answered) => arriving(Math.min(listed.bytes, Math.floor((answered * 3) / 4)));
|
|
42
|
+
}
|
|
43
|
+
export function partFrame(body) {
|
|
44
|
+
if (typeof body !== 'object' || body === null)
|
|
45
|
+
return null;
|
|
46
|
+
const { part } = body;
|
|
47
|
+
return typeof part === 'string' ? decoded(part) : null;
|
|
48
|
+
}
|
|
49
|
+
export async function checkedPayload(frame, listed) {
|
|
50
|
+
if (frame.length !== listed.bytes)
|
|
51
|
+
return null;
|
|
52
|
+
if (frame.length < PART_HEAD_BYTES + PART_DIGEST_BYTES)
|
|
53
|
+
return null;
|
|
54
|
+
const view = new DataView(frame.buffer, frame.byteOffset, frame.byteLength);
|
|
55
|
+
if (view.getUint32(0) !== PART_MAGIC)
|
|
56
|
+
return null;
|
|
57
|
+
const length = view.getUint32(4);
|
|
58
|
+
if (PART_HEAD_BYTES + length + PART_DIGEST_BYTES !== frame.length)
|
|
59
|
+
return null;
|
|
60
|
+
const payload = frame.subarray(PART_HEAD_BYTES, PART_HEAD_BYTES + length);
|
|
61
|
+
const digest = hex(new Uint8Array(await crypto.subtle.digest('SHA-256', payload)));
|
|
62
|
+
if (digest !== listed.sha256 || hex(frame.subarray(PART_HEAD_BYTES + length)) !== digest) {
|
|
63
|
+
return null;
|
|
64
|
+
}
|
|
65
|
+
return payload;
|
|
66
|
+
}
|
|
67
|
+
export function gunzipped(payload) {
|
|
68
|
+
return new Blob([payload])
|
|
69
|
+
.stream()
|
|
70
|
+
.pipeThrough(new DecompressionStream('gzip'))
|
|
71
|
+
.pipeThrough(new TextDecoderStream());
|
|
72
|
+
}
|
|
73
|
+
export function unverifiedPart(locator) {
|
|
74
|
+
return {
|
|
75
|
+
kind: 'scoped-refusal',
|
|
76
|
+
locator,
|
|
77
|
+
scope: 'undisclosed',
|
|
78
|
+
code: PART_UNVERIFIED,
|
|
79
|
+
fields: {},
|
|
80
|
+
retryable: true,
|
|
81
|
+
};
|
|
82
|
+
}
|
package/dist/read.d.ts
CHANGED
|
@@ -1,13 +1,40 @@
|
|
|
1
|
-
import type
|
|
1
|
+
import { type AdapterFailure, type BinaryFile, type BootstrapInventory, type BootstrapPage, type RefreshResult, type RoomModels, type TransportUncertainty } from '@agentshouse/mdruntime';
|
|
2
2
|
import type { TrackedAuthority } from './discovery.js';
|
|
3
|
+
import { type HousePart } from './part.js';
|
|
3
4
|
import type { HouseMode } from './transport.js';
|
|
4
5
|
import { type LogPosition } from './version.js';
|
|
5
6
|
export type HeadChange = BootstrapPage['changes'][string];
|
|
7
|
+
export type Answered = {
|
|
8
|
+
readonly documents: Map<string, string>;
|
|
9
|
+
readonly revisions: Map<string, string>;
|
|
10
|
+
readonly fileIds: Map<string, string>;
|
|
11
|
+
readonly changes: Map<string, HeadChange>;
|
|
12
|
+
readonly binaryFiles: Map<string, BinaryFile>;
|
|
13
|
+
readonly removals: Set<string>;
|
|
14
|
+
readonly folders: Set<string>;
|
|
15
|
+
readonly folderRemovals: Set<string>;
|
|
16
|
+
};
|
|
17
|
+
export declare function answering(): Answered;
|
|
18
|
+
export declare function revised(answer: Answered, path: string, revision: string): void;
|
|
19
|
+
export declare function forgotten(answer: Answered, path: string): void;
|
|
20
|
+
export declare function folded(answer: Answered, path: string, removed: boolean): void;
|
|
21
|
+
export declare function answered(answer: Answered): Generator<number, {
|
|
22
|
+
documents: Readonly<Record<string, string>>;
|
|
23
|
+
revisions: Readonly<Record<string, string>>;
|
|
24
|
+
fileIds?: Readonly<Record<string, string>>;
|
|
25
|
+
changes: Readonly<Record<string, HeadChange>>;
|
|
26
|
+
binaryFiles: Readonly<Record<string, BinaryFile>>;
|
|
27
|
+
removals: readonly string[];
|
|
28
|
+
folders?: readonly string[];
|
|
29
|
+
folderRemovals?: readonly string[];
|
|
30
|
+
}, void>;
|
|
6
31
|
export type HouseManifestFile = {
|
|
7
32
|
path: string;
|
|
8
33
|
revision: string | undefined;
|
|
9
34
|
version: string;
|
|
35
|
+
sha256?: string;
|
|
10
36
|
head?: HeadChange;
|
|
37
|
+
binary?: BinaryFile;
|
|
11
38
|
};
|
|
12
39
|
export type HouseContent = {
|
|
13
40
|
path: string;
|
|
@@ -17,24 +44,31 @@ export type HouseScope = LogPosition & {
|
|
|
17
44
|
anchor: string;
|
|
18
45
|
files: readonly HouseManifestFile[];
|
|
19
46
|
contents: readonly HouseContent[];
|
|
20
|
-
|
|
47
|
+
folders?: readonly string[];
|
|
48
|
+
};
|
|
49
|
+
export type HouseModels = {
|
|
50
|
+
files: readonly HouseManifestFile[];
|
|
51
|
+
contents: readonly HouseContent[];
|
|
21
52
|
};
|
|
22
|
-
export type
|
|
23
|
-
|
|
24
|
-
|
|
53
|
+
export type HouseRoomParts = LogPosition & {
|
|
54
|
+
anchor: string;
|
|
55
|
+
models: HouseModels;
|
|
56
|
+
parts: readonly HousePart[];
|
|
25
57
|
};
|
|
26
|
-
export type
|
|
27
|
-
|
|
28
|
-
next?:
|
|
58
|
+
export type HouseParted = {
|
|
59
|
+
rooms: readonly HouseRoomParts[];
|
|
60
|
+
next?: string;
|
|
29
61
|
};
|
|
30
62
|
export type HouseGrant = {
|
|
31
|
-
method: 'GET';
|
|
32
|
-
url: string;
|
|
33
|
-
} | {
|
|
34
|
-
method: 'POST';
|
|
35
63
|
operation: string;
|
|
36
64
|
url: string;
|
|
37
65
|
};
|
|
66
|
+
export type HouseFileAddress = {
|
|
67
|
+
url: string;
|
|
68
|
+
name: string;
|
|
69
|
+
sha256: string;
|
|
70
|
+
mediaType: string;
|
|
71
|
+
};
|
|
38
72
|
export type HouseChange = {
|
|
39
73
|
path: string;
|
|
40
74
|
removed: true;
|
|
@@ -46,32 +80,51 @@ export type HouseChange = {
|
|
|
46
80
|
head?: HeadChange;
|
|
47
81
|
} | {
|
|
48
82
|
path: string;
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
83
|
+
binary: BinaryFile;
|
|
84
|
+
revision: string | undefined;
|
|
85
|
+
version: string;
|
|
86
|
+
head?: HeadChange;
|
|
87
|
+
};
|
|
88
|
+
export type HousePage = {
|
|
89
|
+
after: string;
|
|
90
|
+
through: string;
|
|
91
|
+
read: number;
|
|
92
|
+
};
|
|
93
|
+
export type HouseFolder = {
|
|
94
|
+
path: string;
|
|
95
|
+
removed: boolean;
|
|
52
96
|
};
|
|
53
97
|
export type HouseView = LogPosition & {
|
|
54
98
|
authority: string;
|
|
55
99
|
changes: readonly HouseChange[];
|
|
56
|
-
|
|
100
|
+
folders?: readonly HouseFolder[];
|
|
101
|
+
next?: HousePage;
|
|
102
|
+
};
|
|
103
|
+
type PageFailure = AdapterFailure | {
|
|
104
|
+
kind: 'beyond-horizon';
|
|
57
105
|
};
|
|
58
106
|
export type HouseEnumeration = {
|
|
59
107
|
authorities: readonly HouseView[];
|
|
60
108
|
};
|
|
61
109
|
export declare function authorityRoot(handle: string): string;
|
|
62
|
-
export declare function contentPrefixes(tracked: TrackedAuthority): readonly string[];
|
|
63
110
|
export declare function schemaPath(handle: string, schema: string): string;
|
|
64
111
|
export declare function parseGrant(body: unknown): HouseGrant | null;
|
|
112
|
+
export declare function parseFileAddress(body: unknown): HouseFileAddress | null;
|
|
65
113
|
export declare function headChange(held: {
|
|
66
114
|
readonly author?: unknown;
|
|
67
115
|
readonly created_at?: unknown;
|
|
68
116
|
}): HeadChange | undefined | null;
|
|
69
|
-
export declare function
|
|
70
|
-
export declare function
|
|
117
|
+
export declare function binaryFileOf(held: Readonly<Record<string, unknown>>): BinaryFile | undefined | null;
|
|
118
|
+
export declare function parseParted(body: unknown): HouseParted | null;
|
|
119
|
+
export declare function parseSiteParted(body: unknown): HouseRoomParts | null;
|
|
120
|
+
export declare function partInventory(room: HouseRoomParts): BootstrapInventory;
|
|
121
|
+
export declare function manifested(room: HouseRoomParts, inventory: BootstrapInventory, pageToken: string, models: RoomModels | undefined): BootstrapPage;
|
|
122
|
+
export declare function modelScope(room: HouseRoomParts): HouseScope;
|
|
123
|
+
export declare function emptyScope(room: HouseRoomParts): HouseScope;
|
|
124
|
+
export declare function housePart(room: HouseRoomParts, frame: Uint8Array<ArrayBuffer>, listed: HousePart, mode: HouseMode): Promise<HouseScope | TransportUncertainty | null>;
|
|
71
125
|
export declare function parseEnumeration(body: unknown, mode: HouseMode): HouseEnumeration | null;
|
|
72
|
-
export declare function
|
|
73
|
-
export declare function
|
|
74
|
-
export declare function bootstrapOf(scope: HouseScope): BootstrapPage;
|
|
126
|
+
export declare function wholeView(first: HouseView, more: (page: HousePage) => Promise<HouseView | PageFailure>): Promise<HouseView | PageFailure>;
|
|
127
|
+
export declare function bootstrapping(scope: HouseScope): Generator<number, BootstrapPage, void>;
|
|
75
128
|
export type HouseSchema = {
|
|
76
129
|
schema: string | null;
|
|
77
130
|
version: string | null;
|
|
@@ -79,5 +132,6 @@ export type HouseSchema = {
|
|
|
79
132
|
};
|
|
80
133
|
export declare function schemaOf(scope: HouseScope, schema: string): HouseSchema | null;
|
|
81
134
|
export declare function viewOf(enumeration: HouseEnumeration, tracked: TrackedAuthority): HouseView | undefined;
|
|
82
|
-
export declare function refreshFrom(view: HouseView, fromRoomVersion: string): RefreshResult
|
|
135
|
+
export declare function refreshFrom(view: HouseView, fromRoomVersion: string): Promise<RefreshResult>;
|
|
136
|
+
export {};
|
|
83
137
|
//# sourceMappingURL=read.d.ts.map
|
package/dist/read.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"read.d.ts","sourceRoot":"","sources":["../src/read.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"read.d.ts","sourceRoot":"","sources":["../src/read.ts"],"names":[],"mappings":"AAAA,OAAO,EAKL,KAAK,cAAc,EACnB,KAAK,UAAU,EACf,KAAK,kBAAkB,EACv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